Kafka uses ZooKeeper as its distributed coordination system. ZooKeeper helps manage cluster metadata and leader election.
A → Correct: Brokers retrieve leader/partition assignments from ZooKeeper.
D → Correct: ZooKeeper is used to elect the controller broker responsible for cluster-wide administrative tasks.
From Kafka documentation:
“ZooKeeper maintains metadata for Kafka, including broker registration and controller election.”
B → Incorrect: Broker scaling is not handled via ZooKeeper.
C → Incorrect: Replication across clusters is not related to ZooKeeper.
Page Reference:
Kafka: The Definitive Guide, 1st Edition, Chapter 6, p. 189–191
Apache Kafka Documentation: ZooKeeper Integration
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit