Question 31

A consumer has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group never committed offsets for the topic before. Where will the consumer read from?

Correct Answer:A
Latest means that data retrievals will start from where the offsets currently end

Question 32

is KSQL ANSI SQL compliant?

Correct Answer:B
KSQL is not ANSI SQL compliant, for now there are no defined standards on streaming SQL languages

Question 33

You are using JDBC source connector to copy data from 3 tables to three Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?

Correct Answer:A
here, we have three tables, but the max.tasks is 2, so that's the maximum number of tasks that will be created

Question 34

A topic has three replicas and you set min.insync.replicas to 2. If two out of three replicas are not available, what happens when a produce request with acks=all is sent to broker?

Correct Answer:A
With this configuration, a single in-sync replica becomes read-only. Produce request will receive NotEnoughReplicasException.

START CCDAK EXAM