11.) What role does Zookeeper play in Kafka (pre-KRaft mode)?
A) Data transformation
B) Load balancing
C) Configuration management and leader election
D) Message encryption
12.) What is the default message retention period in Kafka (if not configured)?
A) 1 hour
B) 7 days
C) 24 hours
D) Indefinite
13.) What type of messaging system is Kafka?
A) Point-to-point
B) Publish-subscribe
C) Hybrid
D) None
14.) Can Kafka be used without Zookeeper in modern versions?
A) No
B) Only with Spark
C) Yes, using KRaft mode
D) Only with Hadoop
15.) Which of the following best describes Kafka’s design?
A) Distributed and partitioned
B) Monolithic
C) Centralized
D) Modular
16.) Which component consumes data from Kafka topics?
A) Producer
B) Consumer
C) Zookeeper
D) Controller
17.) What is a Kafka cluster made of?
A) Consumers and Producers only
B) Brokers only
C) Topics only
D) Brokers and Zookeeper
18.) How does Kafka achieve scalability?
A) By reducing partitions
B) By using multiple consumers
C) Through partitions and broker replication
D) With one large server
19.) What does a Kafka Producer send data to?
A) Partitions
B) Consumers
C) Zookeeper
D) File system
20.) What is an Offset in Kafka?
A) Byte array
B) Network packet
C) Unique identifier of a message within a partition
D) Message timestamp
Related