Recall & Review
beginner
What is a microservice in software architecture?
A microservice is a small, independent service that performs a specific function within a larger application. It communicates with other microservices through simple interfaces like APIs.
Click to reveal answer
beginner
Why do we use microservices instead of one big application?
Microservices allow teams to build, deploy, and scale parts of an application independently. This makes the system easier to manage, update, and grow over time.
Click to reveal answer
intermediate
In a microservice architecture diagram, what does an API Gateway do?
An API Gateway acts like a front door that routes client requests to the right microservice. It can also handle security, load balancing, and request transformations.
Click to reveal answer
intermediate
What is the role of a service registry in microservices?
A service registry keeps track of all running microservices and their locations. This helps services find and communicate with each other dynamically.
Click to reveal answer
beginner
Name two common communication methods between microservices.
Microservices commonly communicate using synchronous HTTP/REST calls or asynchronous messaging with queues or event streams.
Click to reveal answer
What is the main advantage of using microservices?
✗ Incorrect
Microservices allow independent deployment and scaling, unlike monolithic apps.
In a microservice architecture, what does the API Gateway do?
✗ Incorrect
The API Gateway routes requests and can handle security and load balancing.
Which component helps microservices discover each other?
✗ Incorrect
The Service Registry tracks running services and their locations.
Which communication method is asynchronous in microservices?
✗ Incorrect
Message queues allow asynchronous communication between services.
What is a key characteristic of a microservice?
✗ Incorrect
Microservices are small and focused on one function for easier management.
Describe the main components and flow in a simple microservice architecture diagram.
Think of how a customer orders food through a waiter who directs the order to the kitchen stations.
You got /5 concepts.
Explain why microservices improve scalability and maintenance compared to monolithic applications.
Compare fixing one room’s light in a house versus rewiring the entire house at once.
You got /5 concepts.