02. Sample Questions

Sample Questions

1. Kafka isโ€ฆ(Choose one)

A. Pub-Sub Messaging System

B. Message Queue

C. Enterprise Service Bus

D. Web Application Server

chevron-right๋‹ตhashtag

A

2.Changing a configuration parameter on a Kafka broker will: :

(Choose one)

A. Be ignored if the default value is greater

B. Override any corresponding topic configuration settings

C. Always require a restart of the Kafka JVM

D. Be overridden by corresponding topic configuration settings

chevron-right๋‹ตhashtag

D

3. How many controllers is in a Kafka Cluster?(Choose one)

A. One

B. Two

C. Three

D. Four

chevron-right๋‹ตhashtag

A

4. There is a Kafka Cluster which consist of 3 Brokers and a topic

which has 2 partitions with replications factor 3, min.insync.replicas 2. A Producer send messages to the topic. When a Broker fails, what will be happened?(Choose one)

A. The producer can not send messages to the topic B. The producer can send messages to the topic C. Consumer rebalance will be triggered D. All broker will be stopped

chevron-right๋‹ตhashtag

B

5. Select Kafka Streams stateless operations (Choose two)

A. GroupBy

B. Count

C. Join

D. Filter

E. Aggregate

chevron-right๋‹ตhashtag

A, D stateful operation : Count, Join, Aggregate

6. Which broker will handle all input for partition 0 of topic โ€œsensorโ€. (Choose one)

A. 101

B. 102

C. 103

chevron-right๋‹ตhashtag

A

7. In what language is Kafka mainly written?

A. Java and Scala

B. Python

C. C

D. .Net

chevron-right๋‹ตhashtag

A

8.On consumer rebalance, partition assignment to the Consumer

Group members is executed by which Consumer Group entity? (Choose One)

A. Group Partitioner

B. Group Coordinator

C. Group Controller

D. Group Leader

chevron-right๋‹ตhashtag

B ์ฃผ์˜ : ๊ณ„์‚ฐ์€ D ๊ฐ€ ํ•œ๋‹ค.

9.When a consumer is committed on a partition, which of the

following will be advanced? (Choose one)

A. Partition Log Offset

B. Log End Offset

C. High Water Mark

D. Consumerโ€™s Current Offset

chevron-right๋‹ตhashtag

D

10.You want to guarantee messages are produced to Kafka at least once. What would you do to implement this? (choose one)

A. Set acks=ALL

B. Set acks=0

C. Set acks=1

chevron-right๋‹ตhashtag

A

at most once = B, C

Last updated