
Answer-first summary for fast verification
Answer: Anyone who has the URL can access the referenced file for the life of the token.
According to Snowflake documentation on unstructured data file access, pre-signed URLs provide time-limited access to files without requiring the user to have direct privileges on the stage or file. Option A is correct because anyone with the URL can access the file during the token's validity period, regardless of their Snowflake role or privileges. Option B is incorrect because the URL can be shared and used by anyone, not just the generating user. Option C is incorrect as no specific role privileges are required to use the URL. Option D is incorrect because the GET REST API call doesn't require the role to have stage privileges - the pre-signed URL itself contains the necessary authorization.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How does authorization work for a pre-signed URL that provides access to an unstructured data file?
A
Anyone who has the URL can access the referenced file for the life of the token.
B
Only the user who generates the URL can use the URL to access the referenced file.
C
Only the users who have roles with sufficient privileges on the URL can access the referenced file.
D
The role specified in the GET REST API call must have sufficient privileges on the stage to access the referenced file using the URL.