Pre-Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Confluent CCDAK - Confluent Certified Developer for Apache Kafka Certification Examination

Page: 3 / 3
Total 90 questions

(You have a Kafka consumer in production actively reading from a critical topic from which multiple other applications are consuming.

You have a new requirement to update the offset of your consumer to start reading from the beginning of the topic.

Which action would you take?)

A.

Update the consumer group’s offset to the earliest position using the kafka-consumer-groups CLI tool.

B.

Temporarily configure the topic’s retention.ms parameter to 0 to empty the topic.

C.

Start a new consumer application with the same consumer group id.

D.

Update the consumer configuration by setting the auto.offset.reset property to earliest.

You are writing a producer application and need to ensure proper delivery. You configure the producer with acks=all.

Which two actions should you take to ensure proper error handling?

(Select two.)

A.

Use a callback argument in producer.send() where you check delivery status.

B.

Check that producer.send() returned a RecordMetadata object and is not null.

C.

Surround the call of producer.send() with a try/catch block to catch KafkaException.

D.

Check the value of ProducerRecord.status().

(A consumer application runs once every two weeks and reads from a Kafka topic.

The last time the application ran, the last offset processed was 217.

The application is configured with auto.offset.reset=latest.

The current offsets in the topic start at 318 and end at 588.

Which offset will the application start reading from when it starts up for its next run?)

A.

0

B.

218

C.

318

D.

589

Which configuration determines how many bytes of data are collected before sending messages to the Kafka broker?

A.

batch.size

B.

max.block.size

C.

buffer.memory

D.

send.buffer.bytes

You are creating a Kafka Streams application to process retail data.

Match the input data streams with the appropriate Kafka Streams object.

What are two examples of performance metrics?

(Select two.)

A.

fetch-rate

B.

Number of active users

C.

total-login-attempts

D.

incoming-byte-rate

E.

Number of active user sessions

F.

Time of last failed login

Which two producer exceptions are examples of the class RetriableException? (Select two.)

A.

LeaderNotAvailableException

B.

RecordTooLargeException

C.

AuthorizationException

D.

NotEnoughReplicasException