CCAAK · Question #115
If the Controller detects the failure of a broker that was the leader for some partitions, which actions will be taken? (Choose two.)
The correct answer is B. The Controller persists the new leader and ISR list to ZooKeeper. C. The Controller sends the new leader and ISR list changes to all brokers. The Controller updates ZooKeeper with the new leader and in-sync replica (ISR) information to maintain metadata consistency. Brokers need this information to correctly route client requests and continue replication.
Question
If the Controller detects the failure of a broker that was the leader for some partitions, which actions will be taken? (Choose two.)
Options
- AThe Controller waits for a new leader to be nominated by ZooKeeper.
- BThe Controller persists the new leader and ISR list to ZooKeeper.
- CThe Controller sends the new leader and ISR list changes to all brokers.
- DThe Controller sends the new leader and ISR list changes to all producers and consumers.
How the community answered
(36 responses)- A6% (2)
- B81% (29)
- D14% (5)
Explanation
The Controller updates ZooKeeper with the new leader and in-sync replica (ISR) information to maintain metadata consistency. Brokers need this information to correctly route client requests and continue replication.
Topics
Community Discussion
No community discussion yet for this question.