Certbus > Confluent > Confluent Certified Developer > CCDAK > CCDAK Online Practice Questions and Answers

CCDAK Online Practice Questions and Answers

Questions 4

There are 3 brokers in the cluster. You want to create a topic with a single partition that is resilient to one broker failure and one broker maintenance. What is the replication factor will you specify while creating the topic?

A. 6

B. 3

C. 2

D. 1

Browse 150 Q&As
Questions 5

A kafka topic has a replication factor of 3 and min.insync.replicas setting of 2. How many brokers can go down before a producer with acks=all can't produce?

A. 0

B. 2

C. 1

D. 3

Browse 150 Q&As
Questions 6

To enhance compression, I can increase the chances of batching by using

A. acks=all

B. linger.ms=20

C. batch.size=65536

D. max.message.size=10MB

Browse 150 Q&As
Questions 7

You have a Kafka cluster and all the topics have a replication factor of 3. One intern at your company

stopped a broker, and accidentally deleted all the data of that broker on the disk.

What will happen if the broker is restarted?

A. The broker will start, and other topics will also be deleted as the broker data on the disk got deleted

B. The broker will start, and won't be online until all the data it needs to have is replicated from other leaders

C. The broker will crash

D. The broker will start, and won't have any data. If the broker comes leader, we have a data loss

Browse 150 Q&As
Questions 8

To continuously export data from Kafka into a target database, I should use

A. Kafka Producer

B. Kafka Streams

C. Kafka Connect Sink

D. Kafka Connect Source

Browse 150 Q&As
Questions 9

Your producer is producing at a very high rate and the batches are completely full each time. How can you improve the producer throughput? (select two)

A. Enable compression

B. Disable compression

C. Increase batch.size

D. Decrease batch.size

E. Decrease linger.ms

F. Increase linger.ms

Browse 150 Q&As
Questions 10

What is true about replicas?

A. Produce requests can be done to the replicas that are followers

B. Produce and consume requests are load-balanced between Leader and Follower replicas

C. Leader replica handles all produce and consume requests

D. Follower replica handles all consume requests

Browse 150 Q&As
Questions 11

What information isn't stored inside of Zookeeper? (select two)

A. Schema Registry schemas

B. Consumer offset

C. ACL inforomation

D. Controller registration

E. Broker registration info

Browse 150 Q&As
Questions 12

What is the protocol used by Kafka clients to securely connect to the Confluent REST Proxy?

A. Kerberos

B. SASL

C. HTTPS (SSL/TLS)

D. HTTP

Browse 150 Q&As
Questions 13

By default, which replica will be elected as a partition leader? (select two)

A. Preferred leader broker if it is in-sync and auto.leader.rebalance.enable=true

B. Any of the replicas

C. Preferred leader broker if it is in-sync and auto.leader.rebalance.enable=false

D. An in-sync replica

Browse 150 Q&As
Questions 14

Which of the following errors are retriable from a producer perspective? (select two)

A. MESSAGE_TOO_LARGE

B. INVALID_REQUIRED_ACKS

C. NOT_ENOUGH_REPLICAS

D. NOT_LEADER_FOR_PARTITION

E. TOPIC_AUTHORIZATION_FAILED

Browse 150 Q&As
Questions 15

Select all the way for one consumer to subscribe simultaneously to the following topics - topic.history, topic.sports, topic.politics? (select two)

A. consumer.subscribe(Pattern.compile("topic\..*"));

B. consumer.subscribe("topic.history"); consumer.subscribe("topic.sports"); consumer.subscribe ("topic.politics");

C. consumer.subscribePrefix("topic.");

D. consumer.subscribe(Arrays.asList("topic.history", "topic.sports", "topic.politics"));

Browse 150 Q&As
Questions 16

A consumer sends a request to commit offset 2000. There is a temporary communication problem, so the broker never gets the request and therefore never responds. Meanwhile, the consumer processed another batch and successfully committed offset 3000. What should you do?

A. Add a new consumer to the group

B. Use the kafka-consumer-group command to manually commit the offsets 2000 for the consumer group

C. Restart the consumer

D. Nothing

Browse 150 Q&As
Questions 17

To produce data to a topic, a producer must provide the Kafka client with...

A. the list of brokers that have the data, the topic name and the partitions list

B. any broker from the cluster and the topic name and the partitions list

C. all the brokers from the cluster and the topic name

D. any broker from the cluster and the topic name

Browse 150 Q&As
Questions 18

What isn't an internal Kafka Connect topic?

A. connect-status

B. connect-offsets

C. connect-configs

D. connect-jars

Browse 150 Q&As
Exam Code: CCDAK
Exam Name: Confluent Certified Developer for Apache Kafka Certification Examination
Last Update: Apr 09, 2024
Questions: 150 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99