COF-C02 · Question #343
A user wants to access files stored in a stage without authenticating into Snowflake. Which type of URL should be used?
The correct answer is D. Pre-signed URL. Pre-signed URLs (generated by the GET_PRESIGNED_URL function) embed temporary, time-limited credentials directly into the URL itself. This allows any holder of the URL to access the file directly from cloud storage (S3, Azure Blob, GCS) without ever authenticating to Snowflake…
Question
A user wants to access files stored in a stage without authenticating into Snowflake. Which type of URL should be used?
Options
- AFile URL
- BStaged URL
- CScoped URL
- DPre-signed URL
How the community answered
(45 responses)- A4% (2)
- B2% (1)
- C2% (1)
- D91% (41)
Explanation
Pre-signed URLs (generated by the GET_PRESIGNED_URL function) embed temporary, time-limited credentials directly into the URL itself. This allows any holder of the URL to access the file directly from cloud storage (S3, Azure Blob, GCS) without ever authenticating to Snowflake. They are ideal for sharing files with external users or applications. Scoped URLs require Snowflake authentication and are used within Snowflake sessions. File URLs also require Snowflake authentication and are persistent references. 'Staged URL' is not a Snowflake URL type. Pre-signed URLs are the only type that grants unauthenticated, direct file access.
Topics
Community Discussion
No community discussion yet for this question.