What command line option is used with the Kafka console producer to specify the topic to which messages should be sent?
--bootstrap-server
--message
--partition
--topic
What does a message value in Kafka typically contain?
The message's unique identifier
Information for routing the message
The actual data or payload being transmitted
Metadata about the message
What is the purpose of a message key in Kafka?
Ensure message ordering within a topic
Store the message's timestamp
Uniquely identify a message within a partition
Determine the message's partition assignment
Which configuration file is used to set up Kafka brokers?
server.properties
zookeeper.properties
kafka.properties
broker.config
How do you specify the message format (e.g., JSON, Avro) when consuming messages with the Kafka console consumer?
--value-deserializer
--message-format
--key-serializer
--consumer-format
What is a message offset in Kafka?
A unique identifier assigned to each message
A sequential number representing a message's position within a partition
A timestamp indicating when the message was produced
A key-value pair associated with a message for filtering
Which configuration parameter controls the data retention period for messages in a topic?
data.expiration
retention.ms
message.ttl
log.retention.hours
Which of the following describes Kafka's message delivery semantics?
At-least-once delivery with potential for duplicates.
Messages are delivered in a random order.
Best-effort delivery with no guarantee of order.
Guaranteed exactly-once delivery for all messages.
What is the role of the zookeeper.connect property in Kafka configuration?
zookeeper.connect
Configures the replication factor for topics.
Defines the compression codec for messages.
Sets the data retention period for messages.
Specifies the ZooKeeper quorum for Kafka to connect to.
Which of these is NOT a common use case for Kafka?
Data pipelines for ingesting and processing data.
Building a message queue for asynchronous communication.
Storing large files like images and videos.
Real-time data analytics and monitoring.