wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Confluent Hub 4

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

What is Confluent Kafka primarily used for?

a)

Image processing

b)

Real-time data streaming

c)

File storage

d)

Web hosting

2.

What does a Kafka Producer do?

a)

Reads messages from a topic

b)

Deletes old messages

c)

Writes messages to a topic

d)

Balances partitions

3.

What is the role of a Kafka Consumer?

a)

Writes data to topics

b)

Reads data from topics

c)

Creates partitions

d)

Manages brokers

4.

What is a Kafka Broker?

a)

A consumer group leader

b)

A server that stores topic data

c)

A producer that sends messages

d)

A partitioning algorithm

5.

How many Confluent Kafka brokers do we have in our bank?

a)

1

b)

3

c)

6

d)

9

6.

In Kafka, what does acks=all mean for a producer?

a)

No acknowledgments are needed

b)

Only the leader must acknowledge

c)

All in-sync replicas must acknowledge

d)

The consumer must acknowledge

7.

What does the batch.size parameter control in a Kafka Producer?

a)

The maximum size of a topic

b)

The maximum number of records per partition

c)

The maximum amount of data (in bytes) that can be batched before sending to a broker

d)

The number of retries before failure

8.

What does the linger.ms parameter do?

a)

The delay before retrying a failed request

b)

The delay before sending a batch, allowing more records to accumulate

c)

The maximum time a consumer waits for data

d)

The time Kafka keeps messages before deletion

9.

If enable.auto.commit is set to false, what must the application do?

a)

Restart the consumer after each poll

b)

Manually commit offsets in code

c)

Set auto.offset.reset=latest

d)

Increase batch.size

10.

Which partition assignment strategy does a Kafka consumer use by default?

a)

Round Robin Assignment

b)

Range Assignment

c)

Sticky Assignor

d)

Hash Partitioning

11.

What does auto.offset.reset=earliest mean?

a)

Start reading from the latest messages only

b)

Start reading from the beginning of the partition if no valid offset is found

c)

Discard all records and start fresh

d)

Throw an error if no offset exists

12.

How can a bank use Confluent Kafka effectively?

a)

To stream real-time credit card transactions for fraud detection

b)

To store scanned copies of customer IDs in PDF format

c)

To send monthly account statements via email

d)

To keep historical loan records in cold storage