Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Confluent Certified Developer for Apache Kafka Certification Examination

Last Update 1 day ago Total Questions : 90

The Confluent Certified Developer for Apache Kafka Certification Examination content is now fully updated, with all current exam questions added 1 day ago. Deciding to include CCDAK practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our CCDAK exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these CCDAK sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Confluent Certified Developer for Apache Kafka Certification Examination practice test comfortably within the allotted time.

Question # 21

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

A.

SLF4J implementation for Log4j2 (org.apache.logging.log4j:log4j-slf4j-impl)

B.

SLF4J implementation for Log4j 1.2 (org.slf4j:slf4j-log4j12)

C.

Just the Log4j2 dependency of the application

D.

None, the correct dependency will be added transitively by the Kafka client

Question # 22

(You deploy a Kafka Streams application with five application instances.

Kafka Streams stores application metadata using internal topics.

Auto-topic creation is disabled in the Kafka cluster.

Which statement about this scenario is true?)

A.

The application will continue to work and internal topics will be created, even if auto-topic creation is disabled.

B.

The application will terminate with a non-retriable exception.

C.

The application will work, but application metadata will not be stored.

D.

The application will be on hold until internal topics are created manually.

Question # 23

Your application is consuming from a topic configured with a deserializer.

It needs to be resilient to badly formatted records ("poison pills"). You surround the poll() call with a try/catch for RecordDeserializationException.

You need to log the bad record, skip it, and continue processing.

Which action should you take in the catch block?

A.

Log the bad record, no other action needed.

B.

Log the bad record and seek the consumer to the offset of the next record.

C.

Log the bad record and call the consumer.skip() method.

D.

Throw a runtime exception to trigger a restart of the application.

Question # 24

You use Kafka Connect with the JDBC source connector to extract data from a large database and push it into Kafka.

The database contains tens of tables, and the current connector is unable to process the data fast enough.

You add more Kafka Connect workers, but throughput doesn't improve.

What should you do next?

A.

Increase the number of Kafka partitions for the topics.

B.

Increase the value of the connector's property tasks.max.

C.

Add more Kafka brokers to the cluster.

D.

Modify the database schemas to enable horizontal sharding.

Question # 25

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

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.

Question # 26

(A consumer application needs to use an at-most-once delivery semantic.

What is the best consumer configuration and code skeleton to avoid duplicate messages being read?)

A.

auto.offset.reset=latest and enable.auto.commit=truewhile (true) {final var records = consumer.poll(POLL_TIMEOUT);for (var record : records) {// Any processing}consumer.commitAsync();}

B.

auto.offset.reset=earliest and enable.auto.commit=falsewhile (true) {final var records = consumer.poll(POLL_TIMEOUT);consumer.commitAsync();for (var record : records) {// Any processing}}

C.

auto.offset.reset=earliest and enable.auto.commit=falsewhile (true) {final var records = consumer.poll(POLL_TIMEOUT);for (var record : records) {// Any processing}consumer.commitAsync();}

D.

auto.offset.reset=earliest and enable.auto.commit=truewhile (true) {final var records = consumer.poll(POLL_TIMEOUT);consumer.commitAsync();for (var record : records) {// Any processing}}

Question # 27

(An S3 source connector named s3-connector stopped running.

You use the Kafka Connect REST API to query the connector and task status.

One of the three tasks has failed.

You need to restart the connector and all currently running tasks.

Which REST request will restart the connector instance and all its tasks?)

A.

POST /connectors/s3-connector/restart?includeTasks=true

B.

POST /connectors/s3-connector/restart?includeTasks=true & onlyFailed=true

C.

POST /connectors/s3-connector/restart

D.

POST /connectors/s3-connector/tasks/0/restart

Go to page: