Free Confluent CCDAK Exam Actual Questions

The questions for CCDAK were last updated On May 3, 2024

Question No. 1

Where are the ACLs stored in a Kafka cluster by default?

Show Answer Hide Answer
Correct Answer: A

ACLs are stored in Zookeeper node /kafka-acls/ by default.


Question No. 2

is KSQL ANSI SQL compliant?

Show Answer Hide Answer
Correct Answer: B

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


Question No. 3

What information isn't stored inside of Zookeeper? (select two)

Show Answer Hide Answer
Correct Answer: B

Consumer offsets are stored in a Kafka topic __consumer_offsets, and the Schema Registry stored schemas in the _schemas topic.


Question No. 4

Which KSQL queries write to Kafka?

Show Answer Hide Answer
Correct Answer: C, D

SHOW STREAMS and EXPLAIN <query> statements run against the KSQL server that the KSQL client is connected to. They don't communicate directly with Kafka. CREATE STREAM WITH <topic> and CREATE TABLE WITH <topic> write metadata to the KSQL command topic. Persistent queries based on CREATE STREAM AS SELECT and CREATE TABLE AS SELECT read and write to Kafka topics. Non-persistent queries based on SELECT that are stateless only read from Kafka topics, for example SELECT FROM foo WHERE . Non-persistent queries that are stateful read and write to Kafka, for example, COUNT and JOIN. The data in Kafka is deleted automatically when you terminate the query with CTRL-C.


Question No. 5

There are two consumers C1 and C2 belonging to the same group G subscribed to topics T1 and T2. Each of the topics has 3 partitions. How will the partitions be assigned to consumers with Partition Assigner being Round Robin Assigner?

Show Answer Hide Answer
Correct Answer: A

The correct option is the only one where the two consumers share an equal number of partitions amongst the two topics of three partitions. An interesting article to read ishttps://medium.com/@anyili0928/what-i-have-learned-from-kafka-partition-assignment-strategy-799fdf15d3ab