Which configuration parameter determines the number of partitions a topic will have?
topic.partitions
num.partitions
replication.factor
partition.count
How do you start a Kafka broker after installation?
Kafka automatically starts with the operating system
Through a web interface provided by Kafka
By simply starting the ZooKeeper service
By running the 'kafka-server-start.sh' script
What does a message value in Kafka typically contain?
Information for routing the message
The message's unique identifier
The actual data or payload being transmitted
Metadata about the message
How are messages within a Kafka topic further divided for scalability and parallelism?
Offsets
Clusters
Segments
Partitions
What does it mean for a Kafka message to be 'persisted'?
It is stored in memory for fast access
It is written to disk and stored durably
It is immediately deleted after being read
It is encrypted for security purposes
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.
How are messages within a Kafka topic organized?
Grouped by consumer group
Randomly distributed
Sorted by message key
Divided into ordered, immutable sequences called partitions
What is a 'Partition' in the context of Kafka topics?
A logical grouping of messages within a topic for parallel processing.
A separate copy of the entire topic data for redundancy.
A security mechanism to control access to specific topics.
A configuration setting that determines message retention time.
Where is the Kafka data directory configured?
It's configured automatically based on the operating system.
In the topic.properties file, using the data.dir property.
topic.properties
data.dir
In the ZooKeeper configuration, using the kafka.data.path property.
kafka.data.path
In the server.properties file, using the log.dirs property.
server.properties
log.dirs
How does a Kafka consumer typically keep track of its position within a partition?
By storing the last consumed message offset
By relying on the producer's message ordering
By querying the Kafka broker for its current position
By using message timestamps