ExamGecko
Question list
Search
Search

Question 423 - COF-C02 discussion

Report
Export

Which file function gives a user or application access to download unstructured data from a Snowflake stage?

A.
BUILD_SCOPED_FILE_URL
Answers
A.
BUILD_SCOPED_FILE_URL
B.
BUILD_STAGE_FILE_URL
Answers
B.
BUILD_STAGE_FILE_URL
C.
GET_PRESIGNED_URL
Answers
C.
GET_PRESIGNED_URL
D.
GET STAGE LOCATION
Answers
D.
GET STAGE LOCATION
Suggested answer: C

Explanation:

The function that provides access to download unstructured data from a Snowflake stage is:

C . GET_PRESIGNED_URL: This function generates a presigned URL for a single file within a stage. The generated URL can be used to directly access or download the file without needing to go through Snowflake. This is particularly useful for unstructured data such as images, videos, or large text files, where direct access via a URL is needed outside of the Snowflake environment.

Example usage:

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

This function simplifies the process of securely sharing or accessing files stored in Snowflake stages with external systems or users.

References:

Snowflake Documentation: GET_PRESIGNED_URL Function at Snowflake Documentation

asked 23/09/2024
Jerin cherian
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first