Which Kafka admin command is used to create a new topic?
kafka-configs.sh --alter
kafka-topics.sh --create
kafka-console-producer.sh --create
kafka-topics.sh --describe
What is the purpose of the auto.create.topics.enable configuration in Kafka?
auto.create.topics.enable
Allows dynamic adjustment of the replication factor for existing topics.
Configures automatic data balancing across partitions within a topic.
Automatically creates topics if they don't exist when producers or consumers try to access them.
Enables automatic topic deletion after a specified retention period.
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 using message timestamps
By storing the last consumed message offset
Which Kafka CLI tool is used to produce messages to a Kafka topic?
kafka-console-consumer.sh
kafka-topics.sh
kafka-configs.sh
kafka-console-producer.sh
Which command would you use to list all existing topics in a Kafka cluster?
kafka-configs.sh --list
kafka-topics.sh --list
kafka-console-consumer.sh --list
What is a key advantage of Kafka's distributed architecture?
It ensures messages are always processed in real-time with minimal latency.
It simplifies the deployment and management of Kafka clusters.
It provides fault tolerance and scalability by replicating data across multiple brokers.
It limits the amount of data Kafka can handle, making it more manageable.
Which configuration parameter determines the number of partitions a topic will have?
replication.factor
num.partitions
partition.count
topic.partitions
What is the fundamental unit of data organization in Kafka?
Topic
Broker
Message
Partition
What is the primary mechanism for achieving fault tolerance in Kafka?
Message acknowledgments
Use of a distributed commit log
Message queueing
Data replication across partitions
What command line option for kafka-topics.sh is used to specify the replication factor for a new topic?
--partitions
--replication-factor
--zookeeper
--topic