Why does Kafka use ZooKeeper? (Choose two.)
Suggested Answer: A, D
Get Premium CCAAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
ZooKeeper stores metadata such as partition leadership and ISR (in-sync replicas), which brokers use to coordinate.
Kafka uses ZooKeeper to perform leader election for the Controller broker, which manages cluster metadata and leadership changes.
12 comments · newest first
TA
Tamekia
2 months ago
I lean towards A and B. Scaling is important for performance.
TI
Timothy
2 months ago
Agreed! A helps with partition management too.
DA
Daryl
2 months ago
I think A and D are the right choices. Leader info is crucial.
KI
King
2 months ago
I thought ZooKeeper was just for leader election, not scaling.
SU
Suzi
2 months ago
Totally agree with A and D!
MA
Maryann
2 months ago
Wait, does ZooKeeper really prevent replication? That sounds off.
LE
Lenna
3 months ago
I think B is also important for scaling.
JE
Jerry
3 months ago
A and D are spot on!
ZO
Zoila
3 months ago
I definitely know it helps with controller election, but I’m torn between the other options.
VA
Van
3 months ago
I feel like scaling brokers might be related, but I can't recall if that's a direct function of ZooKeeper.
RO
Rosalind
3 months ago
I remember something about ZooKeeper managing leader and partition info, so maybe that's one of the answers?
HE
Henriette
4 months ago
I think Kafka uses ZooKeeper for controller election, but I'm not sure about the other option.