Skip to content
Sharp

Microservice Architecture · interview question

In an event-driven microservices architecture, what is the primary role of a message broker like Kafka?

Multiple choiceEasychapter-18-curatedpremiummicroservice-architecturemessage-brokers-kafka
Choose one answer
Answer and explanation

Correct answer

D. To decouple services and handle message delivery

Why

A message broker like Kafka decouples producers from consumers, allowing them to operate independently. It handles the reliable delivery of messages between these services, facilitating an event-driven architecture.

Test yourself on Microservice Architecture

A free test with instant, explained results. No account needed.

Start free test
All Microservice Architecture questions →