Apache Kafka MCQs with answers Page - 29

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. In Kafka, 'compacted topics' are useful for:

  • (A) Storing historical logs
  • (B) Storing the latest state per key
  • (C) Compressing topic names
  • (D) Managing consumer groups

A

Admin • 833.24K Points
Coach

Q. Kafka guarantees message order in:

  • (A) The entire topic
  • (B) Each partition
  • (C) Across consumer groups
  • (D) Each broker

A

Admin • 833.24K Points
Coach

Q. Kafka MirrorMaker is mainly used for:

  • (A) Cloning consumer groups
  • (B) Sending data to databases
  • (C) Replicating Kafka clusters
  • (D) Generating synthetic traffic

A

Admin • 833.24K Points
Coach

Q. What is the effect of increasing the number of Kafka partitions?

  • (A) Reduces availability
  • (B) Improves parallelism and scalability
  • (C) Slows message delivery
  • (D) Reduces disk usage

A

Admin • 833.24K Points
Coach

Q. Kafka retention policy can be based on:

  • (A) Consumer speed
  • (B) Message value
  • (C) Time or size
  • (D) Producer group

A

Admin • 833.24K Points
Coach

Q. Which Kafka feature provides strong message delivery guarantees?

  • (A) Consumers with high polling rate
  • (B) Producers with retries=0
  • (C) Idempotent producers and transactions
  • (D) ZooKeeper acknowledgments

A

Admin • 833.24K Points
Coach

Q. Kafka offsets are stored by default in:

  • (A) ZooKeeper
  • (B) Kafka internal topic
  • (C) Consumer files
  • (D) Producer logs

A

Admin • 833.24K Points
Coach

Q. Kafka broker configuration file is named:

  • (A) broker.json
  • (B) server.xml
  • (C) server.properties
  • (D) broker-config.yaml

A

Admin • 833.24K Points
Coach

Q. Kafka Connect uses which type of connectors?

  • (A) Data wires
  • (B) Input/output streams
  • (C) Source and Sink connectors
  • (D) Client-server bridges

A

Admin • 833.24K Points
Coach

Q. What is a partition in Kafka?

  • (A) A backup of data
  • (B) A subset of a topic
  • (C) A type of consumer
  • (D) A cluster node

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