Which Kafka admin command is used to create a new topic?
kafka-console-producer.sh --create
kafka-configs.sh --alter
kafka-topics.sh --create
kafka-topics.sh --describe
What is a 'Partition' in the context of Kafka topics?
A security mechanism to control access to specific topics.
A configuration setting that determines message retention time.
A logical grouping of messages within a topic for parallel processing.
A separate copy of the entire topic data for redundancy.
How are messages within a Kafka topic organized?
Sorted by message key
Randomly distributed
Divided into ordered, immutable sequences called partitions
Grouped by consumer group
To view the configuration details of a specific topic, which command would you use?
kafka-console-consumer.sh --describe --topic <topic-name>
kafka-configs.sh --describe --topic <topic-name>
kafka-topics.sh --describe --topic <topic-name>
kafka-topics.sh --list --topic <topic-name>
Which configuration parameter controls the data retention period for messages in a topic?
message.ttl
log.retention.hours
retention.ms
data.expiration
What is the role of a Kafka consumer?
Subscribe to and process messages from topics
Publish messages to topics
Manage the cluster and its configuration
Store message offsets
What command line tool is used to create a new topic in Kafka?
kafka-topics.sh
kafka-console-producer.sh
kafka-console-consumer.sh
zookeeper-shell.sh
Which configuration file is used to set up Kafka brokers?
server.properties
kafka.properties
zookeeper.properties
broker.config
Which of these is NOT a common use case for Kafka?
Real-time data analytics and monitoring.
Storing large files like images and videos.
Building a message queue for asynchronous communication.
Data pipelines for ingesting and processing data.
What is a key advantage of Kafka's 'publish-subscribe' model?
It reduces the need for data transformation
It guarantees real-time message delivery with no latency
It allows multiple consumers to process the same data independently
It eliminates the need for message brokers