Apache Kafka Quiz

Apache Kafka Quiz

Assessment

Quiz

Science

Professional Development

Hard

Created by

Aritri Chakraborty

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of Apache Kafka?

Real-time data processing

Data storage

Data visualization

Data encryption

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a topic in Kafka?

kafka-create-topic.sh

kafka-topics.sh

kafka-create.sh

kafka-init.sh

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'broker.id' property define in Kafka?

The maximum message size

The unique identifier for each broker

The log retention period

The number of partitions

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a configuration parameter for a Kafka producer?

metadata.broker.list

request.timeout.ms

log.retention.hours

compression.codec

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default replication factor for automatically created topics in Kafka?

4

3

2

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to consume messages from a Kafka topic?

kafka-console-producer.sh

kafka-console-consumer.sh

kafka-message-consumer.sh

kafka-topic-consumer.sh

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of ZooKeeper in Kafka?

Data storage

Cluster management

Message processing

Data encryption

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?