Exam CCDAK Topic 3 Question 14 Discussion

Actual exam question for Confluent's CCDAK exam
Question #: 14
Topic #: 3
Which KSQL queries write to Kafka?

Suggested Answer: C,D Vote an answer

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.

by iamkpr at Jul 26, 2024, 09:50 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
iamkpr
2024-07-26 09:50:03
Answer: D only, CREATE STREAM WITH and CREATE TABLE WITH primarily manage schema information within the KSQL command topic, not directly writing data to Kafka topics.
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10