Free CCDAK Exam Braindumps (page: 8)

Page 8 of 38

A consumer starts and has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group has committed the offset 643 for the topic before. Where will the consumer read from?

  1. it will crash
  2. offset 2311
  3. offset 643
  4. offset 45

Answer(s): C

Explanation:

The offsets are already committed for this consumer group and topic partition, so the property auto.offset.reset is ignored



A Zookeeper ensemble contains 3 servers. Over which ports the members of the ensemble should be able to communicate in default configuration? (Select three)

  1. 2181
  2. 3888
  3. 443
  4. 2888
  5. 9092
  6. 80

Answer(s): A,B,D

Explanation:

2181 - client port, 2888 - peer port, 3888 - leader port



To get acknowledgement of writes to only the leader partition, we need to use the config...

  1. acks=1
  2. acks=0
  3. acks=all

Answer(s): A

Explanation:

Producers can set acks=1 to get acknowledgement from partition leader only.



How will you find out all the partitions where one or more of the replicas for the partition are not in- sync with the leader?

  1. kafka-topics.sh --bootstrap-server localhost:9092 --describe --unavailable- partitions
  2. kafka-topics.sh --zookeeper localhost:2181 --describe --unavailable- partitions
  3. kafka-topics.sh --broker-list localhost:9092 --describe --under-replicated-partitions
  4. kafka-topics.sh --zookeeper localhost:2181 --describe --under-replicated-partitions

Answer(s): D



Page 8 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