SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 30


When a Pipe is recreated using the CREATE OR REPLACE PIPE command:

Show Answer
Correct Answer: A

When the CREATE OR REPLACE PIPE command is used to recreate a pipe in Snowflake, the load history of the pipe is reset to empty. This means that the metadata of the pipe, which contains records of previously processed files, is cleared. This action can potentially result in the reloading of files if there are no other mechanisms in place to prevent it. The REFRESH parameter is not automatically set to TRUE upon recreating a pipe, and there are no inherent mechanisms to ignore previously loaded files as suggested in other options.

Discussion

40 comments
Sign in to comment
jjordan
Jan 1, 2022

I believe the correct answer is A. REFRESH is a parameter for ALTER PIPE https://docs.snowflake.com/en/sql-reference/sql/alter-pipe.html It is NOT a parameter for CREATE [OR REPLACE] Pipe. https://docs.snowflake.com/en/sql-reference/sql/create-pipe.html Further recreating a pipe resets history: https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage.html#label-snowpipe-management-recreate-pipes "Load History The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped. In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently."

Hello1991
Jan 13, 2022

"Load History The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped. In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently." correct answer is A.

aqmdla2002Option: A
Mar 20, 2022

https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage.html#load-history "When a pipe is recreated, the load history is dropped."

PrithviPatilOption: A
Apr 18, 2022

should be A

SV1122
Jan 1, 2023

Was on exam Dec 31st, 2022

Sid460545
Jan 30, 2022

Correct is A

EmiBOption: A
Mar 6, 2023

REFRESH is a parameter for ALTER PIPE

Marge23
Sep 16, 2023

A is the correct ans. Load History The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped. In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently.

_yyuktaOption: A
Feb 23, 2024

a is correct

Anithec0der
Jul 20, 2024

correct answer: A

kentucky13caa
Nov 15, 2024

The correct answer is D. All of the above. When a Pipe is recreated using the CREATE OR REPLACE PIPE command: The Pipe load history is reset to empty (A is true) The REFRESH parameter is automatically set to TRUE (B is true) Previously loaded files will be ignored (C is true) Therefore, since all three statements (A, B, and C) are true, D "All of the above" is the correct answer. This is important to understand because recreating a pipe effectively gives you a fresh start - clearing history, refreshing the pipe, and ignoring previously processed files.

Fab33Option: A
Jan 12, 2022

I believe the correct answer is A.

Sid460545
Jan 30, 2022

A should be correct

addixionOption: C
Mar 31, 2022

I you recreate a pipe and then do a refresh you will see that the list of files previously loaded are still here.

Graghu
May 9, 2022

it is A

SysWizOption: A
Aug 10, 2022

A is the answer.

bharathmvOption: B
Sep 7, 2022

B is correct https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage.html#recreating-pipes-for-automated-data-loads before recreating pipe Pause the pipe (using ALTER PIPE … SET PIPE_EXECUTION_PAUSED = true) is set and subsequent effect of this is " When a pipe is recreated, the load history is dropped."

stornatiOption: A
Nov 14, 2022

Load History The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped. In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently. https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage.html#recreating-pipes-for-automated-data-loads

Tapasgup007Option: A
Dec 3, 2022

A is correct

ajay_1233456
Jan 22, 2023

A is correct

rajivgupta780Option: A
Jan 22, 2023

A is correct. The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped. In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently. https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage.html#recreating-pipes

Mayuri917233Option: B
May 11, 2023

B is correct

Mayuri917233Option: B
May 11, 2023

B is the answer

VEEDOL
May 30, 2023

correct option is A https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage check load history topic

krishnak2244
Jun 6, 2023

D is correct Recreating Pipes - Load History:(As per documentation) The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped. In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently. https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage#label-snowpipe-management-recreate-pipes

shubtred
Jun 12, 2023

D When a Pipe is recreated using the CREATE OR REPLACE PIPE command, the load history is reset, the REFRESH parameter is set to TRUE, and previously loaded files are ignored.

PoornaChandraIn
Jul 4, 2023

Answer is A. Ref: https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage

BobFar
Oct 10, 2023

The correct answer is A https://docs.snowflake.com/en/user-guide/data-load-snowpipe-manage

Mitchdu
Dec 29, 2024

It literally lists all the options on this link,.but scattered throughout text so you have to find them. So D.

PrashantGupta1616Option: A
Jun 6, 2024

A. The Pipe load history is reset to empty When you recreate a pipe using CREATE OR REPLACE PIPE, the load history for the pipe is reset, which means Snowflake will no longer have a record of the files that were previously processed by that pipe. This can affect how subsequent loads are handled, but the REFRESH parameter and handling of previously loaded files are not automatically impacted in the ways described by options B and C.

pranalig
Jun 16, 2024

Correct answer:A

Mallikharjuna452
Jul 18, 2024

A Is correct Answer

VLMBL_94
Aug 6, 2024

the answer is A

VLMBL_94Option: A
Aug 6, 2024

Refresh is used with alter pipe

jirizOption: D
Sep 30, 2024

D - All options (A,B,C) is correct

CartoffeeOption: D
Mar 3, 2025

D is correct here

akomalOption: D
Mar 24, 2025

when recreating a pipe with CREATE OR REPLACE PIPE, all these behaviors apply, making D. All of the above the correct answer

PrasantSadangiOption: A
Mar 27, 2025

Answer is A The pipe load history is set to empty. The load history for Snowpipe operations is stored in the metadata of the pipe object. When a pipe is recreated, the load history is dropped.In general, this condition only affects users if they subsequently execute an ALTER PIPE … REFRESH statement on the pipe. Doing so could load duplicate data from staged files in the storage location for the pipe if the data was already loaded successfully and the files were not deleted subsequently.

4762448Option: C
Apr 2, 2025

Correct answer is A,C

jeny12138Option: A
Apr 7, 2025

A is correct

Vijaya15Option: D
May 5, 2025

D Snowflake clears the load history for the pipe. Setting REFRESH = TRUE tells Snowflake to re-evaluate the staged files. Snowpipe uses the new pipe definition and skips previously processed files,