Bird
Raised Fist0

You see this alert from Kafka monitoring: Under-replicated partitions detected. What is the most likely cause?

medium📝 Troubleshoot Q14 of Q15
Kafka - Monitoring and Operations
You see this alert from Kafka monitoring: Under-replicated partitions detected. What is the most likely cause?
AAll brokers are offline.
BKafka topics have no partitions configured.
CKafka consumer groups are lagging behind.
DSome replicas are not catching up with the leader.
Step-by-Step Solution
Solution:
  1. Step 1: Understand under-replicated partitions

    This alert means some replicas are behind the leader and not fully synced.
  2. Step 2: Eliminate other options

    No partitions or all brokers offline would cause different alerts; consumer lag is unrelated.
  3. Final Answer:

    Some replicas are not catching up with the leader. -> Option D
  4. Quick Check:

    Under-replicated = replicas behind leader [OK]
Quick Trick: Under-replicated means replicas lag leader [OK]
Common Mistakes:
MISTAKES
  • Confusing consumer lag with replica lag
  • Thinking no partitions cause this alert
  • Assuming all brokers are offline

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes