| Exam Code | CCDAK |
| Exam Name | Confluent Certified Developer for Apache Kafka |
| Vendor | Confluent |
| Total Questions | 150 |
| Last Updated | 26-Oct, 2026 |
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Free CCDAK Practice Questions
Explore 5 free practice questions for the Confluent CCDAK exam and review the answers and explanations to support your preparation.
-
Question 1
Single answer(Which configuration determines the maximum number of records a consumer can poll in a single call to poll()?)
-
Option A:Correct
max.poll.records
-
Option B:Correct
max.records.consumer
-
Option C:Correct
fetch.max.records
-
Option D:Correct
max.poll.records.interval
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
The Apache Kafka consumer configuration max.poll.records explicitly controls the maximum number of records returned in a single call to Consumer.poll(). This is clearly documented in the official Kafka consumer configuration reference. It allows developers to limit the size of the batch returned to the application, helping to control processing latency, memory usage, and CPU load.
This setting does not affect how much data the broker sends to the consumer; instead, it limits how many records the consumer returns to the application layer from the fetched data. This makes it especially useful for applications where processing each record is expensive and needs predictable batch sizes.
Option B (max.records.consumer) does not exist in Kafka. Option C (fetch.max.records) is also invalid; Kafka uses fetch.max.bytes and related byte-based configurations, not record-count limits, at the fetch level. Option D (max.poll.records.interval) is not a valid Kafka configuration; the correct related setting is max.poll.interval.ms, which controls liveness, not batch size.
Thus, max.poll.records is the correct and officially documented configuration.
-
-
Question 2
Multiple answersYou need to correctly join data from two Kafka topics.
Which two scenarios will allow for co-partitioning?
-
Option A:Correct
Both topics have the same number of partitions.
-
Option B:Correct
Both topics have the same key and partitioning strategy.
-
Option C:Correct
Both topics have the same value schema
-
Option D:Correct
Both topics have the same retention time.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A, B
Explanation
For Kafka Streams to perform joins, topics must be co-partitioned, meaning:
They have the same number of partitions (A), and
They use the same partitioning strategy (typically by key) (B)
From Kafka Streams Documentation > Joins:
“Co-partitioning is required for Kafka Streams joins. Topics must have the same number of partitions and use the same key-based partitioner.”
Value schema (C) and retention time (D) have no bearing on join compatibility.
[Reference: Kafka Streams Concepts > Joins and Co-Partitioning, ============, ] -
-
Question 3
Single answerA stream processing application is tracking user activity in online shopping carts.
You want to identify periods of user inactivity.
Which type of Kafka Streams window should you use?
-
Option A:Correct
Sliding
-
Option B:Correct
Tumbling
-
Option C:Correct
Hopping
-
Option D:Correct
Session
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
Session windows are ideal for tracking periods of activity separated by inactivity, such as user sessions.
From Kafka Streams Documentation > Windowing:
“A session window captures streams of events that are intermittent and separated by a gap of inactivity.”
Tumbling/Hopping/Sliding windows are fixed in size
Session windows are dynamic and close after inactivity timeout
This makes them perfect for identifying gaps in user interaction.
[Reference: Kafka Streams Developer Guide > Session Windows, , ] -
-
Question 4
Multiple answersYou create a topic named loT-Data with 10 partitions and replication factor of three.
A producer sends 1 MB messages compressed with Gzip.
Which two statements are true in this scenario?
(Select two.)
-
Option A:Correct
Compression type will be stored in batch attributes.
-
Option B:Correct
By default, compression is the producer’s responsibility.
-
Option C:Correct
The message is already compressed so it will not be serialized.
-
Option D:Correct
All compressed messages will be stored in the same topic partition.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A, B
Explanation
A: Kafka batches store compression metadata in their headers, indicating how the batch was compressed.
B: Compression is controlled via the producer config compression.type, which defaults to none. Producers explicitly set Gzip or other formats.
From Kafka Producer Docs:
“Compression is done by the producer, and the type is stored in the message batch metadata. The broker does not recompress.”
C is false: messages are serialized before compression.
D is false: messages without keys are distributed across multiple partitions.
[Reference: Kafka Producer Configs > compression.type, ============, ] -
-
Question 5
Single answerYou have a Kafka consumer in production actively reading from a critical topic.
You need to update the offset of your consumer to start reading from the beginning of the topic.
Which action should you take?
-
Option A:Correct
Temporarily configure the topic’s retention.ms parameter to 0 to empty the topic.
-
Option B:Correct
Start a new consumer application with the same consumer group id.
-
Option C:Correct
Update the consumer configuration by setting auto.offset.reset=earliest.
-
Option D:Correct
Update the consumer group’s offset to the earliest position using the kafka-consumer-groups CLI tool.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
To reset offsets for an existing consumer group, you must use the kafka-consumer-groups.sh tool with the --reset-offsets and --to-earliest flags.
From Kafka Consumer Group Tool Documentation:
“You can use the kafka-consumer-groups tool to reset offsets for a consumer group. This is required if the consumer has already committed offsets.”
Setting auto.offset.reset=earliest only works if no committed offset exists.
Starting a new consumer with the same group won’t reset offsets.
Retention settings don’t affect committed offsets.
[Reference: Kafka Consumer Group CLI Tool, ============, ] -