wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Confluent

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

What is a Confluent Kafka?

a)

A programming language

b)

A hardware device

c)

A commercial platform based on Apache Kafka

d)

A database engine

2.

How many Confluent kafka brokers are there in the bank?

a)

3

b)

4

c)

5

d)

6

3.

What is the primary role of a Kafka consumer?

a)

To publish messages to Kafka topics

b)

To delete messages from Kafka

c)

To read messages from Kafka topics

d)

To manage Kafka brokers

4.

What is a Kafka consumer group?

a)

A set of Kafka topics

b)

A set of producers sending data

c)

A set of consumers sharing the work of consuming records

d)

A group of brokers handling replication

5.

What happens if two consumers with the same group ID subscribe to the same topic?

a)

They get the same messages

b)

They both get all messages

c)

The topic is deleted

d)

They split the partitions and consume in parallel

6.

How does Kafka know which messages a consumer has read?

a)

Through ZooKeeper logs

b)

Through partition reassignment

c)

Through consumer offsets

d)

Through broker memory

7.

What does auto.offset.reset = earliest mean?

a)

Start from the end of the topic

b)

Start reading from where the last consumer stopped

c)

Start from the beginning if no offset is found

d)

Skip all messages

8.

What is the effect of setting enable.auto.commit = false?

a)

Consumer will commit offset to a file

b)

Consumer will manually control offset commits

c)

Kafka will commit offsets automatically

d)

Consumer cannot read any data

9.

What is the default partition assignment strategy in Kafka?

a)

Round Robin Assignment

b)

Sticky Assignment

c)

Range Assignment

d)

Hash Assignment

10.

What does the poll() method do in a Kafka consumer?

a)

Sends messages to a Kafka topic

b)

Reads records from Kafka topics

c)

Commits offsets to Kafka

d)

Deletes messages from a topic