Bird
0
0

In KRaft mode, how can you ensure high availability of the metadata quorum?

hard📝 Application Q9 of 15
Kafka - Cluster Architecture
In KRaft mode, how can you ensure high availability of the metadata quorum?
AUse a single powerful controller node with multiple CPUs
BDeploy an odd number of controller nodes across different machines
CRun ZooKeeper alongside KRaft controllers for backup
DIncrease the replication factor of Kafka topics
Step-by-Step Solution
Solution:
  1. Step 1: Understand quorum requirements

    High availability requires an odd number of controller nodes to maintain quorum during failures.
  2. Step 2: Exclude incorrect methods

    Single node is a single point of failure, ZooKeeper is not used in KRaft, and topic replication does not affect metadata quorum.
  3. Final Answer:

    Deploy an odd number of controller nodes across different machines -> Option B
  4. Quick Check:

    Odd controller nodes = high availability [OK]
Quick Trick: Use odd number of controllers for quorum HA [OK]
Common Mistakes:
  • Relying on single controller node
  • Mixing ZooKeeper with KRaft mode
  • Confusing topic replication with metadata quorum

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes