QuizzesMonitoring with Prometheus & Grafana — Concept Check
intermediate
kafka

Monitoring with Prometheus & Grafana — Concept Check

Questions on Monitoring with Prometheus & Grafana. Kafka exposes hundreds of JMX metrics. Export them to Prometheus via JMX Exporter and visualise in Grafana for production-grade observability of brokers, producers, and consumers.

7 minutes 7 questions Pass at 70%
Time Limit
7 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

7 questions on Monitoring with Prometheus & Grafana — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A Kafka broker is experiencing high consumer lag. Which metric should you monitor to diagnose this issue?

    • Akafka_broker_replication_state
    • Bkafka_consumer_group_lag
    • Ckafka_server_under_replicated_partitions
    • Dkafka_server_messages_in_per_sec
  2. 2.You notice that the 'UnderReplicatedPartitions' metric is increasing. What does this indicate about the broker's health?

    • AThere is an increase in message throughput.
    • BThe broker is experiencing replication issues.
    • CThe broker is handling messages efficiently.
    • DThe consumer lag is decreasing.
  3. 3.A Grafana dashboard shows a sudden drop in 'MessagesInPerSec'. What could this imply?

    • AA decrease in message production rate.
    • BReplication state is stable.
    • CAn increase in consumer lag.
    • DImproved broker health.
  4. 4.When setting up JMX Exporter, which configuration pattern is used to monitor message throughput?

    • Akafka.server<type=BrokerTopicMetrics, name=MessagesInPerSec, topic=(.+)><>OneMinuteRate
    • Bkafka.server<type=BrokerTopicMetrics, name=BytesInPerSec><>OneMinuteRate
    • Ckafka.server<type=ConsumerLagMetrics, name=Lag><>Value
    • Dkafka.server<type=ReplicaManager, name=UnderReplicatedPartitions><>Value
  5. 5.A Prometheus alert triggers for 'KafkaConsumerHighLag'. What action should you consider?

    • AIncrease message production rate.
    • BInvestigate consumer processing speed.
    • CIgnore as it resolves automatically.
    • DCheck for broker replication issues.
  6. 6.What is the primary role of JMX Exporter in a Kafka monitoring setup?

    • AVisualize metrics in Grafana dashboards.
    • BAlert on high consumer lag.
    • CImprove broker throughput.
    • DTranslate JMX metrics into Prometheus format.
  7. 7.You notice an alert for 'KafkaConsumerHighLag' persists for over 5 minutes. What does this indicate?

    • AMessage throughput is increasing.
    • BConsumer lag is consistently high.
    • CReplication state is stable.
    • DBroker health is improving.