Free CCDAK Exam Braindumps
Confluent Certified Developer for Apache Kafka Certification Examination Questions 51–55 (page: 12)

Updated On: 10-Feb-2026

How will you find out all the partitions without a leader?

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

Answer(s): C

Explanation:

Please note that as of Kafka 2.2, the --zookeeper option is deprecated and you can now usekafka-topics.sh --bootstrap-server localhost:9092 --describe --unavailable-partitions



Which actions will trigger partition rebalance for a consumer group? (Select three)

  1. Increase partitions of a topic
  2. Remove a broker from the cluster
  3. Add a new consumer to consumer group
  4. A consumer in a consumer group shuts down Add a broker to the cluster

Answer(s): A,C,D

Explanation:

Rebalance occurs when a new consumer is added, removed or consumer dies or paritions increased.



Kafka is configured with following parameters - log.retention.hours = 168 log.retention.minutes = 168 log.retention.ms = 168 How long will the messages be retained for?

  1. Broker will not start due to bad configuration
  2. 168 ms
  3. 168 hours
  4. 168 minutes

Answer(s): B

Explanation:

If more than one similar config is specified, the smaller unit size will take precedence.



To read data from a topic, the following configuration is needed for the consumers

  1. all brokers of the cluster, and the topic name
  2. any broker to connect to, and the topic name
  3. the list of brokers that have the data, the topic name and the partitions list
  4. any broker, and the list of topic partitions

Answer(s): B

Explanation:

All brokers can respond to Metadata request, so a client can connect to any broker in the cluster.



How does a consumer commit offsets in Kafka?

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

Answer(s): B

Explanation:

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



Viewing page 12 of 31
Viewing questions 56 - 60 out of 150 questions


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

AI Tutor AI Tutor 👋 I’m here to help!