Free CCDAK Exam Braindumps (page: 14)

Page 14 of 38

Kafka is configured with following parameters - log.retention.hours = 168 log.retention.minutes = 168 log.retention.ms = 168 How long will the messages be retained for?

  1. Broker will not start due to bad configuration
  2. 168 ms
  3. 168 hours
  4. 168 minutes

Answer(s): B

Explanation:

If more than one similar config is specified, the smaller unit size will take precedence.



To read data from a topic, the following configuration is needed for the consumers

  1. all brokers of the cluster, and the topic name
  2. any broker to connect to, and the topic name
  3. the list of brokers that have the data, the topic name and the partitions list
  4. any broker, and the list of topic partitions

Answer(s): B

Explanation:

All brokers can respond to Metadata request, so a client can connect to any broker in the cluster.



How does a consumer commit offsets in Kafka?

  1. It directly sends a message to theconsumer_offsets topic
  2. It interacts with the Group Coordinator broker
  3. It directly commits the offsets in Zookeeper

Answer(s): B

Explanation:

Consumers do not directly write to theconsumer_offsets topic, they instead interact with a broker that has been elected to manage that topic, which is the Group Coordinator broker



In Java, Avro SpecificRecords classes are

  1. automatically generated from an Avro Schema
  2. written manually by the programmer
  3. automatically generated from an Avro Schema + a Maven / Gradle Plugin

Answer(s): C

Explanation:

SpecificRecord is created from generated record classes



Page 14 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