ExamGecko
Question list
Search
Search

Question 694 - COF-C02 discussion

Report
Export

Use of which file function allows a user to share unstructured data from an internal stage with an external reporting tool that does not have access to Snowflake'>

A.
BUILD_SCOPED_FILE_URL
Answers
A.
BUILD_SCOPED_FILE_URL
B.
GET_PRESIGNED_URL
Answers
B.
GET_PRESIGNED_URL
C.
BUILD_STAGE_FILE_URL
Answers
C.
BUILD_STAGE_FILE_URL
D.
GET_STAGE_LOCATION
Answers
D.
GET_STAGE_LOCATION
Suggested answer: B

Explanation:

The GET_PRESIGNED_URL function in Snowflake generates a pre-signed URL for a file in an internal stage. This URL can be shared with external tools or users who do not have direct access to Snowflake, allowing them to download the file.

Generate Pre-Signed URL:

SELECT GET_PRESIGNED_URL(@my_stage/file.txt);

Share the URL: The generated URL can be shared with external users or applications, enabling them to access the file directly.

References:

Snowflake Documentation: GET_PRESIGNED_URL

Snowflake Documentation: Working with Stages


asked 23/09/2024
Jose Castillo
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first