Free CCDAK Exam Braindumps (page: 20)

Page 20 of 38

The Controller is a broker that is... (select two)

  1. elected by Zookeeper ensemble
  2. is responsible for partition leader election
  3. elected by broker majority
  4. is responsible for consumer group rebalances

Answer(s): A,B

Explanation:

Controller is a broker that in addition to usual broker functions is responsible for partition leader election. The election of that broker happens thanks to Zookeeper and at any time only one broker can be a controller




What kind of delivery guarantee this consumer offers?

  1. Exactly-once
  2. At-least-once
  3. At-most-once

Answer(s): C

Explanation:

Here offset is committed before processing the message. If consumer crashes before processing the message, message will be lost when it comes back up.



What Java library is KSQL based on?

  1. Kafka Streams
  2. REST Proxy
  3. Schema Registry
  4. Kafka Connect

Answer(s): A

Explanation:

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



A producer application was sending messages to a partition with a replication factor of 2 by connecting to Broker 1 that was hosting partition leader. If the Broker 1 goes down, what will happen?

  1. The producer will automatically produce to the broker that has been elected leader
  2. The topic will be unavailable
  3. The producer will stop working

Answer(s): A

Explanation:

Once the client connects to any broker, it is connected to the entire cluster and in case of leadership changes, the clients automatically do a Metadata Request to an available broker to find out who is the new leader for the topic. Hence the producer will automatically keep on producing to the correct Kafka Broker



Page 20 of 38



Post your Comments and Discuss Confluent CCDAK exam with other Community members:

Testbear commented on June 13, 2023
please upload
ITALY
upvote

Testbear commented on June 13, 2023
please upload
ITALY
upvote