nerdexam
Confluent

CCDAK · Question #195

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

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

Question

You are writing a producer application and need to ensure proper delivery. You configure the producer with acks level to all. Which two actions should you take to ensure proper error handling? (Choose two.)

Options

  • AUse a callback argument in 'producer.send()' where you check delivery status.
  • BCheck that 'producer.send()' retumed a 'RecordMetadata' object and is not null.
  • CSurround the call of 'producer.send()' with a try/catch block to catch 'KafkaException'.
  • DCheck the value of 'ProducerRecord status()'

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