Which command would you use to list all existing topics in a Kafka cluster?
kafka-console-consumer.sh --list
kafka-topics.sh --describe
kafka-topics.sh --list
kafka-configs.sh --list
What is the role of a Kafka consumer?
Subscribe to and process messages from topics
Store message offsets
Publish messages to topics
Manage the cluster and its configuration
How do you start a Kafka broker after installation?
Through a web interface provided by Kafka
By running the 'kafka-server-start.sh' script
Kafka automatically starts with the operating system
By simply starting the ZooKeeper service
Which configuration file is used to set up Kafka brokers?
zookeeper.properties
broker.config
kafka.properties
server.properties
How do you specify the message format (e.g., JSON, Avro) when consuming messages with the Kafka console consumer?
--value-deserializer
--message-format
--consumer-format
--key-serializer
What command line option is used with the Kafka console producer to specify the topic to which messages should be sent?
--message
--bootstrap-server
--partition
--topic
What does it mean for a Kafka message to be 'persisted'?
It is encrypted for security purposes
It is immediately deleted after being read
It is written to disk and stored durably
It is stored in memory for fast access
Which of the following describes Kafka's message delivery semantics?
Best-effort delivery with no guarantee of order.
Messages are delivered in a random order.
Guaranteed exactly-once delivery for all messages.
At-least-once delivery with potential for duplicates.
What is the default port used by Kafka brokers for client communication?
2181
29092
8080
9092
In Kafka's architecture, what is the role of a 'Broker'?
A network protocol used for communication in Kafka.
A server that stores and manages Kafka data.
A tool for analyzing data stored in Kafka.
A consumer of data from Kafka topics.