ExamGecko
Question list
Search
Search

Question 567 - SnowPro Core discussion

Report
Export

Which file function provides a URL with access to a file on a stage without the need for authentication and authorization?

A.

GET_RELATIVE_PATH

Answers
A.

GET_RELATIVE_PATH

B.

GET_PRESIGNED_URL

Answers
B.

GET_PRESIGNED_URL

C.

BUILD_STAGE_FILE_URL

Answers
C.

BUILD_STAGE_FILE_URL

D.

BUILD_SCOPED_FILE_URL

Answers
D.

BUILD_SCOPED_FILE_URL

Suggested answer: B

Explanation:

The GET_PRESIGNED_URL file function in Snowflake provides a URL with access to a file on a stage without requiring authentication and authorization. This is particularly useful for sharing data files stored in Snowflake stages with external parties securely and conveniently. The presigned URL generated by this function gives temporary access to the file, which expires after a specified duration.

Example usage of GET_PRESIGNED_URL:

SELECT GET_PRESIGNED_URL('<stage_name>', '<file_path>');

This function generates a URL that can be used to directly access a file in the stage, making it easier to share data without compromising security.

Top of Form

asked 29/10/2024
Alan Phillips
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first