ExamGecko
Question list
Search
Search

List of questions

Search

Question 87 - DEA-C01 discussion

Report
Export

Data Engineer is looking out to delete staged files automatically/periodically when the data is successfully loaded into tables by the Snowpipe. For achieving the same, which options/command is best suited: [Select 2]

A.
PURGE option can be set as True in the COPY INTO Command embedded in PIPE objects definition.
Answers
A.
PURGE option can be set as True in the COPY INTO Command embedded in PIPE objects definition.
B.
To remove staged files that no longer needed, periodically REMOVE command can be executed to delete the files.
Answers
B.
To remove staged files that no longer needed, periodically REMOVE command can be executed to delete the files.
C.
To remove staged files that no longer needed, periodically DELETE command can be executed to delete the files.
Answers
C.
To remove staged files that no longer needed, periodically DELETE command can be executed to delete the files.
D.
REMOVE_STAGE_FILES option can be set as True in the COPY INTO Command embedded in PIPE objects definition.
Answers
D.
REMOVE_STAGE_FILES option can be set as True in the COPY INTO Command embedded in PIPE objects definition.
Suggested answer: A, B

Explanation:

Deleting Staged Files After Snowpipe Loads the Data

Pipe objects do not support the PURGE copy option. Snowpipe cannot delete staged files automatically when the data is successfully loaded into tables.

To remove staged files that you no longer need, It is recommended to periodically executing the REMOVE command to delete the files.

Alternatively, configure any lifecycle management features provided by cloud storage service provider.

asked 23/09/2024
Hany Mohammed
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first