H13-711_V3.5 · Question #347
All ZooKeeper nodes can handle read requests.
The correct answer is A. True. Option A is correct because in a ZooKeeper ensemble, every node - both the elected leader and all follower nodes - can directly serve read requests from their local in-memory data store without coordinating with other nodes. This is by design to maximize read throughput across…
Question
All ZooKeeper nodes can handle read requests.
Options
- ATrue
- BFalse
How the community answered
(31 responses)- A84% (26)
- B16% (5)
Explanation
Option A is correct because in a ZooKeeper ensemble, every node - both the elected leader and all follower nodes - can directly serve read requests from their local in-memory data store without coordinating with other nodes. This is by design to maximize read throughput across the cluster.
Option B is wrong because it implies reads are restricted to a subset of nodes (e.g., only the leader), which is not how ZooKeeper works. Only write requests must go through the leader, which then uses the ZAB (ZooKeeper Atomic Broadcast) protocol to propagate updates to all followers before acknowledging the write.
Memory tip: Think of it as "reads are local, writes are global." Any node can answer a read from its own copy of the data, but a write requires cluster-wide agreement through the leader - so reads are fast and distributed, writes are coordinated and singular.
Topics
Community Discussion
No community discussion yet for this question.