A consumer wants to read messages from a specific partition of a topic. How can this be achieved?
Answer(s): B
assign() can be used for manual assignment of a partition to a consumer, in which case subscribe() must not be used. Assign() takes a collection of TopicPartition object as an argument
https://kafka.apache.org/23/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#assign-java.util.Collection-
If I want to have extremely high confidence that leaders and replicas have my data, I should use?
Answer(s): C
acks=all means the leader will wait for all in-sync replicas to acknowledge the record. Also the min in- sync replica setting specifies the minimum number of replicas that need to be in-sync for the partition to remain available for writes.
Where are the dynamic configurations for a topic stored?
Answer(s): A
Dynamic topic configurations are maintained in Zookeeper.
You are using JDBC source connector to copy data from 2 tables to two Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?
we have two tables, so the max number of tasks is 2
If I want to send binary data through the REST proxy to topic "test_binary", it needs to be base64 encoded. A consumer connecting directly into the Kafka topic
On the producer side, after receiving base64 data, the REST Proxy will convert it into bytes and then send that bytes payload to Kafka. Therefore, consumers reading directly from Kafka will receive binary data.
Post your Comments and Discuss Confluent CCDAK exam dumps with other Community members:
rurouni Commented on January 31, 2026 QUESTION: 67 We have a store selling shoes. What dataset is a great candidate to be modeled as a KTable in Kafka Streams? Correct answer: Inventory contents right now Anonymous
rurouni Commented on January 31, 2026 QUESTION: 57 A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored? Correct answer: Any of the topic partitions Anonymous
RootRanger Commented on May 05, 2025 Just went through the CCDAK practice questions. The new updates are dope, helps break down the tough parts real good. Definitely worth the time. Anonymous
Testbear Commented on June 13, 2023 please upload ITALY
Unlock the full version. We keep our content free for everyone by keeping the bots out. Join our community of learners to get full access to the CCDAK materials.