CCDAK Practice Test & Exam Dumps
Confluent Certified Developer for Apache Kafka Certification Examination Questions 71–75 (page: 16)

Updated On: 10-Feb-2026

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



How often is log compaction evaluated?

  1. Every time a new partition is created
  2. Every time a segment is closed
  3. Every time a message is sent to Kafka
  4. Every time a message is flushed to disk

Answer(s): B

Explanation:

Log compaction is evaluated every time a segment is closed. It will be triggered if enough data is "dirty" (see dirty ratio config)



A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is able to connect to Kafka but unable to produce to the same Kafka topic because of an authorization issue.

What is the likely issue?

  1. Broker configuration needs to be changed to allow a different producer
  2. You cannot copy a producer application from one machine to another
  3. The Kafka ACL does not allow another machine IP
  4. The Kafka Broker needs to be rebooted

Answer(s): C

Explanation:

ACLs take "Host" as a parameter, which represents an IP. It can be * (all IP), or a specific IP. Here, it's a specific IP as moving a producer to a different machine breaks the consumer, so the ACL needs to be updated



A producer just sent a message to the leader broker for a topic partition. The producer used acks=1 and therefore the data has not yet been replicated to followers. Under which conditions will the consumer see the message?

  1. Right away
  2. When the message has been fully replicated to all replicas
  3. Never, the produce request will fail
  4. When the high watermark has advanced

Answer(s): D

Explanation:

The high watermark is an advanced Kafka concept, and is advanced once all the ISR replicates the latest offsets. A consumer can only read up to the value of the High Watermark (which can be less than the highest offset, in the case of acks=1)



Viewing page 16 of 31
Viewing questions 1 - 0 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!