Bird
0
0

When splitting a monolith into microservices, what should guide the service boundaries?

easy📝 Conceptual Q2 of 15
Microservices - Migration from Monolith
When splitting a monolith into microservices, what should guide the service boundaries?
ASize of the codebase in lines
BIndependent deployability and business function
CNumber of database tables
DNumber of UI screens
Step-by-Step Solution
Solution:
  1. Step 1: Identify key microservice principles

    Microservices must be independently deployable and aligned with business functions.
  2. Step 2: Compare options

    Code size, database tables, or UI screens do not guarantee clear boundaries or deployability.
  3. Final Answer:

    Independent deployability and business function -> Option B
  4. Quick Check:

    Independent deployability = A [OK]
Quick Trick: Boundaries enable independent deployment [OK]
Common Mistakes:
  • Using code size as boundary
  • Relying on database table count
  • Using UI screens as boundary

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes