Bird
0
0

Which statement best describes the library-based approach in Kubernetes service communication?

easy📝 Conceptual Q2 of 15
Kubernetes - Service Mesh
Which statement best describes the library-based approach in Kubernetes service communication?
AIt uses sidecar proxies to intercept traffic automatically
BIt requires embedding communication logic inside application code
CIt provides a transparent network layer without code changes
DIt manages traffic routing at the Kubernetes cluster level
Step-by-Step Solution
Solution:
  1. Step 1: Define library-based approach

    Library-based approach means developers add code libraries to handle service communication inside the app.
  2. Step 2: Contrast with service mesh

    Service mesh uses sidecars and network-level controls, not code changes.
  3. Final Answer:

    It requires embedding communication logic inside application code -> Option B
  4. Quick Check:

    Library-based approach = Code changes inside app [OK]
Quick Trick: Library approach means code changes; service mesh means external control [OK]
Common Mistakes:
  • Confusing sidecar proxies with library-based approach
  • Thinking library approach is transparent to app code
  • Assuming Kubernetes manages library-based traffic routing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes