Recall & Review
beginner
What is a message broker in microservices?
A message broker is a software that helps different microservices talk to each other by sending and receiving messages in a safe and organized way.
Click to reveal answer
intermediate
How does Kafka ensure message durability?
Kafka stores messages on disk and replicates them across multiple servers, so messages are safe even if one server fails.
Click to reveal answer
intermediate
What is the main difference between Kafka and RabbitMQ?
Kafka is designed for high-throughput and streaming data with a log-based storage, while RabbitMQ focuses on flexible routing and supports many messaging patterns.
Click to reveal answer
beginner
What is a queue in RabbitMQ?
A queue is a place where messages wait until a microservice is ready to process them, ensuring messages are handled one by one or in order.
Click to reveal answer
beginner
Why use message brokers in microservices architecture?
They help microservices communicate asynchronously, improve system reliability, and allow scaling by decoupling services.
Click to reveal answer
Which feature is Kafka best known for?
✗ Incorrect
Kafka is designed for high-throughput and stores messages in a log format for streaming.
In RabbitMQ, what is an exchange used for?
✗ Incorrect
Exchanges route messages to queues using binding rules.
What does asynchronous communication mean in microservices?
✗ Incorrect
Asynchronous means services send messages and do not wait for immediate replies.
Which of these is NOT a benefit of using message brokers?
✗ Incorrect
Message brokers enable asynchronous communication, not forcing synchronous calls.
How does RabbitMQ handle message delivery?
✗ Incorrect
RabbitMQ routes messages to queues, where consumers receive them.
Explain how Kafka and RabbitMQ differ in their approach to message handling and use cases.
Think about storage style and routing flexibility.
You got /4 concepts.
Describe why message brokers are important in a microservices architecture and how they improve system design.
Consider communication style and system robustness.
You got /4 concepts.