Which of the following describes Kafka's message delivery semantics?
At-least-once delivery with potential for duplicates.
Best-effort delivery with no guarantee of order.
Messages are delivered in a random order.
Guaranteed exactly-once delivery for all messages.
Which of these is NOT a common use case for Kafka?
Building a message queue for asynchronous communication.
Data pipelines for ingesting and processing data.
Real-time data analytics and monitoring.
Storing large files like images and videos.
What is the role of the zookeeper.connect property in Kafka configuration?
zookeeper.connect
Configures the replication factor for topics.
Sets the data retention period for messages.
Specifies the ZooKeeper quorum for Kafka to connect to.
Defines the compression codec for messages.
Which configuration parameter determines the number of partitions a topic will have?
num.partitions
topic.partitions
partition.count
replication.factor
What does the 'acks' configuration parameter control in a Kafka producer?
The number of partitions in a topic
The consumer group ID
The size of the message buffer
The level of message replication acknowledgment
Which command would you use to list all existing topics in a Kafka cluster?
kafka-configs.sh --list
kafka-console-consumer.sh --list
kafka-topics.sh --list
kafka-topics.sh --describe
What is a key advantage of Kafka's 'publish-subscribe' model?
It eliminates the need for message brokers
It reduces the need for data transformation
It allows multiple consumers to process the same data independently
It guarantees real-time message delivery with no latency
What is the fundamental unit of data organization in Kafka?
Partition
Message
Topic
Broker
How are messages within a Kafka topic further divided for scalability and parallelism?
Clusters
Partitions
Segments
Offsets
What is a message offset in Kafka?
A timestamp indicating when the message was produced
A unique identifier assigned to each message
A sequential number representing a message's position within a partition
A key-value pair associated with a message for filtering