Bird
Raised Fist0

A Kafka cluster shows frequent leader election events. What monitoring alert should you set to prevent outages?

medium📝 Troubleshoot Q7 of Q15
Kafka - Monitoring and Operations
A Kafka cluster shows frequent leader election events. What monitoring alert should you set to prevent outages?
AAlert on high consumer lag
BAlert on frequent leader elections
CAlert on topic creation
DAlert on broker disk usage below 10%
Step-by-Step Solution
Solution:
  1. Step 1: Understand leader election impact

    Frequent leader elections indicate instability, risking message loss or downtime.
  2. Step 2: Set alerts to detect this instability

    Alerting on frequent leader elections helps catch and fix cluster issues early.
  3. Final Answer:

    Alert on frequent leader elections -> Option B
  4. Quick Check:

    Leader election alert = Prevent cluster instability [OK]
Quick Trick: Alert on leader elections to catch cluster instability [OK]
Common Mistakes:
MISTAKES
  • Alerting only on consumer lag
  • Alerting on unrelated topic creation
  • Ignoring disk usage alerts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes