ExamGecko
Question list
Search
Search

Question 670 - COF-C02 discussion

Report
Export

What Snowflake recommendation is designed to ensure that staged data is only loaded once'?

A.
Partitioning staged data files
Answers
A.
Partitioning staged data files
B.
Loading only the most recently-staged data files
Answers
B.
Loading only the most recently-staged data files
C.
Removing data files after loading
Answers
C.
Removing data files after loading
D.
Identifying and removing duplicates after each data load
Answers
D.
Identifying and removing duplicates after each data load
Suggested answer: C

Explanation:

Snowflake recommends removing data files from the staging area after they have been loaded into the target table. This practice ensures that the data is only loaded once and prevents accidental reloading of the same data. By removing the files, you eliminate the risk of duplicate data loads.

Stage the Data: Upload the data files to a Snowflake stage (internal or external).

Load the Data: Use the COPY INTO command to load the data from the stage into the Snowflake table.

Remove the Data Files: After successfully loading the data, remove the data files from the stage using the REMOVE command.

References:

Snowflake Documentation: Loading Data into Snowflake

Snowflake Documentation: Staging Data Files

Snowflake Documentation: COPY INTO Command

asked 23/09/2024
Srikrushna Patro
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first