Bird
0
0

In a distributed system, you implement retry with exponential backoff combined with circuit breaker. What is the main advantage of this combination?

hard📝 Trade-off Q9 of 15
Microservices - Resilience Patterns
In a distributed system, you implement retry with exponential backoff combined with circuit breaker. What is the main advantage of this combination?
AIt allows unlimited retries without delay
BIt prevents retries when the service is known to be down, saving resources
CIt removes the need for exponential backoff delays
DIt guarantees all retries will succeed eventually
Step-by-Step Solution
Solution:
  1. Step 1: Understand circuit breaker role

    Circuit breaker stops calls to a failing service to prevent overload.
  2. Step 2: Combine with exponential backoff

    Exponential backoff spaces retries; circuit breaker prevents retries when failure is persistent.
  3. Final Answer:

    It prevents retries when the service is known to be down, saving resources -> Option B
  4. Quick Check:

    Circuit breaker + backoff = efficient retry control [OK]
Quick Trick: Circuit breaker stops retries during persistent failure [OK]
Common Mistakes:
MISTAKES
  • Assuming retries always succeed
  • Ignoring circuit breaker benefits
  • Removing backoff delays

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes