Free CCDAK Exam Dumps

Question 11

In Kafka, every broker... (select three)

Correct Answer:BEF
Kafka topics are divided into partitions and spread across brokers. Each brokers knows about all the metadata and each broker is a bootstrap broker, but only one of them is elected controller

Question 12

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

Correct Answer:B
Consumer offsets are stored in a Kafka topic consumer_offsets, and the Schema Registry stored schemas in the _schemas topic.

Question 13

In Avro, removing a field that does not have a default is a schema evolution

Correct Answer:C
Clients with new schema will be able to read records saved with old schema.

Question 14

There are 3 producers writing to a topic with 5 partitions. There are 10 consumers consuming from the topic as part of the same group. How many consumers will remain idle?

Correct Answer:D
One consumer per partition assignment will keep 5 consumers idle.

Question 15

Which KSQL queries write to Kafka?

Correct Answer:CD
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.