Apache Kafka MCQs with answers Page - 2

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. Which of the following ensures coordination between Kafka brokers?

  • (A) Apache Flink
  • (B) Apache Storm
  • (C) ZooKeeper
  • (D) Kafka Connect

A

Admin • 833.24K Points
Coach

Q. What does a Kafka producer do?

  • (A) Reads data from topics
  • (B) Writes data to topics
  • (C) Deletes old topics
  • (D) Manages consumer offsets

A

Admin • 833.24K Points
Coach

Q. Which setting determines the durability of a Kafka message?

  • (A) acks
  • (B) retries
  • (C) compression.type
  • (D) linger.ms

A

Admin • 833.24K Points
Coach

Q. Which delivery semantics is NOT supported by Kafka?

  • (A) At most once
  • (B) At least once
  • (C) Exactly once
  • (D) Never once

A

Admin • 833.24K Points
Coach

Q. What is the default Kafka message retention policy?

  • (A) Delete after 24 hours
  • (B) Keep forever
  • (C) Delete after 7 days
  • (D) Delete after 1 hour

A

Admin • 833.24K Points
Coach

Q. Which Kafka component helps to transform and move data between systems?

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

A

Admin • 833.24K Points
Coach

Q. Which of the following is a stream processing library for Kafka?

  • (A) Kafka Streams
  • (B) Kafka Connect
  • (C) Kafka Broker
  • (D) Kafka Manager

A

Admin • 833.24K Points
Coach

Q. What is the function of the Kafka retention policy?

  • (A) To limit the number of producers
  • (B) To delete old messages after a time or size limit
  • (C) To restart brokers automatically
  • (D) To increase consumer speed

A

Admin • 833.24K Points
Coach

Q. Which Kafka component enables building distributed stream processing applications?

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

A

Admin • 833.24K Points
Coach

Q. What happens to messages in Kafka if no consumer reads them?

  • (A) They are deleted immediately
  • (B) They are stored until the retention period expires
  • (C) They are sent back to the producer
  • (D) They are stored permanently

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