Bird
0
0

Why does Istio use Envoy as a sidecar proxy instead of modifying application code directly?

hard📝 Conceptual Q10 of 15
Kubernetes - Service Mesh
Why does Istio use Envoy as a sidecar proxy instead of modifying application code directly?
ABecause Envoy is the only proxy compatible with Kubernetes
BTo separate networking logic from application logic for easier management
CTo reduce CPU usage by avoiding proxies
DBecause modifying application code is faster but less secure
Step-by-Step Solution
Solution:
  1. Step 1: Understand sidecar proxy purpose

    Envoy sidecar separates network features from app code, simplifying management.
  2. Step 2: Evaluate other options

    Envoy is not the only proxy, modifying code is complex and error-prone, and proxies add CPU usage.
  3. Final Answer:

    To separate networking logic from application logic for easier management -> Option B
  4. Quick Check:

    Envoy separates concerns for easier management [OK]
Quick Trick: Sidecar proxies separate network from app logic [OK]
Common Mistakes:
  • Thinking Envoy is only proxy
  • Believing code modification is preferred
  • Assuming proxies reduce CPU usage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes