Which command would you use to list all existing topics in a Kafka cluster?
kafka-topics.sh --list
kafka-topics.sh --describe
kafka-configs.sh --list
kafka-console-consumer.sh --list
What is a key advantage of Kafka's 'publish-subscribe' model?
It guarantees real-time message delivery with no latency
It eliminates the need for message brokers
It allows multiple consumers to process the same data independently
It reduces the need for data transformation
Which configuration file is used to set up Kafka brokers?
kafka.properties
zookeeper.properties
broker.config
server.properties
Which of the following is NOT a responsibility of a Kafka Consumer?
Publish messages to topics
Subscribe to topics
Track message consumption progress
Read messages from topics
Which of the following describes Kafka's message delivery semantics?
Best-effort delivery with no guarantee of order.
Guaranteed exactly-once delivery for all messages.
Messages are delivered in a random order.
At-least-once delivery with potential for duplicates.
What is the default port used by Kafka brokers for client communication?
2181
9092
29092
8080
What happens to messages in Kafka after they are consumed?
They are immediately deleted from the topic
They are archived to a long-term storage system
They are moved to a separate 'consumed messages' queue
They remain in the topic until manually deleted
Which component in Kafka is responsible for publishing messages to topics?
ZooKeeper
Consumer
Broker
Producer
What command line option for kafka-topics.sh is used to specify the replication factor for a new topic?
kafka-topics.sh
--topic
--zookeeper
--replication-factor
--partitions
What command line tool is used to create a new topic in Kafka?
kafka-console-consumer.sh
kafka-console-producer.sh
zookeeper-shell.sh