Free CCDAK Exam Braindumps

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

Page 7 of 30
QUESTION 26

A consumer sends a request to commit offset 2000. There is a temporary communication problem, so the broker never gets the request and therefore never responds. Meanwhile, the consumer processed another batch and successfully committed offset 3000. What should you do?

  1. A. Add a new consumer to the group
  2. B. Use the kafka-consumer-group command to manually commit the offsets 2000 for the consumer group
  3. C. Restart the consumer
  4. D. Nothing

Correct Answer: D
In this case, because the offset 3000 has been committed and all the messages between 0 and 3000 have all been processed, it is okay not to have committed offset 2000. The right answer is to do "nothing", this behaviour is acceptable

QUESTION 27

You have a Kafka cluster and all the topics have a replication factor of 3. One intern at your company stopped a broker, and accidentally deleted all the data of that broker on the disk. What will happen if the broker is restarted?

  1. A. The broker will start, and other topics will also be deleted as the broker data on the disk got deleted
  2. B. The broker will start, and won't be online until all the data it needs to have is replicated from other leaders
  3. C. The broker will crash
  4. D. The broker will start, and won't have any dat
  5. E. If the broker comes leader, we have a data loss

Correct Answer: B
Kafka replication mechanism makes it resilient to the scenarios where the broker lose data on disk, but can recover from replicating from other brokers. This makes Kafka amazing!

QUESTION 28

Partition leader election is done by

  1. A. The consumers
  2. B. The Kafka Broker that is the Controller
  3. C. Zookeeper
  4. D. Vote amongst the brokers

Correct Answer: C
The Controller is a broker that is responsible for electing partition leaders

QUESTION 29

Which is an optional field in an Avro record?

  1. A. doc
  2. B. name
  3. C. namespace
  4. D. fields

Correct Answer: A
doc represents optional description of message

QUESTION 30

You are using JDBC source connector to copy data from 3 tables to three Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?

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

Correct Answer: A
here, we have three tables, but the max.tasks is 2, so that's the maximum number of tasks that will be created

Page 7 of 30

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