Bird
0
0

Which scenario best describes when to use retry with exponential backoff in microservices?

easy📝 Conceptual Q2 of 15
Microservices - Resilience Patterns
Which scenario best describes when to use retry with exponential backoff in microservices?
AWhen a service permanently rejects a request due to invalid data
BWhen a service is temporarily unavailable due to high load
CWhen a service always returns success immediately
DWhen a service does not require any retries
Step-by-Step Solution
Solution:
  1. Step 1: Identify retry use cases

    Retry with exponential backoff is useful when failures are temporary, such as service overload or network issues.
  2. Step 2: Match scenario to use case

    When a service is temporarily unavailable due to high load describes temporary unavailability, which fits retry use. Options A, C, and D do not involve temporary failures suitable for retries.
  3. Final Answer:

    When a service is temporarily unavailable due to high load -> Option B
  4. Quick Check:

    Retry use case = Temporary failure [OK]
Quick Trick: Retry only for temporary failures, not permanent errors [OK]
Common Mistakes:
MISTAKES
  • Retrying on permanent errors
  • Retrying when service always succeeds
  • Ignoring when retries are unnecessary

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes