ExamGecko
Question list
Search
Search

List of questions

Search

Question 52 - ARA-C01 discussion

Report
Export

What built-in Snowflake features make use of the change tracking metadata for a table? (Choose two.)

A.
The MERGE command
Answers
A.
The MERGE command
B.
The UPSERT command
Answers
B.
The UPSERT command
C.
The CHANGES clause
Answers
C.
The CHANGES clause
D.
A STREAM object
Answers
D.
A STREAM object
E.
The CHANGE_DATA_CAPTURE command
Answers
E.
The CHANGE_DATA_CAPTURE command
Suggested answer: C, D

Explanation:

The built-in Snowflake features that make use of the change tracking metadata for a table are the CHANGES clause and a STREAM object.The CHANGES clause enables querying the change tracking metadata for a table or view within a specified interval of time without having to create a stream with an explicit transactional offset1. A STREAM object records data manipulation language (DML) changes made to tables, including inserts, updates, and deletes, as well as metadata about each change, so that actions can be taken using the changed data.This process is referred to as change data capture (CDC)2. The other options are incorrect because they do not make use of the change tracking metadata for a table.The MERGE command performs insert, update, or delete operations on a target table based on the results of a join with a source table3. The UPSERT command is not a valid Snowflake command. The CHANGE_DATA_CAPTURE command is not a valid Snowflake command.Reference:CHANGES | Snowflake Documentation,Change Tracking Using Table Streams | Snowflake Documentation,MERGE | Snowflake Documentation

asked 23/09/2024
Fabrizio Leo
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first