Confluent Certified Developer for Apache Kafka Certification Examination - CCDAK Exam Practice Test
Question 1
(You create an Orders topic with 10 partitions.
The topic receives data at high velocity.
Your Kafka Streams application initially runs on a server with four CPU threads.
You move the application to another server with 10 CPU threads to improve performance.
What does this example describe?)
The topic receives data at high velocity.
Your Kafka Streams application initially runs on a server with four CPU threads.
You move the application to another server with 10 CPU threads to improve performance.
What does this example describe?)
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
(Your configuration parameters for a Source connector and Connect worker are:
* offset.flush.interval.ms=60000
* offset.flush.timeout.ms=500
* offset.storage.topic=connect-offsets
* offset.storage.replication.factor=-1
Which two statements match the expected behavior?
Select two.)
* offset.flush.interval.ms=60000
* offset.flush.timeout.ms=500
* offset.storage.topic=connect-offsets
* offset.storage.replication.factor=-1
Which two statements match the expected behavior?
Select two.)
Correct Answer: B,D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
The producer code below features a Callback class with a method called onCompletion().
In the onCompletion() method, when the request is completed successfully, what does the value metadata.
offset() represent?
In the onCompletion() method, when the request is completed successfully, what does the value metadata.
offset() represent?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
(You are developing a Java application that includes a Kafka consumer.
You need to integrate Kafka client logs with your own application logs.
Your application is using the Log4j2 logging framework.
Which Java library dependency must you include in your project?)
You need to integrate Kafka client logs with your own application logs.
Your application is using the Log4j2 logging framework.
Which Java library dependency must you include in your project?)
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
(You want to enrich the content of a topic by joining it with key records from a second topic.
The two topics have a different number of partitions.
Which two solutions can you use?
Select two.)
The two topics have a different number of partitions.
Which two solutions can you use?
Select two.)
Correct Answer: A,B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
(You are developing a Kafka Streams application with a complex topology that has multiple sources, processors, sinks, and sub-topologies.
You are working in a development environment and do not have access to a real Kafka cluster or topics.
You need to perform unit testing on your Kafka Streams application.
Which should you use?)
You are working in a development environment and do not have access to a real Kafka cluster or topics.
You need to perform unit testing on your Kafka Streams application.
Which should you use?)
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
Your Kafka cluster has five brokers. The topic t1 on the cluster has:
Two partitions
Replication factor = 4
min.insync.replicas = 3You need strong durability guarantees for messages written to topic t1.You configure a producer acks=all and all the replicas for t1 are in-sync.How many brokers need to acknowledge a message before it is considered committed?
Two partitions
Replication factor = 4
min.insync.replicas = 3You need strong durability guarantees for messages written to topic t1.You configure a producer acks=all and all the replicas for t1 are in-sync.How many brokers need to acknowledge a message before it is considered committed?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 8
You need to collect logs from a host and write them to a Kafka topic named 'logs-topic'. You decide to use Kafka Connect File Source connector for this task.
What is the preferred deployment mode for this connector?
What is the preferred deployment mode for this connector?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 9
You need to correctly join data from two Kafka topics.
Which two scenarios will allow for co-partitioning?
(Select two.)
Which two scenarios will allow for co-partitioning?
(Select two.)
Correct Answer: A,B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 10
(You want to read messages from all partitions of a topic in every consumer instance of your application.
How do you do this?)
How do you do this?)
Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

