Bird
Raised Fist0

Given the following JMX metric values for a Kafka broker:

medium📝 Predict Output Q13 of Q15
Kafka - Monitoring and Operations

Given the following JMX metric values for a Kafka broker:
MessagesInPerSec = 500
BytesInPerSec = 1024000
BytesOutPerSec = 2048000
What does this tell you about the broker's activity?

AThe broker's incoming and outgoing bytes are equal
BThe broker is receiving more messages than it sends out
CThe broker is idle with no message traffic
DThe broker is sending out twice as much data as it receives in messages
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the metric values

    MessagesInPerSec is 500, BytesInPerSec is 1,024,000 bytes, BytesOutPerSec is 2,048,000 bytes.
  2. Step 2: Compare incoming and outgoing bytes

    Outgoing bytes (2,048,000) is exactly twice the incoming bytes (1,024,000), meaning the broker sends out twice as much data as it receives.
  3. Final Answer:

    The broker is sending out twice as much data as it receives in messages -> Option D
  4. Quick Check:

    BytesOutPerSec = 2 x BytesInPerSec [OK]
Quick Trick: Compare BytesOutPerSec and BytesInPerSec values [OK]
Common Mistakes:
MISTAKES
  • Ignoring the difference between bytes and messages
  • Assuming equal incoming and outgoing bytes
  • Misreading the numeric values

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes