Kafka Interview Prep Quiz Welcome to your Kafka Quiz 1. Kafka Who reads messages from Kafka? Choose the correct answer.Deselect Answer Schema Registry Producer Consumer Broker None 2. Kafka What happens if a consumer does not poll for too long? Choose the correct answer.Deselect Answer Topic is deleted Offsets reset Broker stops It may be removed from the consumer group None 3. Kafka Schema Registry commonly works with? Choose the correct answer.Deselect Answer HTML Avro CSV XML None 4. Kafka What is producer batching used for? Choose the correct answer.Deselect Answer Improve throughput Increase latency Delete messages Reduce partitions None 5. Kafka Dead Letter Queue stores? Choose the correct answer.Deselect Answer Offsets Leader logs Fast consumers Failed messages None 6. Kafka What is Apache Kafka? Choose the correct answer.Deselect Answer Web server Distributed event streaming platform Cache Relational database None 7. Kafka Can offsets be committed manually? Choose the correct answer.Deselect Answer No Only in Java Only by broker Yes None 8. Kafka Which compression codec is commonly supported? Choose the correct answer.Deselect Answer BZIP1 ZIPX Snappy RAR None 9. Kafka Which API allows manual offset commits? Choose the correct answer.Deselect Answer commitSync() subscribe() send() poll() None 10. Kafka KRaft replaces? Choose the correct answer.Deselect Answer Redis ZooKeeper MongoDB Eureka None 11. Kafka Why are partitions used in Kafka? Choose the correct answer.Deselect Answer Authentication Encryption Parallelism and scalability Compression None 12. Kafka Replication Factor provides? Choose the correct answer.Deselect Answer Fault tolerance Authentication Ordering Compression None 13. Kafka ISR stands for? Choose the correct answer.Deselect Answer Integrated Sync Requests In-Sync Replicas Indexed Stream Records Internal Service Router None 14. Kafka Which producer setting controls maximum batch size? Choose the correct answer.Deselect Answer batch.size linger.ms retries acks None 15. Kafka Which tool is commonly used to monitor Kafka consumer lag? Choose the correct answer.Deselect Answer Tomcat Burrow Jenkins Nexus None 16. Kafka What does linger.ms control? Choose the correct answer.Deselect Answer Consumer timeout How long producer waits before sending a batch Message retention Broker startup None 17. Kafka What happens during consumer group rebalancing? Choose the correct answer.Deselect Answer Messages are compressed Brokers restart Topics are deleted Partitions are reassigned among consumers None 18. Kafka Deserializer is used by? Choose the correct answer.Deselect Answer Consumer ZooKeeper Producer Broker None 19. Kafka Message key helps? Choose the correct answer.Deselect Answer Partition assignment and ordering Compression Encryption Authentication None 20. Kafka Leader partition handles? Choose the correct answer.Deselect Answer Writes only Reads and writes Reads only Replication only None 21. Kafka Consumer lag indicates? Choose the correct answer.Deselect Answer Schema mismatch Topic deletion Broker failure Consumer is behind producer None 22. Kafka acks=all means? Choose the correct answer.Deselect Answer Leader waits for all ISR acknowledgements Async only No acknowledgement Leader only None 23. Kafka Consumer Group allows? Choose the correct answer.Deselect Answer Topic replication Load balancing across consumers Compression Duplicate brokers None 24. Kafka Message ordering is guaranteed within? Choose the correct answer.Deselect Answer Consumer group All partitions Entire cluster A single partition None 25. Kafka Who writes messages to Kafka? Choose the correct answer.Deselect Answer Consumer Producer ZooKeeper Broker None 26. Kafka What is the purpose of retries in a producer? Choose the correct answer.Deselect Answer Increase partitions Resend failed requests Delete duplicate messages Commit offsets None 27. Kafka Retention can be based on? Choose the correct answer.Deselect Answer Broker ID Topic name Consumers Time or size None 28. Kafka What enables idempotent producer? Choose the correct answer.Deselect Answer compression.type=none acks=0 linger.ms=0 enable.idempotence=true None 29. Kafka Two consumers in same group read same partition? Choose the correct answer.Deselect Answer Yes Sometimes No Always None 30. Kafka Kafka stores messages for? Choose the correct answer.Deselect Answer Configured retention period Until consumed One day Memory only None Loading questions... Loading questions... Please fill in the comment box below. Previous Start Quiz Next Time's up