Bird
0
0

You want to add circuit breaker functionality to your Ambassador proxy to improve resilience. Which approach best fits this requirement?

hard📝 Trade-off Q8 of 15
Microservices - Advanced Patterns
You want to add circuit breaker functionality to your Ambassador proxy to improve resilience. Which approach best fits this requirement?
AAdd circuit breaker logic inside the main service code
BRemove Ambassador and rely on client-side retries only
CDeploy a separate circuit breaker service unrelated to Ambassador
DImplement circuit breaker logic inside the Ambassador to monitor service health and stop requests temporarily
Step-by-Step Solution
Solution:
  1. Step 1: Understand circuit breaker role in Ambassador

    Circuit breaker should monitor service health and prevent calls when service is unhealthy.
  2. Step 2: Identify best place to implement circuit breaker

    Implementing it inside Ambassador fits well as it manages communication and can stop forwarding requests.
  3. Final Answer:

    Implement circuit breaker logic inside the Ambassador to monitor service health and stop requests temporarily -> Option D
  4. Quick Check:

    Circuit breaker inside Ambassador = Implement circuit breaker logic inside the Ambassador to monitor service health and stop requests temporarily [OK]
Quick Trick: Put circuit breaker inside Ambassador proxy for resilience [OK]
Common Mistakes:
  • Adding circuit breaker inside service code only
  • Removing Ambassador instead of enhancing it

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes