Apache Kafka MCQs with answers Page - 11

Here, you will find a collection of MCQ questions on Apache Kafka. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. Kafka's high throughput is enabled primarily by:

  • (A) In-memory storage
  • (B) Zero copy technology
  • (C) Batch processing
  • (D) Disk defragmentation

A

Admin • 833.24K Points
Coach

Q. Kafka messages are identified by:

  • (A) Timestamp
  • (B) Offset
  • (C) Broker ID
  • (D) Key

A

Admin • 833.24K Points
Coach

Q. Which configuration ensures a Kafka producer retries failed sends?

  • (A) retries
  • (B) linger.ms
  • (C) batch.size
  • (D) timeout.ms

A

Admin • 833.24K Points
Coach

Q. Kafka retains logs even if:

  • (A) Consumer reads them
  • (B) Broker is stopped
  • (C) No producers are connected
  • (D) All options are correct

A

Admin • 833.24K Points
Coach

Q. Kafka consumers pull data from:

  • (A) Producer
  • (B) ZooKeeper
  • (C) Broker
  • (D) Kafka Connect

A

Admin • 833.24K Points
Coach

Q. In Kafka, producers can send messages to a specific partition using:

  • (A) Broker ID
  • (B) Message key
  • (C) Consumer group ID
  • (D) Offset

A

Admin • 833.24K Points
Coach

Q. Kafka topics are divided into:

  • (A) Offsets
  • (B) Streams
  • (C) Partitions
  • (D) Segments

A

Admin • 833.24K Points
Coach

Q. The command to list topics in Kafka is:

  • (A) kafka-list-topics.sh
  • (B) kafka-topics.sh --list
  • (C) kafka-show.sh
  • (D) kafka-get-topics.sh

A

Admin • 833.24K Points
Coach

Q. Kafka consumers belong to:

  • (A) Consumer zones
  • (B) Consumer topics
  • (C) Consumer groups
  • (D) Partitions

A

Admin • 833.24K Points
Coach

Q. Kafka messages are stored on disk as:

  • (A) Avro files
  • (B) Structured database records
  • (C) Log segments
  • (D) Message queues

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ