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?
Answer(s): D
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?
Answer(s): A
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?
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?
Answer(s): C
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)
Post your Comments and Discuss Confluent CCDAK exam with other Community members:
Testbear commented on June 13, 2023 please upload ITALY upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CCDAK content, but please register or login to continue.