Bird
0
0

In a service mesh, if Service A calls Service B and Service B is unresponsive, what behavior is expected assuming default retry policies?

medium📝 Analysis Q4 of 15
Microservices - Service Mesh
In a service mesh, if Service A calls Service B and Service B is unresponsive, what behavior is expected assuming default retry policies?
AService A immediately fails without retries
BService A's sidecar proxy retries the request based on configured policies before failing
CService B's sidecar proxy reroutes the request to Service A
DThe service mesh automatically spins up a new instance of Service B
Step-by-Step Solution
Solution:
  1. Step 1: Understand retry behavior

    Service meshes typically implement retry logic in sidecar proxies to improve resilience.
  2. Step 2: What happens when Service B is down?

    The sidecar proxy for Service A will retry the request according to policy before returning an error.
  3. Final Answer:

    Service A's sidecar proxy retries the request based on configured policies before failing -> Option B
  4. Quick Check:

    Retries handled by sidecar proxy [OK]
Quick Trick: Sidecar proxies handle retries transparently [OK]
Common Mistakes:
MISTAKES
  • Assuming immediate failure without retries
  • Thinking service mesh auto-scales services on failure
  • Believing requests reroute back to caller

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes