ExamGecko
Question list
Search
Search

List of questions

Search

Question 10 - DEA-C01 discussion

Report
Export

Ron, Snowflake Developer needs to capture change data (insert only) on the source views, for that he follows the below steps:

Enable change tracking on the source views & its underlying tables.

Inserted the data via Scripts scheduled with the help of Tasks.

then simply run the below Select statements.

A.
select *
Answers
A.
select *
B.
from test_table
Answers
B.
from test_table
C.
changes(information => append_only)
Answers
C.
changes(information => append_only)
D.
at(timestamp => (select current_timestamp()));Select the Correct Query Execution Output option below:
Answers
D.
at(timestamp => (select current_timestamp()));Select the Correct Query Execution Output option below:
E.
Developer missed to create stream on the source table which can further query to cap-ture DML records.
Answers
E.
Developer missed to create stream on the source table which can further query to cap-ture DML records.
F.
Select query will fail with error: 'SQL compilation error-Incorrect Keyword "Chang-es()" found'
Answers
F.
Select query will fail with error: 'SQL compilation error-Incorrect Keyword "Chang-es()" found'
G.
No Error reported, select command gives Changed records with Metadata columns as change tracking enabled on the Source views & its underlying tables.
Answers
G.
No Error reported, select command gives Changed records with Metadata columns as change tracking enabled on the Source views & its underlying tables.
H.
Select statement complied but gives erroneous results.
Answers
H.
Select statement complied but gives erroneous results.
Suggested answer: C

Explanation:

As an alternative to streams, Snowflake supports querying change tracking metadata for tables or views using the CHANGES clause for SELECT statements. The CHANGES clause enables query-ing change tracking metadata between two points in time without having to create a stream with an explicit transactional offset.

To Know more about Snowflake CHANGES clause, please refer the mentioned link:

https://docs.snowflake.com/en/sql-reference/constructs/changes

asked 23/09/2024
Armindo Malafaia Neto
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first