Free CCDAK Exam Braindumps (page: 18)

Page 18 of 38

To allow consumers in a group to resume at the previously committed offset, I need to set the proper value for...

  1. value.deserializer
  2. auto.offset.resets
  3. group.id
  4. enable.auto.commit

Answer(s): C

Explanation:

Setting a group.id that's consistent across restarts will allow your consumers part of the same group to resume reading from where offsets were last committed for that group



A Zookeeper ensemble contains 5 servers. What is the maximum number of servers that can go missing and the ensemble still run?

  1. 3
  2. 4
  3. 2
  4. 1

Answer(s): C

Explanation:

majority consists of 3 zk nodes for 5 nodes zk cluster, so 2 can fail



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. Add a new consumer to the group
  2. Use the kafka-consumer-group command to manually commit the offsets 2000 for the consumer group
  3. Restart the consumer
  4. Nothing

Answer(s): D

Explanation:

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



Your topic is log compacted and you are sending a message with the key K and value null. What will happen?

  1. The broker will delete all messages with the key K upon cleanup
  2. The producer will throw a Runtime exception
  3. The broker will delete the message with the key K and null value only upon cleanup
  4. The message will get ignored by the Kafka broker

Answer(s): A

Explanation:

Sending a message with the null value is called a tombstone in Kafka and will ensure the log
compacted topic does not contain any messages with the key K upon compaction



Page 18 of 38



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

Testbear commented on June 13, 2023
please upload
ITALY
upvote

Testbear commented on June 13, 2023
please upload
ITALY
upvote