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

Pass the Confluent Certified Developer CCDAK Questions and answers with ValidTests

Exam CCDAK All Questions
Exam CCDAK Premium Access

View all detail and faqs for the CCDAK exam

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

How can you gracefully make a Kafka consumer to stop immediately polling data from Kafka and gracefully shut down a consumer application?

Options:

A.

Call consumer.wakeUp() and catch a WakeUpException

B.

Call consumer.poll() in another thread

C.

Kill the consumer thread

Expert Solution
Questions # 12:

The kafka-console-consumer CLI, when used with the default options

Options:

A.

uses a random group id

B.

always uses the same group id

C.

does not use a group id

Expert Solution
Questions # 13:

To transform data from a Kafka topic to another one, I should use

Options:

A.

Kafka Connect Sink

B.

Kafka Connect Source

C.

Consumer + Producer

D.

Kafka Streams

Expert Solution
Questions # 14:

Which of the following statements are true regarding the number of partitions of a topic?

Options:

A.

The number of partitions in a topic cannot be altered

B.

We can add partitions in a topic by adding a broker to the cluster

C.

We can add partitions in a topic using the kafka-topics.sh command

D.

We can remove partitions in a topic by removing a broker

E.

We can remove partitions in a topic using the kafka-topics.sh command

Expert Solution
Questions # 15:

You create a producer that writes messages about bank account transactions from tens of thousands of different customers into a topic.

    Your consumers must process these messages with low latency and minimize consumer lag

    Processing takes ~6x longer than producing

    Transactions for each bank account must be processedin orderWhich strategy should you use?

Options:

A.

Use the timestamp of the message's arrival as its key.

B.

Use the bank account number found in the message as the message key.

C.

Use a combination of the bank account number and the transaction timestamp as the message key.

D.

Use a unique identifier such as a universally unique identifier (UUID) as the message key.

Expert Solution
Questions # 16:

Your application is consuming from a topic with one consumer group.

The number of running consumers is equal to the number of partitions.

Application logs show that some consumers are leaving the consumer group during peak time, triggering a rebalance. You also notice that your application is processing many duplicates.

You need to stop consumers from leaving the consumer group.

What should you do?

Options:

A.

Reduce max.poll.records property.

B.

Increase session.timeout.ms property.

C.

Add more consumer instances.

D.

Split consumers in different consumer groups.

Expert Solution
Questions # 17:

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

Expert Solution
Questions # 18:

You need to configure a sink connector to write records that fail into a dead letter queue topic. Requirements:

    Topic name: DLQ-Topic

    Headers containing error context must be added to the messagesWhich three configuration parameters are necessary?(Select three.)

Options:

A.

errors.tolerance=all

B.

errors.deadletterqueue.topic.name=DLQ-Topic

C.

errors.deadletterqueue.context.headers.enable=true

D.

errors.tolerance=none

E.

errors.log.enable=true

F.

errors.log.include.messages=true

Expert Solution
Questions # 19:

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

Question # 19

Options:

Expert Solution
Questions # 20:

Your Kafka cluster has five brokers. The topic t1 on the cluster has:

    Two partitions

    Replication factor = 4

    min.insync.replicas = 3You need strong durability guarantees for messages written to topic t1.You configure a producer acks=all and all the replicas for t1 are in-sync.How many brokers need to acknowledge a message before it is considered committed?

Options:

A.

2

B.

3

C.

4

D.

5

Expert Solution
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions