Free CCDAK Exam Braindumps (page: 10)

Page 10 of 38

There are 3 producers writing to a topic with 5 partitions. There are 5 consumers consuming from the topic. How many Controllers will be present in the cluster?

  1. 3
  2. 5
  3. 2
  4. 1

Answer(s): D

Explanation:

There is only one controller in a cluster at all times.



The exactly once guarantee in the Kafka Streams is for which flow of data?

  1. Kafka => Kafka
  2. Kafka => External
  3. External => Kafka

Answer(s): A

Explanation:

Kafka Streams can only guarantee exactly once processing if you have a Kafka to Kafka topology.



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

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

Answer(s): D

Explanation:

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



A topic receives all the orders for the products that are available on a commerce site. Two applications want to process all the messages independently - order fulfilment and monitoring. The topic has 4 partitions, how would you organise the consumers for optimal performance and resource usage?

  1. Create 8 consumers in the same group with 4 consumers for each application
  2. Create two consumers groups for two applications with 8 consumers in each
  3. Create two consumer groups for two applications with 4 consumers in each
  4. Create four consumers in the same group, one for each partition - two for fulfilment and two for monitoring

Answer(s): C

Explanation:

two partitions groups - one for each application so that all messages are delivered to both the application. 4 consumers in each as there are 4 partitions of the topic, and you cannot have more consumers per groups than the number of partitions (otherwise they will be inactive and wasting resources)



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