nerdexam
Confluent

CCAAK · Question #20

You work for a ride hailing company using Kafka to get real-time location updates from customers and drivers. You need to collect Kafka metrics to better understand the health and performance of the…

The correct answer is D. Enable JMX_PORT on each Kafka host in the cluster. Kafka exposes its metrics through JMX, and enabling the JMX port on each broker is the prerequisite for any external monitoring system to collect and scrape those metrics.

Monitoring and Troubleshooting

Question

You work for a ride hailing company using Kafka to get real-time location updates from customers and drivers. You need to collect Kafka metrics to better understand the health and performance of the Kafka deployment. You plan to enter the metrics into an enterprise monitoring solution to identify and fix issues before they become critical. You need to gain access to the Kafka metrics. What should you do first?

Options

  • AEnable JMX_KAFKA on each Kafka host in the cluster.
  • BEnable KAFKA_PORT on each Kafka host in the cluster.
  • CRun the kafka_metrics.sh script on each Kafka host in the cluster.
  • DEnable JMX_PORT on each Kafka host in the cluster.

How the community answered

(45 responses)
  • A
    7% (3)
  • B
    11% (5)
  • C
    4% (2)
  • D
    78% (35)

Explanation

Kafka exposes its metrics through JMX, and enabling the JMX port on each broker is the prerequisite for any external monitoring system to collect and scrape those metrics.

Topics

#JMX#Kafka metrics#monitoring setup#JMX_PORT

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice