When enabling access to unstructured data, which URL permits temporary access to a staged file without the need to grant privileges to the stage or to issue access tokens?
Selected Answer: D
the GET_PRESIGNED_URL function to retrieve the pre-signed URLs for a set of staged files. The example specifies 60 seconds for the EXPIRATION_TIME parameter so that the pre-signed URLs will only be accessible for one minute.
CREATE OR REPLACE SECURE VIEW images_presigned_v AS
SELECT GET_PRESIGNED_URL(@mystage, relative_path, 60) AS presigned_url
FROM DIRECTORY(@mystage);
Answer is B
Scoped URL: Encoded URL that permits temporary access to a staged file without granting privileges to the stage.
The URL expires when the persisted query result period ends (i.e. the results cache expires), which is currently 24 hours.
Source: https://docs.snowflake.com/en/user-guide/unstructured-intro#:~:text=Scoped%20URL,granting%20privileges%20to%20the%20stage.
D. Pre-Signed URL
https://docs.snowflake.com/en/user-guide/unstructured-intro
Used to download or access files without authenticating into Snowflake or passing an authorization token. Pre-signed URLs are open; any user or application can directly access or download the files. Ideal for business intelligence applications or reporting tools that need to display the unstructured file contents.
Any person who has the pre-signed URL can access the referenced file for the life of the token.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Shipra123
1 month, 2 weeks agoDamu123
1 month, 2 weeks agoMSIDDIQUI18
2 months agod22770a
2 months, 1 week agosubhataanu
6 months, 4 weeks agoyaho5
8 months, 2 weeks agoyaho5
8 months, 2 weeks agoVenkataPhaniPavanKumar
9 months ago0e504b5
10 months, 1 week ago