Spring Sale - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65percent

Welcome To DumpsPedia

CCDAK Sample Questions Answers

Questions 4

(You need to send a JSON message on the wire. The message key is a string.

How would you do this?)

Options:

A.

Specify a key serializer class for the JSON contents of the message’s value. Set the value serializer class to null.

B.

Specify a value serializer class for the JSON contents of the message’s value. Set a key serializer for the string value.

C.

Specify a value serializer class for the JSON contents of the message’s value. Set the key serializer class to null.

D.

Specify a value serializer class for the JSON contents of the message’s value. Set the key serializer class to JSON.

Buy Now
Questions 5

Which two statements are correct about transactions in Kafka?

(Select two.)

Options:

A.

All messages from a failed transaction will be deleted from a Kafka topic.

B.

Transactions are only possible when writing messages to a topic with single partition.

C.

Consumers can consume both committed and uncommitted transactions.

D.

Information about producers and their transactions is stored in the _transaction_state topic.

E.

Transactions guarantee at least once delivery of messages.

Buy Now
Questions 6

You need to set alerts on key broker metrics to trigger notifications when the cluster is unhealthy.

Which are three minimum broker metrics to monitor?

(Select three.)

Options:

A.

kafka.controller:type=KafkaController,name=TopicsToDeleteCount

B.

kafka.controller:type=KafkaController,name=OfflinePartitionsCount

C.

kafka.controller:type=KafkaController,name=ActiveControllerCount

D.

kafka.controller:type=ControllerStats,name=UncleanLeaderElectionsPerSec

E.

kafka.controller:type=KafkaController,name=LastCommittedRecordOffset

Buy Now
Questions 7

You have a consumer group with default configuration settings reading messages from your Kafka cluster.

You need to optimize throughput so the consumer group processes more messages in the same amount of time.

Which change should you make?

Options:

A.

Remove some consumers from the consumer group.

B.

Increase the number of bytes the consumers read with each fetch request.

C.

Disable auto commit and have the consumers manually commit offsets.

D.

Decrease the session timeout of each consumer.

Buy Now
Questions 8

(You are building real-time streaming applications using Kafka Streams.

Your application has a custom transformation.

You need to define custom processors in Kafka Streams.

Which tool should you use?)

Options:

A.

TopologyTestDriver

B.

Processor API

C.

Kafka Streams Domain Specific Language (DSL)

D.

Kafka Streams Custom Transformation Language

Buy Now
Questions 9

(You are writing a producer application and need to ensure proper delivery.

You configure the producer with acks=all.

Which two actions should you take to ensure proper error handling?

Select two.)

Options:

A.

Check the value of ProducerRecord.status().

B.

Use a callback argument in producer.send() where you check delivery status.

C.

Check that producer.send() returned a RecordMetadata object and is not null.

D.

Surround the call to producer.send() with a try/catch block to catch KafkaException.

Buy Now
Questions 10

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?

Options:

A.

Standalone mode

B.

Distributed mode

C.

Parallel mode

D.

SingleCluster mode

Buy Now
Questions 11

Where are source connector offsets stored?

Options:

A.

offset.storage.topic

B.

storage.offset.topic

C.

topic.offset.config

D.

offset, storage, partitions

Buy Now
Questions 12

(What are two stateless operations in the Kafka Streams API?

Select two.)

Options:

A.

Reduce

B.

Join

C.

Filter

D.

GroupBy

Buy Now
Questions 13

(You have a Kafka consumer in production actively reading from a critical topic from which multiple other applications are consuming.

You have a new requirement to update the offset of your consumer to start reading from the beginning of the topic.

Which action would you take?)

Options:

A.

Update the consumer group’s offset to the earliest position using the kafka-consumer-groups CLI tool.

B.

Temporarily configure the topic’s retention.ms parameter to 0 to empty the topic.

C.

Start a new consumer application with the same consumer group id.

D.

Update the consumer configuration by setting the auto.offset.reset property to earliest.

Buy Now
Questions 14

(You create a topic with five partitions.

What can you assume about messages read from that topic by a single consumer group?)

Options:

A.

Messages can be consumed by a maximum of five consumers in the same consumer group.

B.

The consumer group can only read the same number of messages from all the partitions.

C.

All messages will be read from exactly one broker by the consumer group.

D.

Messages from one partition can be consumed by any of the consumers in a group for faster processing.

Buy Now
Questions 15

You are sending messages to a Kafka cluster in JSON format and want to add more information related to each message:

Format of the message payload

Message creation time

A globally unique identifier that allows the message to be traced through the systemWhere should this additional information be set?

Options:

A.

Header

B.

Key

C.

Value

D.

Broker

Buy Now
Questions 16

A stream processing application is consuming from a topic with five partitions. You run three instances of the application. Each instance has num.stream.threads=5.

You need to identify the number of stream tasks that will be created and how many will actively consume messages from the input topic.

Options:

A.

5 created, 1 actively consuming

B.

5 created, 5 actively consuming

C.

15 created, 5 actively consuming

D.

15 created, 15 actively consuming

Buy Now
Questions 17

Which two producer exceptions are examples of the class RetriableException? (Select two.)

Options:

A.

LeaderNotAvailableException

B.

RecordTooLargeException

C.

AuthorizationException

D.

NotEnoughReplicasException

Buy Now
Questions 18

You have a topic t1 with six partitions. You use Kafka Connect to send data from topic t1 in your Kafka cluster to Amazon S3. Kafka Connect is configured for two tasks.

How many partitions will each task process?

Options:

A.

2

B.

3

C.

6

D.

12

Buy Now
Questions 19

Which statement describes the storage location for a sink connector’s offsets?

Options:

A.

The __consumer_offsets topic, like any other consumer

B.

The topic specified in the offsets.storage.topic configuration parameter

C.

In a file specified by the offset.storage.file.filename configuration parameter

D.

In memory which is then periodically flushed to a RocksDB instance

Buy Now
Questions 20

You are creating a Kafka Streams application to process retail data.

Match the input data streams with the appropriate Kafka Streams object.

Options:

Buy Now
Questions 21

You have a Kafka client application that has real-time processing requirements.

Which Kafka metric should you monitor?

Options:

A.

Consumer lag between brokers and consumers

B.

Total time to serve requests to replica followers

C.

Consumer heartbeat rate to group coordinator

D.

Aggregate incoming byte rate

Buy Now
Questions 22

Match the testing tool with the type of test it is typically used to perform.

Options:

Buy Now
Questions 23

(A stream processing application tracks user activity in online shopping carts, including items added, removed, and ordered throughout the day for each user.

You need to capture data to identify possible periods of user inactivity.

Which type of Kafka Streams window should you use?)

Options:

A.

Session

B.

Hopping

C.

Tumbling

D.

Sliding

Buy Now
Questions 24

(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?)

Options:

A.

Horizontal Scaling

B.

Vertical Scaling

C.

Plain Scaling

D.

Scaling Out

Buy Now
Questions 25

(You are designing a stream pipeline to monitor the real-time location of GPS trackers, where historical location data is not required.

Each event has:

• Key: trackerId

• 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?)

Options:

A.

cleanup.policy=compact

B.

retention.ms=infinite

C.

min.cleanable.dirty.ratio=-1

D.

retention.ms=0

Buy Now
Questions 26

You need to consume messages from Kafka using the command-line interface (CLI).

Which command should you use?

Options:

A.

kafka-console-consumer

B.

kafka-consumer

C.

kafka-get-messages

D.

kafka-consume

Buy Now
Questions 27

You 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.)

Options:

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.

Buy Now
Exam Code: CCDAK
Exam Name: Confluent Certified Developer for Apache Kafka Certification Examination
Last Update: Mar 19, 2026
Questions: 90
$57.75  $164.99
$43.75  $124.99
$36.75  $104.99
buy now CCDAK