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

CCDAK Confluent Certified Developer for Apache Kafka Certification Examination Questions and Answers

Questions 4

The producer code below features a Callback class with a method called onCompletion().

When will the onCompletion() method be invoked?

Options:

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

Buy Now
Questions 5

Your company has three Kafka clusters: Development, Testing, and Production.

The Production cluster is running out of storage, so you add a new node.

Which two statements about the new node are true?

(Select two.)

Options:

A.

A node ID will be assigned to the new node automatically.

B.

A newly added node will have KRaft controller role by default.

C.

A new node will not have any partitions assigned to it unless a new topic is created or reassignment occurs.

D.

A new node can be added without stopping existing cluster nodes.

Buy Now
Questions 6

Which configuration allows more time for the consumer poll to process records?

Options:

A.

session.timeout.ms

B.

heartbeat.interval.ms

C.

max.poll.interval.ms

D.

fetch.max.wait.ms

Buy Now
Questions 7

Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?

Options:

A.

Kafka Streams disables log compaction on internal changelog topics to preserve all state changes for potential recovery.

B.

EOS in Kafka Streams relies on transactional producers to atomically commit state updates to changelog topics and output records to Kafka.

C.

Kafka Streams provides EOS by periodically checkpointing state stores and replaying changelogs to recover only unprocessed messages during failure.

D.

EOS in Kafka Streams is implemented by creating a separate Kafka topic for deduplication of all messages processed by the application.

Buy Now
Questions 8

You want to connect with username and password to a secured Kafka cluster that has SSL encryption.

Which properties must your client include?

Options:

A.

security.protocol=SASL_SSL

sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='myUser' password='myPassword';

B.

security.protocol=SSL

sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='myUser' password='myPassword';

C.

security.protocol=SASL_PLAINTEXT

sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='myUser' password='myPassword';

D.

security.protocol=PLAINTEXT

sasl.jaas.config=org.apache.kafka.common.security.ssl.TlsLoginModule required username='myUser' password='myPassword';

Buy Now
Questions 9

A stream processing application is tracking user activity in online shopping carts.

You want to identify periods of user inactivity.

Which type of Kafka Streams window should you use?

Options:

A.

Sliding

B.

Tumbling

C.

Hopping

D.

Session

Buy Now
Questions 10

You are working on a Kafka cluster with three nodes. You create a topic named orders with:

    replication.factor = 3

    min.insync.replicas = 2

    acks = allWhat exception will be generated if two brokers are down due to network delay?

Options:

A.

NotEnoughReplicasException

B.

NetworkException

C.

NotCoordinatorException

D.

NotLeaderForPartitionException

Buy Now
Questions 11

A producer is configured with the default partitioner. It is sending records to a topic that is configured with five partitions. The record does not contain any key.

What is the result of this?

Options:

A.

Records will be dispatched among the available partitions.

B.

Records will be sent to partition 0.

C.

An error will be raised and no record will be sent.

D.

Records will be sent to the least used partition.

Buy Now
Questions 12

Clients that connect to a Kafka cluster are required to specify one or more brokers in the bootstrap.servers parameter.

What is the primary advantage of specifying more than one broker?

Options:

A.

It provides redundancy in making the initial connection to the Kafka cluster.

B.

It forces clients to enumerate every single broker in the cluster.

C.

It is the mechanism to distribute a topic’s partitions across multiple brokers.

D.

It provides the ability to wake up dormant brokers.

Buy Now
Questions 13

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.

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

B.

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

C.

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

D.

Check the value of ProducerRecord.status().

Buy Now
Questions 14

What are two examples of performance metrics?

(Select two.)

Options:

A.

fetch-rate

B.

Number of active users

C.

total-login-attempts

D.

incoming-byte-rate

E.

Number of active user sessions

F.

Time of last failed login

Buy Now
Questions 15

Kafka producers can batch messages going to the same partition.

Which statement is correct about producer batching?

Options:

A.

Producers can only batch messages of the same size.

B.

Two or more broker failures will automatically disable batching on the producer.

C.

Producers have a separate background thread for each batch.

D.

Producers can include multiple batches in a single request to a broker.

Buy Now
Questions 16

Which configuration determines how many bytes of data are collected before sending messages to the Kafka broker?

Options:

A.

batch.size

B.

max.block.size

C.

buffer.memory

D.

send.buffer.bytes

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 Kafka Connect cluster with multiple connectors.

One connector is not working as expected.

How can you find logs related to that specific connector?

Options:

A.

Modify the log4j.properties file to enable connector context.

B.

Modify the log4j.properties file to add a dedicated log appender for the connector.

C.

Change the log level to DEBUG to have connector context information in logs.

D.

Make no change, there is no way to find logs other than by stopping all the other connectors.

Buy Now
Exam Code: CCDAK
Exam Name: Confluent Certified Developer for Apache Kafka Certification Examination
Last Update: Jul 6, 2025
Questions: 61

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now CCDAK testing engine

PDF (Q&A)

$43.57  $124.49
buy now CCDAK pdf