Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Confluent > Confluent Certifications > CCDAK > CCDAK Online Practice Questions and Answers

CCDAK Online Practice Questions and Answers

Questions 4

StreamsBuilder builder = new StreamsBuilder();

KStream textLines = builder.stream("word-count-input");

KTable wordCounts = textLines

.mapValues(textLine -> textLine.toLowerCase())

.flatMapValues(textLine -> Arrays.asList(textLine.split("\W+"))) .selectKey((key, word) -> word)

.groupByKey()

.count(Materialized.as("Counts"));

wordCounts.toStream().to("word-count-output", Produced.with(Serdes.String(), Serdes.Long()));

builder.build();

What is an adequate topic configuration for the topic word-count-output?

A. max.message.bytes=10000000

B. cleanup.policy=delete

C. compression.type=lz4

D. cleanup.policy=compact

Buy Now

Correct Answer: D

Result is aggregated into a table with key as the unique word and value its frequency. We have to enable log compaction for this topic to align the topic's cleanup policy with KTable semantics.

Questions 5

You are using JDBC source connector to copy data from a table to Kafka topic. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?

A. 3

B. 2

C. 1

D. 6

Buy Now

Correct Answer: C

JDBC connector allows one task per table.

Questions 6

What data format isn't natively available with the Confluent REST Proxy?

A. avro

B. binary

C. protobuf

D. json

Buy Now

Correct Answer: C

Protocol buffers isn't a natively supported type for the Confluent REST Proxy, but you may use the binary format instead

Questions 7

You have a consumer group of 12 consumers and when a consumer gets killed by the process management system, rather abruptly, it does not trigger a graceful shutdown of your consumer. Therefore, it takes up to 10 seconds for a rebalance to happen. The business would like to have a 3 seconds rebalance time. What should you do? (select two)

A. Increase session.timeout.ms

B. Decrease session.timeout.ms

C. Increase heartbeat.interval.ms

D. decrease max.poll.interval.ms

E. increase max.poll.interval.ms

F. Decrease heartbeat.interval.ms

Buy Now

Correct Answer: BF

session.timeout.ms must be decreased to 3 seconds to allow for a faster rebalance, and the heartbeat thread must be quicker, so we also need to decrease heartbeat.interval.ms

Questions 8

Your streams application is reading from an input topic that has 5 partitions. You run 5 instances of your application, each with num.streams.threads set to 5. How many stream tasks will be created and how many will be active?

A. 5 created, 1 active

B. 5 created, 5 active

C. 25 created, 25 active

D. 25 created, 5 active

Buy Now

Correct Answer: D

One partition is assigned a thread, so only 5 will be active, and 25 threads (i.e. tasks) will be created

Questions 9

How will you set the retention for the topic named ‚aumy-topic‚Au to 1 hour?

A. Set the broker config log.retention.ms to 3600000

B. Set the consumer config retention.ms to 3600000

C. Set the topic config retention.ms to 3600000

D. Set the producer config retention.ms to 3600000

Buy Now

Correct Answer: C

retention.ms can be configured at topic level while creating topic or by altering topic. It shouldn't be set at the broker level (log.retention.ms) as this would impact all the topics in the cluster, not just the one we are interested in

Questions 10

A topic receives all the orders for the products that are available on a commerce site. Two applications want to process all the messages independently - order fulfilment and monitoring. The topic has 4 partitions, how would you organise the consumers for optimal performance and resource usage?

A. Create 8 consumers in the same group with 4 consumers for each application

B. Create two consumers groups for two applications with 8 consumers in each

C. Create two consumer groups for two applications with 4 consumers in each

D. Create four consumers in the same group, one for each partition - two for fulfilment and two for monitoring

Buy Now

Correct Answer: C

two partitions groups - one for each application so that all messages are delivered to both the application. 4 consumers in each as there are 4 partitions of the topic, and you cannot have more consumers per groups than the number of partitions (otherwise they will be inactive and wasting resources)

Questions 11

What Java library is KSQL based on?

A. Kafka Streams

B. REST Proxy

C. Schema Registry

D. Kafka Connect

Buy Now

Correct Answer: A

KSQL is based on Kafka Streams and allows you to express transformations in the SQL language that get automatically converted to a Kafka Streams program in the backend

Questions 12

If a topic has a replication factor of 3...

A. 3 replicas of the same data will live on 1 broker

B. Each partition will live on 4 different brokers

C. Each partition will live on 2 different brokers

D. Each partition will live on 3 different brokers

Buy Now

Correct Answer: D

Replicas are spread across available brokers, and each replica = one broker. RF 3 = 3 brokers

Questions 13

If you enable an SSL endpoint in Kafka, what feature of Kafka will be lost?

A. Cross-cluster mirroring

B. Support for Avro format

C. Zero copy

D. Exactly-once delivery

Buy Now

Correct Answer: C

With SSL, messages will need to be encrypted and decrypted, by being first loaded into the JVM, so you lose the zero copy optimization. See more information herehttps://twitter.com/ijuma/status/1161303431501324293?s=09

Exam Code: CCDAK
Exam Name: Confluent Certified Developer for Apache Kafka Certification Examination
Last Update: Jun 08, 2025
Questions: 150

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2025 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.