Bird
0
0

Which of the following is a correct way to implement graceful degradation in a microservice call?

easy📝 Conceptual Q12 of 15
Microservices - Resilience Patterns
Which of the following is a correct way to implement graceful degradation in a microservice call?
ARestart the entire microservice cluster immediately
BReturn an error and stop the entire request flow
CIgnore the failure and return no response
DUse a fallback response when the called service is unavailable
Step-by-Step Solution
Solution:
  1. Step 1: Identify how graceful degradation handles failures

    It uses fallback responses or simpler data to keep the system responsive.
  2. Step 2: Match the option that uses fallback

    Use a fallback response when the called service is unavailable describes using fallback response when a service is down, which is correct.
  3. Final Answer:

    Use a fallback response when the called service is unavailable -> Option D
  4. Quick Check:

    Fallback response = graceful degradation [OK]
Quick Trick: Fallback response is key to graceful degradation [OK]
Common Mistakes:
MISTAKES
  • Stopping entire request instead of fallback
  • Ignoring failure without response
  • Restarting cluster is not graceful degradation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes