Confluent CCDAK - Confluent Certified Developer for Apache Kafka Exam
Page: 2 / 14
Total 70 questions
Question #6 (Topic: Exam A)
DRAG DROP
Match the topic configuration setting with the reason the setting affects topic durability.
To answer, move each of the options below to the corresponding answer area. Partial credit is given for each correct answer.
Match the topic configuration setting with the reason the setting affects topic durability.
To answer, move each of the options below to the corresponding answer area. Partial credit is given for each correct answer.
Answer:
Question #7 (Topic: Exam A)
You are designing a stream pipeline to monitor the real-time location of GPS trackers, where historical location data is not required.
Each event in the stream has the following structure:
- Key: tracker_id
- Value: latitude, longitude
You need to ensure that the latest location for each tracker is always retained in the Kafka topic.
Which topic configuration parameter should you set?
Each event in the stream has the following structure:
- Key: tracker_id
- Value: latitude, longitude
You need to ensure that the latest location for each tracker is always retained in the Kafka topic.
Which topic configuration parameter should you set?
A. retention.ms = 0
B. min.cleanable.dirty.ratio = -1
C. cleanup.policy = compact
D. retention.ms = infinite
Answer: C
Question #8 (Topic: Exam A)
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?
A. Standalone mode
B. Distributed mode
C. Parallel mode
D. SingleCluster mode
Answer: A
Question #9 (Topic: Exam A)
You create a topic named 'IoT-Data' with 10 partitions and replication factor of three. A producer application is producing messages with 1 mb size. The messages need to be compressed using Gzip compression.
Which two statements are true in this scenario? (Choose two.)
Which two statements are true in this scenario? (Choose two.)
A. Compression type will be stored in batch attributes.
B. By default, compression is the producer's responsibility.
C. The message is already compressed so it will not be serialized.
D. All compressed messages will be stored in the same topic partition.
Answer: AB
Question #10 (Topic: Exam A)
The producer code below features a 'Callback' class with a method called 'onCompletion()'.

When will the 'onCompletion()' method be invoked?

When will the 'onCompletion()' method be invoked?
A. When a consumer sends an acknowledgement to the producer
B. When the producer puts the message into its socket buffer
C. When the producer batches the message
D. When the producer receives the acknowledgment from the broker
Answer: D