Bird
0
0

If a Kafka topic has 4 partitions and replication factor 3, how many brokers must be available to maintain full reliability?

medium📝 Predict Output Q5 of 15
Kafka - Cluster Architecture
If a Kafka topic has 4 partitions and replication factor 3, how many brokers must be available to maintain full reliability?
AAt least 1 broker
BAt least 4 brokers
CAt least 3 brokers
DAt least 2 brokers
Step-by-Step Solution
Solution:
  1. Step 1: Understand replication factor meaning

    Replication factor 3 means each partition has 3 copies on different brokers.
  2. Step 2: Determine minimum brokers needed

    At least 3 brokers are needed to hold all replicas for full reliability.
  3. Final Answer:

    At least 3 brokers -> Option C
  4. Quick Check:

    Replication factor = minimum brokers needed [OK]
Quick Trick: Replication factor = minimum brokers for full reliability [OK]
Common Mistakes:
  • Confusing partitions with brokers needed
  • Assuming fewer brokers can hold all replicas
  • Thinking 4 brokers are always needed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes