ExamGecko
Question list
Search
Search

Question 21 - DSA-C02 discussion

Report
Export

Mark the Incorrect understanding of Data Scientist about Streams?

A.
Streams on views support both local views and views shared using Snowflake Secure Data Sharing, including secure views.
Answers
A.
Streams on views support both local views and views shared using Snowflake Secure Data Sharing, including secure views.
B.
Streams can track changes in materialized views.
Answers
B.
Streams can track changes in materialized views.
C.
Streams itself does not contain any table data.
Answers
C.
Streams itself does not contain any table data.
D.
Streams do not support repeatable read isolation.
Answers
D.
Streams do not support repeatable read isolation.
Suggested answer: B, D

Explanation:

Streams on views support both local views and views shared using Snowflake Secure Data Sharing, including secure views. Currently, streams cannot track changes in materialized views.

stream itself does not contain any table data. A stream only stores an offset for the source object and returns CDC records by leveraging the versioning history for the source object. When the first stream for a table is created, several hidden columns are added to the source table and begin storing change tracking metadata. These columns consume a small amount of storage. The CDC records returned when querying a stream rely on a combination of the offset stored in the stream and the change tracking metadata stored in the table. Note that for streams on views, change tracking must be enabled explicitly for the view and underlying tables to add the hidden columns to these tables.

Streams support repeatable read isolation. In repeatable read mode, multiple SQL statements within a transaction see the same set of records in a stream. This differs from the read committed mode supported for tables, in which statements see any changes made by previous statements executed within the same transaction, even though those changes are not yet committed.

The delta records returned by streams in a transaction is the range from the current position of the stream until the transaction start time. The stream position advances to the transaction start time if the transaction commits; otherwise it stays at the same position.

asked 23/09/2024
Azwihangwisi Ntikane
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first