Kafka MCQs – Kafka Integration with Tools

21.) Kafka Connect internal topics are stored in:

A) HDFS
B) MySQL
C) Kafka itself
D) ZooKeeper

Answer: Option C

Explanation: Kafka Connect stores offset, status, and config data in Kafka internal topics.

22.) Which connector would you use to read data from MongoDB and push it into Kafka?

A) MongoDB Sink Connector
B) MongoDB Source Connector
C) JDBC Connector
D) Avro Source Connector

Answer: Option B

Explanation: This connector streams data from MongoDB to Kafka.

23.) What is the function of Kafka’s integration with Apache Hive?

A) Stream-to-table conversion
B) Store Kafka topics in Hive tables
C) Run DDL on Kafka
D) Manage broker logs

Answer: Option B

Explanation: Kafka can feed real-time data into Hive for querying using Hive tables.

24.) Kafka Streams supports which types of joins?

A) Stream-Stream
B) Stream-Table
C) Table-Table
D) All of the above

Answer: Option D

Explanation: Kafka Streams supports all common join types for stream and table data.

Leave a Reply

Your email address will not be published. Required fields are marked *