Skip to content
Sharp

Microservice Architecture · interview question

How would you explain a potential pitfall of using event-driven architecture with Apache Kafka in a microservices ecosystem in an interview?

Multiple choiceHardchapter-18-curatedpremiummicroservice-architecturekubernetes-orchestration
Choose one answer
Answer and explanation

Correct answer

A. Message duplication leading to inconsistent data states

Why

In an event-driven architecture, message duplication can occur, which might result in processing the same event multiple times. This can lead to inconsistent data states if not handled properly, requiring idempotency or deduplication logic to ensure data consistency.

Test yourself on Microservice Architecture

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

Start free test
All Microservice Architecture questions →