ExamGecko
Question list
Search
Search

List of questions

Search

Question 8 - DEA-C01 discussion

Report
Export

Mark the Incorrect Statements with respect to types of streams supported by Snowflake?

A.
Standard streams cannot retrieve update data for geospatial data.
Answers
A.
Standard streams cannot retrieve update data for geospatial data.
B.
An append-only stream returns the appended rows only and therefore can be much more performant than a standard stream for extract, load, transform (ELT).
Answers
B.
An append-only stream returns the appended rows only and therefore can be much more performant than a standard stream for extract, load, transform (ELT).
C.
Insert-only Stream supported on external tables only.
Answers
C.
Insert-only Stream supported on external tables only.
D.
An insert-only stream tracks row inserts & Delete ops only
Answers
D.
An insert-only stream tracks row inserts & Delete ops only
Suggested answer: D

Explanation:

Standard Stream:

Supported for streams on tables, directory tables, or views. A standard (i.e. delta) stream tracks all

DML changes to the source object, including inserts, updates, and deletes (including table truncates).

This stream type performs a join on inserted and deleted rows in the change set to provide the row level delta. As a net effect, for example, a row that is inserted and then deleted between two transactional points of time in a table is removed in the delta (i.e. is not returned when the stream is queried).

Append-only Stream:

Supported for streams on standard tables, directory tables, or views. An append-only stream tracks row inserts only. Update and delete operations (including table truncates) are not recorded. For example, if 10 rows are inserted into a table and then 5 of those rows are deleted before the offset for an append-only stream is advanced, the stream records 10 rows.

An append-only stream returns the appended rows only and therefore can be much more performant than a standard stream for extract, load, transform (ELT) and similar scenarios that depend exclu-sively on row inserts. For example, a source table can be truncated immediately after the rows in an append-only stream are consumed, and the record deletions do not contribute to the overhead the next time the stream is queried or consumed.

Insert-only Stream:

Supported for streams on external tables only. An insert-only stream tracks row inserts only; they do not record delete operations that remove rows from an inserted set (i.e. no-ops). For example, inbetween any two offsets, if File1 is removed from the cloud storage location referenced by the external table, and File2 is added, the stream returns records for the rows in File2 only. Unlike when tracking CDC data for standard tables, Snowflake cannot access the historical records for files in cloud storage.

asked 23/09/2024
Istvan Flach
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first