Bird
Raised Fist0

Given this command output snippet from Kafka monitoring, what does it indicate?

medium📝 Command Output Q13 of Q15
Kafka - Monitoring and Operations
Given this command output snippet from Kafka monitoring, what does it indicate?
Partition 0 Leader: 1
Partition 0 ISR: 1,2
Partition 1 Leader: 2
Partition 1 ISR: 2
APartition 1 has no in-sync replicas, risking data loss.
BAll partitions have healthy leaders and in-sync replicas.
CPartition 0 leader is down because ISR is missing.
DKafka cluster has no active brokers.
Step-by-Step Solution
Solution:
  1. Step 1: Understand Leader and ISR meaning

    Leader is the broker handling writes; ISR (in-sync replicas) are replicas up to date with leader.
  2. Step 2: Analyze the output

    Partition 0 leader is broker 1 with ISR 1 and 2, both in sync. Partition 1 leader is 2 with ISR 2, also in sync.
  3. Final Answer:

    All partitions have healthy leaders and in-sync replicas. -> Option B
  4. Quick Check:

    Leader and ISR present = healthy partitions [OK]
Quick Trick: Leader and ISR presence means healthy partitions [OK]
Common Mistakes:
MISTAKES
  • Assuming missing ISR means leader down
  • Confusing ISR with offline replicas
  • Ignoring that leader IDs are shown

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes