Q. The command to list topics in Kafka is:
β
Correct Answer: (B)
kafka-topics.sh --list
Explanation: You can list Kafka topics using the 'kafka-topics.sh --list' command.