21.) Kafka guarantees message order in which of the following?
A) Across the topic
B) Within a consumer group
C) Across partitions
D) Within a partition
22.) Kafka provides data durability through:
A) Cloud sync
B) Disk writes and replication
C) Memory cache
D) Zookeeper
23.) What is the default serialization format used in Kafka Java clients?
A) XML
B) String
C) Avro
D) JSON
24.) Which of the following statements is true about Kafka?
A) Kafka only supports one producer per topic
B) Kafka does not support data retention
C) Kafka can only run on Windows
D) Kafka is fault-tolerant and scalable
25.) Kafka messages are persisted:
A) In memory
B) In log files on disk
C) In Zookeeper
D) In a database
26.) In Kafka, a Partition is:
A) A way to divide a topic into smaller parts
B) A consumer group
C) A protocol
D) An access token
27.) What is a Consumer Group in Kafka?
A) A set of producers
B) A set of consumers that work independently
C) A set of consumers sharing the same group id to coordinate consumption
D) A set of Zookeeper nodes
28.) Kafka is written in which programming language?
A) Python
B) Java and Scala
C) Go
D) JavaScript
29.) Kafka follows which messaging guarantee?
A) At-most-once
B) At-least-once
C) Exactly-once (with config)
D) All of the above
30.) Kafka can be best described as:
A) A NoSQL database
B) A stream processing engine
C) A file-based batch system
D) A distributed messaging system
Related