Kafka Interview Prep Quiz Welcome to your Kafka Quiz 1. Kafka What enables idempotent producer? Choose the correct answer.Deselect Answer enable.idempotence=true acks=0 compression.type=none linger.ms=0 None 2. Kafka Kafka primarily follows which architecture? Choose the correct answer.Deselect Answer MVC Peer-to-Peer Client-Server only Publish-Subscribe None 3. Kafka Message key helps? Choose the correct answer.Deselect Answer Partition assignment and ordering Compression Encryption Authentication None 4. Kafka Message ordering is guaranteed within? Choose the correct answer.Deselect Answer Consumer group All partitions Entire cluster A single partition None 5. Kafka Which method fetches records from Kafka? Choose the correct answer.Deselect Answer produce() send() poll() consume() None 6. Kafka Exactly-once semantics require? Choose the correct answer.Deselect Answer Only partitions Only retries Only compression Idempotent producer and transactions None 7. Kafka Which compression codec is commonly supported? Choose the correct answer.Deselect Answer ZIPX Snappy RAR BZIP1 None 8. Kafka Replication Factor provides? Choose the correct answer.Deselect Answer Authentication Ordering Compression Fault tolerance None 9. Kafka What does linger.ms control? Choose the correct answer.Deselect Answer Broker startup How long producer waits before sending a batch Message retention Consumer timeout None 10. Kafka Consumer Group allows? Choose the correct answer.Deselect Answer Load balancing across consumers Duplicate brokers Topic replication Compression None 11. Kafka Why use manual offset commits? Choose the correct answer.Deselect Answer Better control over message processing Reduce replication Avoid serialization Increase partitions None 12. Kafka Which producer acknowledgement provides highest durability? Choose the correct answer.Deselect Answer acks=0 acks=all acks=1 No ACK None 13. Kafka Retention can be based on? Choose the correct answer.Deselect Answer Broker ID Topic name Consumers Time or size None 14. Kafka Can offsets be committed manually? Choose the correct answer.Deselect Answer Only by broker Only in Java Yes No None 15. Kafka Consumer lag indicates? Choose the correct answer.Deselect Answer Consumer is behind producer Schema mismatch Broker failure Topic deletion None 16. Kafka What is max.poll.interval.ms related to? Choose the correct answer.Deselect Answer Retention period Producer batching Broker timeout Maximum processing interval before rebalance None 17. Kafka Which tool is commonly used to monitor Kafka consumer lag? Choose the correct answer.Deselect Answer Jenkins Nexus Burrow Tomcat None 18. Kafka What happens if a consumer does not poll for too long? Choose the correct answer.Deselect Answer It may be removed from the consumer group Broker stops Topic is deleted Offsets reset None 19. Kafka What is producer batching used for? Choose the correct answer.Deselect Answer Improve throughput Increase latency Delete messages Reduce partitions None 20. Kafka Why are partitions used in Kafka? Choose the correct answer.Deselect Answer Encryption Authentication Parallelism and scalability Compression None 21. Kafka What is a Kafka Broker? Choose the correct answer.Deselect Answer Producer library Kafka server storing and serving data Load balancer Consumer application None 22. Kafka Who reads messages from Kafka? Choose the correct answer.Deselect Answer Broker Producer Schema Registry Consumer None 23. Kafka Deserializer is used by? Choose the correct answer.Deselect Answer Producer ZooKeeper Consumer Broker None 24. Kafka A Kafka Topic is? Choose the correct answer.Deselect Answer A REST endpoint A logical stream of records A database table A JVM thread None 25. Kafka Serializer converts? Choose the correct answer.Deselect Answer Topics to partitions Keys to values Bytes to objects Objects to bytes None 26. Kafka Kafka is best for? Choose the correct answer.Deselect Answer SQL reporting Email Image editing High-throughput event streaming None 27. Kafka ISR stands for? Choose the correct answer.Deselect Answer In-Sync Replicas Internal Service Router Integrated Sync Requests Indexed Stream Records None 28. Kafka Leader partition handles? Choose the correct answer.Deselect Answer Replication only Reads and writes Writes only Reads only None 29. Kafka Dead Letter Queue stores? Choose the correct answer.Deselect Answer Fast consumers Failed messages Offsets Leader logs None 30. Kafka acks=all means? Choose the correct answer.Deselect Answer Leader waits for all ISR acknowledgements Leader only Async only No acknowledgement None Loading questions... Loading questions... Please fill in the comment box below. Previous Start Quiz Next Time's up