Bird
0
0

You design a microservice system where services must remain available even if dependent services fail intermittently. Which advanced pattern combination best handles this edge case?

hard📝 Trade-off Q15 of 15
Microservices - Advanced Patterns
You design a microservice system where services must remain available even if dependent services fail intermittently. Which advanced pattern combination best handles this edge case?
ASynchronous calls with no retries to avoid delays.
BSingle monolithic service to avoid network failures.
CCircuit breaker with fallback responses and event-driven retries.
DNo error handling to keep code simple.
Step-by-Step Solution
Solution:
  1. Step 1: Understand availability needs

    Services must stay responsive despite failures in dependencies.
  2. Step 2: Combine patterns for resilience

    Circuit breakers stop calls to failing services, fallback responses provide defaults, and event-driven retries handle eventual success.
  3. Final Answer:

    Circuit breaker with fallback responses and event-driven retries. -> Option C
  4. Quick Check:

    Combine circuit breaker + fallback + retries for availability [OK]
Quick Trick: Combine circuit breaker, fallback, and retries for resilience [OK]
Common Mistakes:
  • Using synchronous calls blocks availability
  • Monolith avoids network but loses scalability
  • No error handling causes system crashes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes