What is a key advantage of Kafka's distributed architecture?
It ensures messages are always processed in real-time with minimal latency.
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 simplifies the deployment and management of Kafka clusters.
What is the role of a Kafka consumer?
Publish messages to topics
Manage the cluster and its configuration
Subscribe to and process messages from topics
Store message offsets
How do you start a Kafka broker after installation?
Kafka automatically starts with the operating system
Through a web interface provided by Kafka
By running the 'kafka-server-start.sh' script
By simply starting the ZooKeeper service
What is a key advantage of Kafka's 'publish-subscribe' model?
It guarantees real-time message delivery with no latency
It reduces the need for data transformation
It eliminates the need for message brokers
It allows multiple consumers to process the same data independently
In Kafka, what is a 'Topic' analogous to?
A single message
A category or stream of messages
A specific partition within a broker
A storage location on a hard drive
What command line tool is used to create a new topic in Kafka?
kafka-topics.sh
kafka-console-consumer.sh
zookeeper-shell.sh
kafka-console-producer.sh
Which of the following describes Kafka's message delivery semantics?
Messages are delivered in a random order.
At-least-once delivery with potential for duplicates.
Guaranteed exactly-once delivery for all messages.
Best-effort delivery with no guarantee of order.
What does the 'acks' configuration parameter control in a Kafka producer?
The level of message replication acknowledgment
The number of partitions in a topic
The size of the message buffer
The consumer group ID
Which of these is NOT a common use case for Kafka?
Real-time data analytics and monitoring.
Storing large files like images and videos.
Data pipelines for ingesting and processing data.
Building a message queue for asynchronous communication.
What is the primary function of a Kafka producer?
Reading messages from a topic
Storing messages persistently
Publishing messages to a topic
Managing user permissions