CCAAK · Question #100
You need to configure 'process.roles' in a Kafka cluster running in KRaft mode. Which two configurations will ensure proper metadata management and broker operations? (Choose two.)
The correct answer is C. Three nodes are set to 'controller' and two nodes are set to 'broker'. D. Three nodes are set to 'controller' and two nodes are set to 'broker,controller'. A healthy KRaft cluster requires: A controller quorum (typically three nodes) for stable metadata management. One or more broker nodes to handle client traffic and store partition data. Both configurations satisfy these requirements: Three controllers + two brokers cleanly…
Question
You need to configure 'process.roles' in a Kafka cluster running in KRaft mode. Which two configurations will ensure proper metadata management and broker operations? (Choose two.)
Options
- AAll nodes are set to 'broker'.
- BAll nodes are set to 'controller'.
- CThree nodes are set to 'controller' and two nodes are set to 'broker'.
- DThree nodes are set to 'controller' and two nodes are set to 'broker,controller'.
How the community answered
(56 responses)- A14% (8)
- B7% (4)
- C79% (44)
Explanation
A healthy KRaft cluster requires: A controller quorum (typically three nodes) for stable metadata management. One or more broker nodes to handle client traffic and store partition data. Both configurations satisfy these requirements: Three controllers + two brokers cleanly separates metadata and data-plane responsibilities. Three controllers + two broker/controller nodes still provide a quorum of controllers and functioning brokers, and KRaft supports nodes running in mixed mode.
Topics
Community Discussion
No community discussion yet for this question.