Bird
0
0

You want to add observability to your microservices without changing their code. How does a service mesh help achieve this?

hard📝 Best Practice Q15 of 15
Microservices - Service Mesh
You want to add observability to your microservices without changing their code. How does a service mesh help achieve this?
ABy injecting sidecar proxies that monitor and report traffic metrics transparently
BBy rewriting the microservices code to add logging
CBy replacing microservices with a single monolithic app
DBy disabling network communication between services
Step-by-Step Solution
Solution:
  1. Step 1: Understand sidecar proxy role in service mesh

    Service mesh injects sidecar proxies alongside microservices to handle communication and monitoring without code changes.
  2. Step 2: Eliminate incorrect options

    Service mesh does not rewrite code, replace microservices, or disable communication.
  3. Final Answer:

    By injecting sidecar proxies that monitor and report traffic metrics transparently -> Option A
  4. Quick Check:

    Sidecar proxies add observability without code change [OK]
Quick Trick: Sidecar proxies add monitoring without changing app code [OK]
Common Mistakes:
MISTAKES
  • Thinking code must be rewritten for observability
  • Confusing service mesh with app replacement
  • Assuming communication is disabled for observability

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes