SnowPro Core Certification — Question 670
A Snowflake user needs to share unstructured data from an internal stage to a reporting tool that does not have Snowflake access.
Which file function should be used?
Answer options
- A. BUILD_SCOPED_FILE_URL
- B. BUILD_STAGE_FILE_URL
- C. GET_PRESIGNED_URL
- D. GET_STAGE_LOCATION
Correct answer: C
Explanation
The correct answer is C, GET_PRESIGNED_URL, as it generates a URL that allows access to the file without requiring Snowflake credentials. The other options do not provide a way to share files with external tools effectively; they are either for building URLs within Snowflake or obtaining stage locations, which do not facilitate external access.