Bird
0
0

Why does Kafka require the replication factor to be less than or equal to the number of brokers?

hard📝 Conceptual Q10 of 15
Kafka - Cluster Architecture

Why does Kafka require the replication factor to be less than or equal to the number of brokers?

ABecause Kafka limits replication factor to avoid network congestion
BBecause brokers can only handle one replica each
CBecause replication factor controls the number of partitions
DBecause each replica must be placed on a different broker to ensure fault tolerance
Step-by-Step Solution
Solution:
  1. Step 1: Understand replica placement

    Kafka places each replica on a different broker to avoid single points of failure.
  2. Step 2: Explain replication factor limit

    Replication factor cannot exceed broker count because replicas must be on distinct brokers.
  3. Final Answer:

    Because each replica must be placed on a different broker to ensure fault tolerance -> Option D
  4. Quick Check:

    Replica placement requires distinct brokers [OK]
Quick Trick: Replicas must be on different brokers for safety [OK]
Common Mistakes:
  • Thinking replication factor limits partitions
  • Assuming brokers handle only one replica total
  • Believing replication factor is for network control

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes