What is a 'Partition' in the context of Kafka topics?
A configuration setting that determines message retention time.
A security mechanism to control access to specific topics.
A logical grouping of messages within a topic for parallel processing.
A separate copy of the entire topic data for redundancy.
Which component in Kafka is responsible for publishing messages to topics?
ZooKeeper
Producer
Broker
Consumer
What does it mean for a Kafka message to be 'persisted'?
It is written to disk and stored durably
It is immediately deleted after being read
It is encrypted for security purposes
It is stored in memory for fast access
Which command line tool is used to consume messages from a Kafka topic?
kafka-console-producer.sh
kafka-topics.sh
zookeeper-shell.sh
kafka-console-consumer.sh
How are messages within a Kafka topic organized?
Sorted by message key
Divided into ordered, immutable sequences called partitions
Grouped by consumer group
Randomly distributed
In Kafka, what is a 'Topic' analogous to?
A specific partition within a broker
A category or stream of messages
A single message
A storage location on a hard drive
What is the fundamental unit of data organization in Kafka?
Partition
Message
Topic
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.
Specifies the ZooKeeper quorum for Kafka to connect to.
Sets the data retention period for messages.
Which of these is NOT a common use case for Kafka?
Building a message queue for asynchronous communication.
Real-time data analytics and monitoring.
Data pipelines for ingesting and processing data.
Storing large files like images and videos.
Which configuration file is used to set up Kafka brokers?
server.properties
broker.config
kafka.properties
zookeeper.properties