Bird
0
0

You want to ensure high availability for a critical Kafka topic with 6 partitions. The cluster has 4 brokers. What is the maximum replication factor you can set?

hard📝 Application Q9 of 15
Kafka - Cluster Architecture

You want to ensure high availability for a critical Kafka topic with 6 partitions. The cluster has 4 brokers. What is the maximum replication factor you can set?

A2
B6
C3
D4
Step-by-Step Solution
Solution:
  1. Step 1: Identify maximum replication factor

    Replication factor cannot exceed number of brokers, which is 4.
  2. Step 2: Confirm partitions do not limit replication factor

    Partitions count does not limit replication factor; only brokers do.
  3. Final Answer:

    4 -> Option D
  4. Quick Check:

    Max replication factor = number of brokers = 4 [OK]
Quick Trick: Replication factor ≤ number of brokers [OK]
Common Mistakes:
  • Confusing partitions with replication factor limit
  • Setting replication factor higher than brokers
  • Assuming replication factor equals partitions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes