Free CCDAK Exam Braindumps

Pass your Confluent Certified Developer for Apache Kafka Certification Examination exam with these free Questions and Answers

Page 8 of 30
QUESTION 31

You are doing complex calculations using a machine learning framework on records fetched from a Kafka topic. It takes more about 6 minutes to process a record batch, and the consumer enters rebalances even though it's still running. How can you improve this scenario?

  1. A. Increase max.poll.interval.ms to 600000
  2. B. Increase heartbeat.interval.ms to 600000
  3. C. Increase session.timeout.ms to 600000
  4. D. Add consumers to the consumer group and kill them right away

Correct Answer: A
Here, we need to change the setting max.poll.interval.ms (default 300000) to its double in order to tell Kafka a consumer should be considered dead if the consumer only if it hasn't called the .poll() method in 10 minutes instead of 5.

QUESTION 32

You are building a consumer application that processes events from a Kafka topic. What is the most important metric to monitor to ensure real-time processing?

  1. A. UnderReplicatedPartitions
  2. B. records-lag-max
  3. C. MessagesInPerSec
  4. D. BytesInPerSec

Correct Answer: B
This metric shows the current lag (number of messages behind the broker)

QUESTION 33

We would like to be in an at-most once consuming scenario. Which offset commit strategy would you recommend?

  1. A. Commit the offsets on disk, after processing the data
  2. B. Do not commit any offsets and read from beginning
  3. C. Commit the offsets in Kafka, after processing the data
  4. D. Commit the offsets in Kafka, before processing the data

Correct Answer: D
Here, we must commit the offsets right after receiving a batch from a call to .poll()

QUESTION 34

What client protocol is supported for the schema registry? (select two)

  1. A. HTTP
  2. B. HTTPS
  3. C. JDBC
  4. D. Websocket
  5. E. SASL

Correct Answer: AB
clients can interact with the schema registry using the HTTP or HTTPS interface

QUESTION 35

Which actions will trigger partition rebalance for a consumer group? (select three)

  1. A. Increase partitions of a topic
  2. B. Remove a broker from the cluster
  3. C. Add a new consumer to consumer group
  4. D. A consumer in a consumer group shuts down Add a broker to the cluster

Correct Answer: ACD
Rebalance occurs when a new consumer is added, removed or consumer dies or paritions increased.

Page 8 of 30

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