Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Confluent CCDAK Practice Exam with Questions & Answers | Set: 2

Questions 11

(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?)

Options:
A.

0

B.

218

C.

318

D.

589

Confluent CCDAK Premium Access
Questions 12

(You are experiencing low throughput from a Java producer.

Kafka producer metrics show a low I/O thread ratio and low I/O thread wait ratio.

What is the most likely cause of the slow producer performance?)

Options:
A.

The producer is sending large batches of messages.

B.

There is a bad data link layer (Layer 2) connection from the producer to the cluster.

C.

The producer code has an expensive callback function.

D.

Compression is enabled.

Questions 13

(You create a topic with five partitions.

What can you assume about messages read from that topic by a single consumer group?)

Options:
A.

Messages can be consumed by a maximum of five consumers in the same consumer group.

B.

The consumer group can only read the same number of messages from all the partitions.

C.

All messages will be read from exactly one broker by the consumer group.

D.

Messages from one partition can be consumed by any of the consumers in a group for faster processing.

Questions 14

(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?)

Options:
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.

Questions 15

(You need to send a JSON message on the wire. The message key is a string.

How would you do this?)

Options:
A.

Specify a key serializer class for the JSON contents of the message’s value. Set the value serializer class to null.

B.

Specify a value serializer class for the JSON contents of the message’s value. Set a key serializer for the string value.

C.

Specify a value serializer class for the JSON contents of the message’s value. Set the key serializer class to null.

D.

Specify a value serializer class for the JSON contents of the message’s value. Set the key serializer class to JSON.

Questions 16

Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?

Options:
A.

Kafka Streams disables log compaction on internal changelog topics to preserve all state changes for potential recovery.

B.

EOS in Kafka Streams relies on transactional producers to atomically commit state updates to changelog topics and output records to Kafka.

C.

Kafka Streams provides EOS by periodically checkpointing state stores and replaying changelogs to recover only unprocessed messages during failure.

D.

EOS in Kafka Streams is implemented by creating a separate Kafka topic for deduplication of all messages processed by the application.

Questions 17

(You are writing lightweight XML messages to a Kafka topic named userinfo.

Which format should you use for the value field?)

Options:
A.

XmlSerializer

B.

StringSerializer

C.

ByteSerializer

D.

VoidSerializer

Questions 18

Which configuration allows more time for the consumer poll to process records?

Options:
A.

session.timeout.ms

B.

heartbeat.interval.ms

C.

max.poll.interval.ms

D.

fetch.max.wait.ms

Questions 19

What is a consequence of increasing the number of partitions in an existing Kafka topic?

Options:
A.

Existing data will be redistributed across the new number of partitions temporarily increasing cluster load.

B.

Records with the same key could be located in different partitions.

C.

Consumers will need to process data from more partitions which will significantly increase consumer lag.

D.

The acknowledgment process will increase latency for producers using acks=all.

Questions 20

Your application is consuming from a topic with one consumer group.

The number of running consumers is equal to the number of partitions.

Application logs show that some consumers are leaving the consumer group during peak time, triggering a rebalance. You also notice that your application is processing many duplicates.

You need to stop consumers from leaving the consumer group.

What should you do?

Options:
A.

Reduce max.poll.records property.

B.

Increase session.timeout.ms property.

C.

Add more consumer instances.

D.

Split consumers in different consumer groups.

Exam Code: CCDAK
Certification Provider: Confluent
Exam Name: Confluent Certified Developer for Apache Kafka Certification Examination
Last Update: Feb 21, 2026
Questions: 90
PDF + Testing Engine
$164.99
$49.5
Testing Engine
$124.99
$37.5
PDF (Q&A)
$104.99
$31.5

Confluent Free Exams

Confluent Free Exams
Prepare effectively for Confluent certification exams with free study resources and practice tests from Examstrack.