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

Exam SnowPro Advanced Architect All Questions

View all questions & answers for the SnowPro Advanced Architect exam

Exam SnowPro Advanced Architect topic 1 question 4 discussion

Actual exam question from Snowflake's SnowPro Advanced Architect
Question #: 4
Topic #: 1
[All SnowPro Advanced Architect Questions]

An Architect uses COPY INTO with the ON_ERROR=SKIP_FILE option to bulk load CSV files into a table called TABLEA, using its table stage. One file named file5.csv fails to load. The Architect fixes the file and re-loads it to the stage with the exact same file name it had previously.
Which commands should the Architect use to load only file5.csv file from the stage? (Choose two.)

  • A. COPY INTO tablea FROM @%tablea RETURN_FAILED_ONLY = TRUE;
  • B. COPY INTO tablea FROM @%tablea;
  • C. COPY INTO tablea FROM @%tablea FILES = ('file5.csv');
  • D. COPY INTO tablea FROM @%tablea FORCE = TRUE;
  • E. COPY INTO tablea FROM @%tablea NEW_FILES_ONLY = TRUE;
  • F. COPY INTO tablea FROM @%tablea MERGE = TRUE;
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Gandharv75
2 days, 1 hour ago
Option B and C are correct. Question says bulk load files, so there may be files other than fil5.csv. When File5.csv was modified and re-uploaded a new checksum was generated by snowflake, so B. COPY INTO tablea FROM @%tablea- will work as it won't load the files already loaded first time except file5.csv which has a new checksum now. Also, C. COPY INTO tablea FROM @%tablea FILES = ('file5.csv'); works because it specifically requests file5.csv to be loaded only(which already has anew checksum,so will be loaded successfully) Hence B and C only..
upvoted 1 times
...
ggorzki
4 months, 3 weeks ago
Selected Answer: BC
B and C Parameter NEW_FILES_ONLY does not exist. File is already changed in the stage, so FORCE = TRUE is not needed. Besides, it would load duplicates from the other files that reside in the stage.
upvoted 1 times
...
laksnarn
5 months ago
C & D Here's the reasoning: C. COPY INTO tablea FROM @%tablea FILES = ('file5.csv'); This command specifically targets the file file5.csv, ensuring that only this file is loaded. D. COPY INTO tablea FROM @%tablea FORCE = TRUE; This command forces the reloading of the file, ignoring any previous load history and thus ensuring the fixed file5.csv is loaded even if the system might otherwise think it has already been processed.
upvoted 2 times
...
ivanjs44
7 months ago
The key of this question is that say: The Architect fixes the file and re-loads Here in Snowflake documentation: https://docs.snowflake.com/en/sql-reference/sql/copy-into-table#usage-notes To reload the data, you must either specify FORCE = TRUE or ******modify the file and stage it again, which generates a new checksum.****
upvoted 1 times
...
cornz55
11 months, 3 weeks ago
The answer is C and D. You cannot choose C and take any other answer other than D because the file was previously loaded (with failure). So C will never work again unless there is D.
upvoted 1 times
...
jjordan
11 months, 4 weeks ago
Selected Answer: BC
there is not NEW_FILES_ONLY options.
upvoted 3 times
...
anikl
1 year ago
There is no NEW_FILES_ONLY option. B and C are the correct
upvoted 3 times
...
jabibo
1 year, 2 months ago
B and C
upvoted 1 times
...
chagantik90
1 year, 3 months ago
+1 serg_khar, should be B and C
upvoted 1 times
...
Arbind_Chandra
1 year, 4 months ago
B and C are the correct answers.
upvoted 3 times
...
Needium
1 year, 5 months ago
The correct answer is B&C
upvoted 2 times
...
SrideviJ
1 year, 5 months ago
BC are the correct answers I think
upvoted 2 times
...
serg_khar
1 year, 7 months ago
Key point here - "ON_ERROR=SKIP_FILE". It means that file hasn't loaded. I we want to load the file we have to point it explicitly - this is C option or load all unloaded files (with file5.csv); its B option. If we use FORCE we will load again ALL data from the stage - it doesn't look as a good option.
upvoted 4 times
...
henrik0
1 year, 7 months ago
I think purge and force are the currect answers
upvoted 1 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 ...