Bird
0
0

Which repository strategy is most suitable?

hard📝 Trade-off Q8 of 15
Microservices - CI/CD for Microservices
A large organization plans to grow from 5 to 60 microservices with multiple autonomous teams. They require independent deployment schedules and minimal cross-team conflicts. Which repository strategy is most suitable?
AMulti-repo, to force all teams to share the same build pipeline
BMono-repo, to enforce consistent tooling and centralized control
CMono-repo, to reduce repository size and cloning time
DMulti-repo, to allow teams to manage services independently
Step-by-Step Solution
Solution:
  1. Step 1: Identify organizational needs

    Multiple teams require autonomy and independent deployments.
  2. Step 2: Evaluate repo strategies

    Multi-repo supports independent service management and reduces merge conflicts, fitting the scenario. Mono-repo centralizes control but can increase conflicts and coordination overhead.
  3. Step 3: Analyze options

    Multi-repo, to allow teams to manage services independently aligns with requirements. Mono-repo, to enforce consistent tooling and centralized control and C describe mono-repo benefits but conflict with autonomy needs. Multi-repo, to force all teams to share the same build pipeline is incorrect as multi-repo does not force shared pipelines.
  4. Final Answer:

    Multi-repo, to allow teams to manage services independently -> Option D
  5. Quick Check:

    Multi-repo suits autonomous teams and independent deployments [OK]
Quick Trick: Multi-repo enables team autonomy and independent deploys [OK]
Common Mistakes:
  • Choosing mono-repo for large autonomous teams
  • Assuming mono-repo reduces repo size
  • Believing multi-repo enforces shared pipelines

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes