Distributed Resilience · interview question
Why do teams use a circuit breaker in a microservices architecture in production code?
Multiple choiceEasychapter-18-curatedpremiumdistributed-resiliencecircuit-breakers
Answer and explanation
Correct answer
C. To prevent a system from becoming unresponsive due to a failing service
Why
A circuit breaker is used to prevent cascading failures in a distributed system by stopping attempts to call a failing service, allowing it to recover.
Test yourself on Distributed Resilience
A free test with instant, explained results. No account needed.
More Distributed Resilience questions
- How would you explain a common approach to implementing retries in a microservices-based Java application in an…
- What could be a consequence of setting a very high threshold for failure in a circuit breaker?
- Which of the following best describes the 'Database-per-Service' pattern in a microservices architecture?
- How would you explain a potential risk when not implementing exponential backoff during retries in microservices in an…
- How does distributed tracing assist in the performance optimization of a microservice architecture?
- In a distributed system, how does injecting a unique correlation ID at the API edge router help in monitoring?