Recall & Review
beginner
What is service decomposition in microservices?
Service decomposition is the process of breaking down a large application into smaller, independent services that each handle a specific business capability.
Click to reveal answer
beginner
Name one common strategy for decomposing services based on business capabilities.
Decomposing services by business capabilities means creating services that align with distinct business functions, like 'Order Management' or 'User Profile'.
Click to reveal answer
intermediate
What does the 'Decompose by Subdomain' strategy mean?
It means splitting services according to different subdomains identified in the business domain, often using Domain-Driven Design concepts to isolate bounded contexts.
Click to reveal answer
intermediate
Why is it important to avoid tight coupling between decomposed services?
Avoiding tight coupling ensures services can be developed, deployed, and scaled independently, improving flexibility and fault isolation.
Click to reveal answer
advanced
What is a drawback of decomposing services too granularly?
Too fine-grained services can lead to increased complexity in communication, higher latency, and more operational overhead.
Click to reveal answer
Which of the following is NOT a common service decomposition strategy?
✗ Incorrect
Decomposing by user interface layout is not a recommended strategy because UI concerns should not dictate service boundaries.
What is the main goal of service decomposition?
✗ Incorrect
Service decomposition aims to create independent services that focus on specific business functions.
Which design approach helps identify subdomains for decomposition?
✗ Incorrect
Domain-Driven Design helps identify bounded contexts and subdomains for service boundaries.
What is a risk of having tightly coupled microservices?
✗ Incorrect
Tight coupling makes it difficult to change or deploy services independently.
Which factor should NOT primarily influence service boundaries?
✗ Incorrect
UI design should not dictate service boundaries; services should focus on business logic.
Explain the main strategies used to decompose a monolithic application into microservices.
Think about how to split responsibilities clearly and keep services independent.
You got /5 concepts.
Describe the advantages and disadvantages of decomposing services too finely.
Consider what happens when services become very small.
You got /2 concepts.