Apache Kafka MCQs with answers Page - 31

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. What is ISR in Kafka?

  • (A) In Sync Replicas
  • (B) Internal Server Request
  • (C) Indexed Storage Record
  • (D) Input Stream Reader

A

Admin • 833.24K Points
Coach

Q. Who manages partition leadership in Kafka?

  • (A) Producer
  • (B) Consumer
  • (C) Controller broker
  • (D) ZooKeeper only

A

Admin • 833.24K Points
Coach

Q. What is log compaction in Kafka?

  • (A) Deleting all logs
  • (B) Keeping only latest record per key
  • (C) Compressing logs
  • (D) Encrypting logs

A

Admin • 833.24K Points
Coach

Q. Which delivery guarantee does Kafka provide by default?

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

A

Admin • 833.24K Points
Coach

Q. What does ACKS=all ensure?

  • (A) No acknowledgment
  • (B) Only leader acknowledgment
  • (C) All replicas acknowledge
  • (D) Only consumer acknowledgment

A

Admin • 833.24K Points
Coach

Q. What is a Kafka producer partitioning strategy?

  • (A) How consumers read data
  • (B) How messages are assigned to partitions
  • (C) How brokers store data
  • (D) How replication works

A

Admin • 833.24K Points
Coach

Q. What is idempotent producer in Kafka?

  • (A) Produces duplicate messages
  • (B) Avoids duplicate messages
  • (C) Consumes messages
  • (D) Deletes messages

A

Admin • 833.24K Points
Coach

Q. What is Kafka retention policy based on?

  • (A) Time or size
  • (B) Number of consumers
  • (C) Broker memory
  • (D) Network speed

A

Admin • 833.24K Points
Coach

Q. What is a Kafka record key used for?

  • (A) Encrypt data
  • (B) Determine partition
  • (C) Delete message
  • (D) Compress message

A

Admin • 833.24K Points
Coach

Q. What happens if no key is provided?

  • (A) Error occurs
  • (B) Message is dropped
  • (C) Round-robin partitioning is used
  • (D) Stored in single partition

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