Free CCDAK Exam Braindumps

Pass your Confluent Certified Developer for Apache Kafka Certification Examination exam with these free Questions and Answers

Page 2 of 30
QUESTION 1

The exactly once guarantee in the Kafka Streams is for which flow of data?

  1. A. Kafka => Kafka
  2. B. Kafka => External
  3. C. External => Kafka

Correct Answer: A
Kafka Streams can only guarantee exactly once processing if you have a Kafka to Kafka topology.

QUESTION 2

How does a consumer commit offsets in Kafka?

  1. A. It directly sends a message to the consumer_offsets topic
  2. B. It interacts with the Group Coordinator broker
  3. C. It directly commits the offsets in Zookeeper

Correct Answer: B
Consumers do not directly write to the consumer_offsets topic, they instead interact with a broker that has been elected to manage that topic, which is the Group Coordinator broker

QUESTION 3

There are two consumers C1 and C2 belonging to the same group G subscribed to topics T1 and T2. Each of the topics has 3 partitions. How will the partitions be assigned to consumers with Partition Assigner being Round Robin Assigner?

  1. A. C1 will be assigned partitions 0 and 2 from T1 and partition 1 from T2. C2 will have partition 1 from T1 and partitions 0 and 2 from T2.
  2. B. Two consumers cannot read from two topics at the same time
  3. C. C1 will be assigned partitions 0 and 1 from T1 and T2, C2 will be assigned partition 2 from T1 and T2.
  4. D. All consumers will read from all partitions

Correct Answer: A
The correct option is the only one where the two consumers share an equal number of partitions amongst the two topics of three partitions. An interesting article to read ishttps://medium.com/@anyili0928/what-i-have-learned-from-kafka-partition-assignment- strategy-799fdf15d3ab

QUESTION 4

You want to sink data from a Kafka topic to S3 using Kafka Connect. There are 10 brokers in the cluster, the topic has 2 partitions with replication factor of 3. How many tasks will you configure for the S3 connector?

  1. A. 10
  2. B. 6
  3. C. 3
  4. D. 2

Correct Answer: D
You cannot have more sink tasks (= consumers) than the number of partitions, so 2.

QUESTION 5

What's is true about Kafka brokers and clients from version 0.10.2 onwards?

  1. A. Clients and brokers must have the exact same version to be able to communicate
  2. B. A newer client can talk to a newer broker, but an older client cannot talk to a newer broker
  3. C. A newer client can talk to a newer broker, and an older client can talk to a newer broker
  4. D. A newer client can't talk to a newer broker, but an older client can talk to a newer broker

Correct Answer: C
Kafka's new bidirectional client compatibility introduced in 0.10.2 allows this. Read more herehttps://www.confluent.io/blog/upgrading-apache-kafka-clients-just-got-easier/

Page 2 of 30

Post your Comments and Discuss Confluent CCDAK exam with other Community members: