Bird
0
0

In a multi-repo setup, what happens when a shared library is updated in one repository?

medium📝 Analysis Q5 of 15
Microservices - CI/CD for Microservices
In a multi-repo setup, what happens when a shared library is updated in one repository?
AAll microservices automatically receive the update
BEach microservice must update its dependency manually
CThe update is blocked until all repos merge changes
DThe shared library is deleted from other repos
Step-by-Step Solution
Solution:
  1. Step 1: Understand multi-repo shared library management

    In multi-repo, each microservice repo manages its own dependencies separately.
  2. Step 2: Effect of updating shared library

    Updating the library in one repo does not propagate automatically; each service must update manually.
  3. Final Answer:

    Each microservice must update its dependency manually -> Option B
  4. Quick Check:

    Multi-repo shared update = manual per service [OK]
Quick Trick: Multi-repo requires manual dependency updates [OK]
Common Mistakes:
  • Assuming automatic update propagation
  • Thinking updates are blocked until merges
  • Believing shared library is deleted elsewhere

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes