CCAAK · Question #24
Which action does the Kafka Controller take regarding leadership of the broker's partitions when a Kafka broker fails?
The correct answer is B. The Kafka Controller will trigger a leader election among the remaining followers to distribute. When a broker fails, the controller coordinates leader elections so that an in-sync follower becomes the new leader for each affected partition, maintaining availability and ensuring partition leadership is reassigned quickly.
Question
Which action does the Kafka Controller take regarding leadership of the broker's partitions when a Kafka broker fails?
Options
- AThe Kafka Controller will wait for a follower to take the lead.
- BThe Kafka Controller will trigger a leader election among the remaining followers to distribute
- CThe Kafka Controller will become the leader for the topic/partition that needs a leader, pending
- DThe Kafka Controller will automatically elect the least loaded broker to become the leader for
How the community answered
(39 responses)- A5% (2)
- B82% (32)
- C10% (4)
- D3% (1)
Explanation
When a broker fails, the controller coordinates leader elections so that an in-sync follower becomes the new leader for each affected partition, maintaining availability and ensuring partition leadership is reassigned quickly.
Topics
Community Discussion
No community discussion yet for this question.