Bird
0
0

A sidecar proxy is deployed but fails to forward requests to the microservice. Which of the following is the most probable cause?

medium📝 Analysis Q6 of 15
Microservices - Service Mesh
A sidecar proxy is deployed but fails to forward requests to the microservice. Which of the following is the most probable cause?
AThe client is sending requests using an unsupported protocol
BThe microservice is running on a different cloud provider
CThe sidecar proxy's configuration lacks the correct service endpoint or port information
DThe sidecar proxy is running on a different host than the microservice
Step-by-Step Solution
Solution:
  1. Step 1: Identify forwarding failure reasons

    Sidecar proxies forward requests to the microservice based on configured endpoints and ports.
  2. Step 2: Analyze options

    If configuration is incorrect or missing, forwarding fails. Running on different hosts is unlikely if deployed as sidecar. Client protocol mismatch affects communication but not forwarding. Cloud provider difference is irrelevant if network connectivity exists.
  3. Final Answer:

    The sidecar proxy's configuration lacks the correct service endpoint or port information -> Option C
  4. Quick Check:

    Check proxy config for correct service endpoint [OK]
Quick Trick: Incorrect proxy config causes forwarding failure [OK]
Common Mistakes:
MISTAKES
  • Assuming network location mismatch is the cause
  • Blaming client protocol without checking proxy config
  • Ignoring configuration errors in the sidecar

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes