Confluent Certified Developer for Apache Kafka (CCDAK) — Question 1

You need to consume messages from Kafka using the command-line interface (CLI).
Which command should you use?

Answer options

Correct answer: A

Explanation

The correct command to consume messages from Kafka using the CLI is kafka-console-consumer, as it is specifically designed for this purpose. The other options, such as kafka-consumer, kafka-get-message, and kafka-consume, do not exist as valid commands in the Kafka toolkit.