Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SnowPro Advanced Data Engineer All Questions

View all questions & answers for the SnowPro Advanced Data Engineer exam

Exam SnowPro Advanced Data Engineer topic 1 question 23 discussion

Actual exam question from Snowflake's SnowPro Advanced Data Engineer
Question #: 23
Topic #: 1
[All SnowPro Advanced Data Engineer Questions]

A table is loaded using Snowpipe and truncated afterwards. Later, a Data Engineer finds that the table needs to be reloaded, but the metadata of the pipe will not allow the same files to be loaded again.
How can this issue be solved using the LEAST amount of operational overhead?

  • A. Wait until the metadata expires and then reload the file using Snowpipe.
  • B. Modify the file by adding a blank row to the bottom and re-stage the file.
  • C. Set the FORCE=TRUE option in the Snowpipe COPY INTO command.
  • D. Recreate the pipe by using the CREATE OR REPLACE PIPE command.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
MultiCloudGuru
4 months ago
Selected Answer: D
Files modified and staged again within 14 days : Snowpipe ignores modified files that are staged again. To reload modified data files, it is currently necessary to recreate the pipe object using the CREATE OR REPLACE PIPE syntax.
upvoted 1 times
...
claudiamilena11
8 months, 2 weeks ago
https://docs.snowflake.com/en/sql-reference/sql/create-pipe#usage-notes FORCE is not a valid option for Snowpipe: -----All COPY INTO <table> copy options are supported except for the following: FILES = ( 'file_name1' [ , 'file_name2', ... ] ) ON_ERROR = ABORT_STATEMENT SIZE_LIMIT = num PURGE = TRUE | FALSE (i.e. automatic purging while loading) FORCE = TRUE | FALSE RETURN_FAILED_ONLY = TRUE | FALSE VALIDATION_MODE = RETURN_n_ROWS | RETURN_ERRORS | RETURN_ALL_ERRORS
upvoted 1 times
...
ivanjs44
8 months, 3 weeks ago
I think is D. If you modify the COPY INTO statement you need to recreate the pipe. Then you need to (1) modify the COPY INTO and (2)recreate the pipe. 2 Steps. If you recreate the pipe directly you will reload again the files. 1 Step.
upvoted 1 times
...
prshntdxt7
10 months, 1 week ago
Selected Answer: C
C. Set the FORCE=TRUE option in the Snowpipe COPY INTO command. Using the FORCE=TRUE option in the Snowpipe COPY INTO command allows reloading files even if they have been loaded previously. This can be useful in situations where you need to reload data, and the metadata of the pipe is preventing the same files from being loaded again. It minimizes operational overhead by avoiding the need to wait for metadata expiration or modifying the files.
upvoted 1 times
...
5effea7
10 months, 1 week ago
Selected Answer: C
According to https://docs.snowflake.com/en/sql-reference/sql/copy-into-table FORCE = TRUE would "load all files, regardless of whether they’ve been loaded previously and have not changed since they were loaded". The question asked for the least impact. C is the least impact
upvoted 1 times
...
stopthisnow
1 year ago
Selected Answer: D
Snowpipe ignores modified files that are staged again. To reload modified data files, it is currently necessary to recreate the pipe object using the CREATE OR REPLACE PIPE syntax. https://docs.snowflake.com/en/user-guide/data-load-snowpipe-ts
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...