Bird
0
0

If a sidecar proxy is configured to handle retries and circuit breaking, what happens when the microservice is temporarily down?

medium📝 Analysis Q5 of 15
Microservices - Service Mesh
If a sidecar proxy is configured to handle retries and circuit breaking, what happens when the microservice is temporarily down?
AThe sidecar proxy immediately returns an error to the client.
BThe client retries the request without sidecar proxy intervention.
CThe microservice automatically restarts without sidecar involvement.
DThe sidecar proxy retries requests and may open a circuit breaker to stop sending requests temporarily.
Step-by-Step Solution
Solution:
  1. Step 1: Understand sidecar proxy features

    Sidecar proxies often implement retries and circuit breakers to improve resilience without changing microservice code.
  2. Step 2: Analyze behavior when service is down

    The sidecar proxy retries requests and opens a circuit breaker to stop sending requests temporarily, protecting the system.
  3. Final Answer:

    The sidecar proxy retries requests and may open a circuit breaker to stop sending requests temporarily. -> Option D
  4. Quick Check:

    Sidecar handles retries and circuit breaking [OK]
Quick Trick: Sidecar manages retries and circuit breakers [OK]
Common Mistakes:
MISTAKES
  • Assuming immediate error return
  • Thinking microservice restarts automatically
  • Client retries without sidecar

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes