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
Post your Comments and Discuss Confluent CCDAK exam prep with other Community members:
hab Commented on June 25, 2025 question 21 - only fw ctl zdebug automatically enables 1MB buffer - answer is B Anonymous
reynu Commented on June 25, 2025 the questions are informative and very useful Anonymous
Konstantin Commented on June 25, 2025 50 Purchase Provisioned throughput for the custom model. 55 Generative Adversarial Networks (GANs) as residual neural network for image recognition GERMANY
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CCDAK content, but please register or login to continue.