COF-C02 practice question 23 of 35

True or False: Snowpipe via REST API can only reference External Stages as source.

Full set: 778 questions
Answer options
A: True Correct answer
B: False
Correct Answer:
F; A. True; L; S; E
Explanation

The statement is false. The Snowpipe REST API, specifically the insertFiles endpoint, can be used to trigger data loads from files located in both internal (i.e., Snowflake) stages and external stages (e.g., Amazon S3, Google Cloud Storage, Microsoft Azure Blob Storage). The API call requires specifying the path to the data files, and these files can reside in any type of stage that the pipe is configured to monitor.

Why Incorrect

The statement "True" is incorrect because it presents a false limitation. The Snowpipe REST API is not restricted to only external stages. The official Snowflake documentation explicitly confirms its capability to ingest files from internal stages as well, providing flexibility in data loading workflows.

References

1. Snowflake Documentation: Calling the Snowpipe REST Endpoints to Load Data.

Section: POST /v1/data/pipes/{pipeName}/insertFiles

Reference: In the description of the JSON request body for this endpoint

the files parameter is defined as: "A list of files to ingest. The files must already be staged in the internal (i.e. Snowflake) or external stage for the table." This directly confirms that both internal and external stages are supported sources.

Scroll to Top