CCAAK · Question #75
What are two benefits of gracefully shutting down brokers? (Choose two.)
The correct answer is A. It will sync all its logs to disk to avoid needing to do any log recovery when it restarts. B. It will migrate any partitions for which the server is the leader to other replicas prior to shutting. A graceful shutdown ensures that logs are flushed and consistent, eliminating the need for time- consuming log recovery on restart. It also triggers leadership handoff for the partitions the broker leads, allowing other replicas to take over smoothly before the broker goes…
Question
What are two benefits of gracefully shutting down brokers? (Choose two.)
Options
- AIt will sync all its logs to disk to avoid needing to do any log recovery when it restarts.
- BIt will migrate any partitions for which the server is the leader to other replicas prior to shutting
- CIt will automatically re-elect leaders before shutting down.
- DIt will balance the partitions across brokers before restarting.
How the community answered
(62 responses)- A77% (48)
- C8% (5)
- D15% (9)
Explanation
A graceful shutdown ensures that logs are flushed and consistent, eliminating the need for time- consuming log recovery on restart. It also triggers leadership handoff for the partitions the broker leads, allowing other replicas to take over smoothly before the broker goes offline.
Topics
Community Discussion
No community discussion yet for this question.