Bird
0
0

If an application uses a library-based approach for service communication, what is the expected behavior when a new version of the communication library is released?

medium📝 Command Output Q5 of 15
Kubernetes - Service Mesh
If an application uses a library-based approach for service communication, what is the expected behavior when a new version of the communication library is released?
AAll services must update their code to use the new library version
BThe service mesh automatically updates communication without code changes
CNo update is needed because communication is handled externally
DKubernetes automatically patches the library in running pods
Step-by-Step Solution
Solution:
  1. Step 1: Understand library-based approach update impact

    Since communication logic is inside app code, updating the library requires code changes and redeployment.
  2. Step 2: Contrast with service mesh behavior

    Service mesh updates happen externally, no app code changes needed.
  3. Final Answer:

    All services must update their code to use the new library version -> Option A
  4. Quick Check:

    Library-based updates require code changes [OK]
Quick Trick: Library updates need app code changes and redeployments [OK]
Common Mistakes:
  • Assuming automatic updates without code changes
  • Thinking Kubernetes patches libraries inside pods
  • Confusing service mesh with library-based updates

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes