nerdexam
Confluent

CCDAK · Question #216

CCDAK Question #216: Real Exam Question with Answer & Explanation

Sign in or unlock CCDAK to reveal the answer and full explanation for question #216. The question stem and answer options stay visible for context.

Question

You are writing to a topic with producer config acks=all. The producer is receiving acknowledgements from the Kafka broker indicating that messages are being written to the Kafka topic. You notice duplicate messages and investigate. You discover that the producer acknowledgement timed out due to network delay and is resending messages assuming that they were not written to the Kafka topic. This is creating the duplicate messages. You need to ensure duplicate messages are not created. Which producer configuration should you set?

Options

  • Aenable.auto.commit=true
  • Benable.idempotence=true
  • Cenable.idempotence=true
  • Denable.idempotence=false

Unlock CCDAK to see the answer

You've previewed enough free CCDAK questions. Unlock CCDAK for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full CCDAK Practice