Exam CCDAK Topic 3 Question 14 Discussion
Actual exam question for Confluent's CCDAK exam
Question #: 14
Topic #: 3
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
0
0
0
10
Comments
iamkpr
2024-07-26 09:50:03Upvoting 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.
Report Comment
Commenting
You can sign-up / login (it's free).