21.) What does a Kafka offset represent?
A) Sequence number of a message within a partition
B) Partition number
C) ID of the producer
D) Topic index
22.) Where are offsets stored by default in Kafka (newer clients)?
A) In memory
B) Zookeeper
C) __consumer_offsets topic
D) Broker configuration file
23.) What happens during a consumer group rebalance?
A) Topics get deleted
B) Partitions are reassigned among consumers
C) Producers stop producing
D) Brokers are restarted
24.) Kafka replication factor determines:
A) Number of copies of a partition
B) Number of partitions per broker
C) Number of topics
D) Number of producers
25.) What is the purpose of the Kafka controller broker?
A) Encrypting messages
B) Monitoring disk I/O
C) Managing partition leadership
D) Storing messages
26.) Kafka achieves high throughput using:
A) Memory-only queues
B) Multi-threaded consumers
C) Large XML payloads
D) Sequential disk I/O and batching
27.) Kafka handles backpressure using:
A) Circuit breakers
B) Disk buffering and retries
C) Rate limiting only
D) Dropping messages
28.) Which Kafka file stores actual messages?
A) .meta
B) .log
C) .config
D) .json
29.) What is segment rolling in Kafka logs?
A) Encryption rotation
B) Archiving schema files
C) Creating a new file after a configured size or time
D) Deleting old messages immediately
30.) In Kafka, each topic partition is mapped to:
A) A consumer group
B) A set of replicas
C) A schema definition
D) A file format
Related