Which of these is NOT a common use case for Kafka?
Data pipelines for ingesting and processing data.
Real-time data analytics and monitoring.
Storing large files like images and videos.
Building a message queue for asynchronous communication.
How does a Kafka consumer typically keep track of its position within a partition?
By querying the Kafka broker for its current position
By relying on the producer's message ordering
By storing the last consumed message offset
By using message timestamps
What is a 'Partition' in the context of Kafka topics?
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.
A logical grouping of messages within a topic for parallel processing.
What does the 'acks' configuration parameter control in a Kafka producer?
The number of partitions in a topic
The size of the message buffer
The consumer group ID
The level of message replication acknowledgment
In Kafka, what is a 'Topic' analogous to?
A single message
A specific partition within a broker
A category or stream of messages
A storage location on a hard drive
What is a key advantage of Kafka's distributed architecture?
It simplifies the deployment and management of Kafka clusters.
It limits the amount of data Kafka can handle, making it more manageable.
It provides fault tolerance and scalability by replicating data across multiple brokers.
It ensures messages are always processed in real-time with minimal latency.
What does it mean for a Kafka message to be 'persisted'?
It is immediately deleted after being read
It is stored in memory for fast access
It is written to disk and stored durably
It is encrypted for security purposes
What is the purpose of a message key in Kafka?
Uniquely identify a message within a partition
Determine the message's partition assignment
Store the message's timestamp
Ensure message ordering within a topic
What command line option for kafka-topics.sh is used to specify the replication factor for a new topic?
kafka-topics.sh
--topic
--partitions
--zookeeper
--replication-factor
Which configuration file is used to set up Kafka brokers?
zookeeper.properties
kafka.properties
server.properties
broker.config