Bird
0
0

Why is it important that only replicas fully caught up with the leader are included in the ISR list in Kafka?

hard📝 Conceptual Q10 of 15
Kafka - Cluster Architecture
Why is it important that only replicas fully caught up with the leader are included in the ISR list in Kafka?
ATo improve message compression efficiency
BTo guarantee strong consistency and avoid data loss during failover
CTo reduce network traffic between brokers
DTo speed up consumer offset commits
Step-by-Step Solution
Solution:
  1. Step 1: Understand ISR membership criteria

    Only replicas fully caught up with leader are in ISR to ensure data is consistent.
  2. Step 2: Identify importance of this for failover

    This guarantees strong consistency and prevents data loss if leader fails and a replica takes over.
  3. Final Answer:

    To guarantee strong consistency and avoid data loss during failover -> Option B
  4. Quick Check:

    ISR ensures consistency and data safety [OK]
Quick Trick: ISR ensures only caught-up replicas keep data consistent [OK]
Common Mistakes:
  • Thinking ISR affects compression or network traffic
  • Confusing ISR with consumer offset management
  • Assuming ISR speeds up consumer commits

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes