0
0
Kafkadevops~20 mins

Why monitoring prevents outages in Kafka - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Kafka Monitoring Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How does monitoring Kafka brokers help prevent outages?

Which of the following best explains why monitoring Kafka brokers is important to prevent outages?

AIt allows detecting broker failures early so they can be fixed before clients are affected.
BIt increases the speed of message delivery between producers and consumers.
CIt automatically restarts brokers without human intervention.
DIt reduces the storage space used by Kafka logs.
Attempts:
2 left
💡 Hint

Think about how knowing about problems early helps avoid bigger issues.

💻 Command Output
intermediate
2:00remaining
Interpreting Kafka broker metrics output

Given the following Kafka broker JMX metric output snippet, what does it indicate?

kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,topic=orders Count=0
AThe 'orders' topic has reached its maximum message capacity.
BThe broker is down and not reporting metrics.
CNo messages are currently being produced to the 'orders' topic.
DMessages are being produced but not counted due to a metrics error.
Attempts:
2 left
💡 Hint

Look at the Count value and what it means for message flow.

🔀 Workflow
advanced
3:00remaining
Order the steps to set up Kafka monitoring to prevent outages

Put these steps in the correct order to set up effective Kafka monitoring that helps prevent outages.

A3,1,2,4
B1,2,3,4
C1,3,2,4
D2,1,3,4
Attempts:
2 left
💡 Hint

Think about what must be done before metrics can be collected and alerts created.

Troubleshoot
advanced
2:30remaining
Identifying cause of Kafka consumer lag from monitoring data

You see a sudden increase in consumer lag metric for a Kafka topic. Which monitoring data would best help identify the cause?

AConsumer group offset commit timestamps and broker disk usage.
BNumber of partitions in the topic.
CBroker CPU usage and network throughput metrics.
DKafka producer message size statistics.
Attempts:
2 left
💡 Hint

Think about what affects consumer lag directly.

Best Practice
expert
3:00remaining
Best practice for alert thresholds to prevent Kafka outages

What is the best practice for setting alert thresholds on Kafka monitoring metrics to effectively prevent outages?

ASet very low thresholds to alert on any small change, to catch all issues immediately.
BSet thresholds only on broker CPU usage, ignoring other metrics.
CDisable alerts and rely on manual checks to reduce noise.
DSet thresholds based on historical normal ranges and business impact to avoid alert fatigue.
Attempts:
2 left
💡 Hint

Consider how too many alerts can affect response.