Bird
0
0

What practical reasons does the case study illustrate for this change?

hard📝 Architecture Q15 of 15
Microservices - Real-World Architecture Case Studies
A case study describes a microservices system that initially used a shared database for all services but later moved to separate databases per service. What practical reasons does the case study illustrate for this change?
ATo force all services to use the same schema.
BTo make data management more complex and slower.
CTo improve service independence and reduce coupling.
DTo reduce the number of databases to manage.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the impact of a shared database

    Shared databases create tight coupling, making services dependent on each other's data schemas.
  2. Step 2: Analyze benefits of separate databases per service

    Separate databases improve independence, allowing services to evolve without affecting others.
  3. Final Answer:

    To improve service independence and reduce coupling. -> Option C
  4. Quick Check:

    Separate DBs reduce coupling = A [OK]
Quick Trick: Separate databases increase service independence [OK]
Common Mistakes:
  • Thinking separate DBs increase complexity negatively
  • Assuming shared DB forces same schema is good
  • Believing separate DBs reduce number of databases

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes