ExamGecko
Question list
Search
Search

Question 688 - COF-C02 discussion

Report
Export

Which Snowflake object can be used to record DML changes made to a table?

A.
Snowpipe
Answers
A.
Snowpipe
B.
Stage
Answers
B.
Stage
C.
Stream
Answers
C.
Stream
D.
Task
Answers
D.
Task
Suggested answer: C

Explanation:

Snowflake Streams are used to track and record Data Manipulation Language (DML) changes made to a table. Streams capture changes such as inserts, updates, and deletes, which can then be processed by other Snowflake objects or external applications.

Creating a Stream:

CREATE OR REPLACE STREAM my_stream ON TABLE my_table;

Using Streams: Streams provide a way to process changes incrementally, making it easier to build efficient data pipelines.

Consuming Stream Data: The captured changes can be consumed using SQL queries or Snowflake tasks.

References:

Snowflake Documentation: Using Streams

Snowflake Documentation: Change Data Capture (CDC) with Streams

asked 23/09/2024
Ayo dickson
50 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first