Bird
0
0

Which scenario best illustrates the use of a fallback pattern in microservices?

easy📝 Conceptual Q2 of 15
Microservices - Resilience Patterns
Which scenario best illustrates the use of a fallback pattern in microservices?
AScaling up instances during high traffic
BLogging all requests for audit purposes
CEncrypting data before sending it to another service
DReturning cached data when the main service is down
Step-by-Step Solution
Solution:
  1. Step 1: Identify fallback scenario

    Fallback pattern is used to provide an alternative response, such as cached data, when the main service fails.
  2. Step 2: Match options to fallback use case

    Only Returning cached data when the main service is down describes returning cached data when the main service is unavailable, which is a typical fallback use.
  3. Final Answer:

    Returning cached data when the main service is down -> Option D
  4. Quick Check:

    Fallback scenario = Alternative response on failure [OK]
Quick Trick: Fallback often uses cached or default data [OK]
Common Mistakes:
MISTAKES
  • Confusing fallback with logging
  • Mixing fallback with encryption
  • Thinking fallback handles scaling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes