Bird
0
0

A team notices that two microservices share the same database schema and tables. What is the main issue here?

medium📝 Conceptual Q6 of 15
Microservices - Migration from Monolith
A team notices that two microservices share the same database schema and tables. What is the main issue here?
AClear service boundaries
BGood practice for data consistency
CImproved service independence
DTight coupling due to shared database
Step-by-Step Solution
Solution:
  1. Step 1: Understand database sharing impact

    Sharing the same database schema creates tight coupling between services.
  2. Step 2: Evaluate service independence

    Services lose independence and cannot evolve or deploy separately.
  3. Final Answer:

    Tight coupling due to shared database -> Option D
  4. Quick Check:

    Shared database = A [OK]
Quick Trick: Each service should own its database [OK]
Common Mistakes:
  • Thinking shared DB improves independence
  • Ignoring coupling from shared schema
  • Assuming data consistency justifies sharing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes