Apache Kafka Study Guide 2026

Everything you need to pass the Apache Kafka exam in one place: the exam format, every topic to study, real practice questions with explanations, flashcards, and full-length practice tests. Free, no sign-up needed.

📚 Apache Kafka Topics to Study (23)

✍️ Sample Apache Kafka Questions & Answers

1. What is a 'changelog topic' in Kafka Streams?
A Kafka topic used to back up local state store contents for fault tolerance

Kafka Streams writes all state store updates to a changelog topic so that state can be restored from Kafka if a task migrates to another instance.

2. Which CLI tool is used to list, describe, and reset consumer group offsets in Kafka?
kafka-consumer-groups.sh

kafka-consumer-groups.sh manages consumer group metadata including listing groups, describing lag, resetting offsets, and deleting groups.

3. What is a 'session window' in Kafka Streams?
A dynamic window that groups records separated by an inactivity gap smaller than a configurable threshold

Session windows group events for a key into a session as long as the gap between consecutive events is less than the inactivity gap timeout.

4. Can you decrease the number of partitions in an existing Kafka topic?
No, partition count can only be increased, never decreased

Kafka does not support decreasing the partition count of an existing topic because it would require redistributing data and break ordering guarantees.

5. What does a 'stream-table join' in Kafka Streams do?
Enriches each stream record with the current table value for the matching key

A stream-table join looks up the latest KTable value for a record's key and enriches the stream record with that value in real time.

6. Which Kafka CLI tool is used to create a new topic?
kafka-topics.sh

kafka-topics.sh with the --create flag is the standard tool for creating new Kafka topics from the command line.

🎯 Free Apache Kafka Practice Tests

📖 Apache Kafka Guides & Articles

Your Apache Kafka Study Path
1. Learn with Flashcards → 2. Drill Practice Tests → 3. Take the Full Exam Simulation