All quizzes
Free quiz · 20 questions in the bank

Kafka quiz

Test your Kafka knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is Apache Kafka?

Questions in this quiz
  1. What is Apache Kafka?
  2. What is a Kafka "broker," and how does a Kafka cluster typically consist of multiple brokers?
  3. What is a Kafka "offset," and what does it represent for a consumer reading from a partition?
  4. What does it mean that Kafka retains messages for a CONFIGURABLE retention period (or size limit), rather than immediately deleting a message once it has been consumed (as many traditional message queues do)?
  5. What is a "log compaction" retention policy in Kafka, as an alternative to simple time/size-based retention?
  6. What is "replication" in Kafka, and what fault-tolerance guarantee does having multiple replicas of a partition provide?
  7. What does "at-least-once" delivery semantics mean in the context of Kafka (and message queue systems generally), and what does it imply a consumer needs to be designed to handle?
  8. What is a general reason a team might choose Kafka specifically over a more traditional message broker like RabbitMQ for a given messaging/event-driven use case?
  9. What is a "rebalance" in a Kafka consumer group, and when does it typically occur?
  10. What is "event sourcing," as an architectural pattern, and why is Kafka often well-suited as its underlying storage/transport mechanism?
  11. What does it mean that Kafka messages within a single partition are strictly ORDERED, and what is the important caveat about ordering ACROSS multiple partitions of the same topic?
  12. What is a reasonable general guideline for how many partitions to configure for a new Kafka topic, considering the tradeoffs involved?
Gaps to close?
Read the curated Kafka notes — core concepts, patterns, interview prep.
Kafka notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web