NEW
Font size
WorksheetsConfluent
Total questions: 10
Worksheet time: 3mins
What is a Confluent Kafka?
A programming language
A hardware device
A commercial platform based on Apache Kafka
A database engine
How many Confluent kafka brokers are there in the bank?
3
4
5
6
What is the primary role of a Kafka consumer?
To publish messages to Kafka topics
To delete messages from Kafka
To read messages from Kafka topics
To manage Kafka brokers
What is a Kafka consumer group?
A set of Kafka topics
A set of producers sending data
A set of consumers sharing the work of consuming records
A group of brokers handling replication
What happens if two consumers with the same group ID subscribe to the same topic?
They get the same messages
They both get all messages
The topic is deleted
They split the partitions and consume in parallel
How does Kafka know which messages a consumer has read?
Through ZooKeeper logs
Through partition reassignment
Through consumer offsets
Through broker memory
What does auto.offset.reset = earliest mean?
Start from the end of the topic
Start reading from where the last consumer stopped
Start from the beginning if no offset is found
Skip all messages
What is the effect of setting enable.auto.commit = false?
Consumer will commit offset to a file
Consumer will manually control offset commits
Kafka will commit offsets automatically
Consumer cannot read any data
What is the default partition assignment strategy in Kafka?
Round Robin Assignment
Sticky Assignment
Range Assignment
Hash Assignment
What does the poll() method do in a Kafka consumer?
Sends messages to a Kafka topic
Reads records from Kafka topics
Commits offsets to Kafka
Deletes messages from a topic
