COF-C02 · Question #70
What is the purpose of an External Function?
The correct answer is A. To call code that executes outside of Snowflake. The purpose of an External Function in Snowflake is to call code that executes outside of Snowflake. This is done by sending data from Snowflake to a remote service (typically via an HTTPS API gateway such as AWS API Gateway, Azure API Management, or Google API Gateway), which…
Question
What is the purpose of an External Function?
Options
- ATo call code that executes outside of Snowflake
- BTo run a function in another Snowflake database
- CTo share data in Snowflake with external parties
- DTo ingest data from on-premises data sources
How the community answered
(37 responses)- A92% (34)
- C3% (1)
- D5% (2)
Explanation
The purpose of an External Function in Snowflake is to call code that executes outside of Snowflake. This is done by sending data from Snowflake to a remote service (typically via an HTTPS API gateway such as AWS API Gateway, Azure API Management, or Google API Gateway), which then invokes external compute (e.g., an AWS Lambda function). The results are returned back to Snowflake. Option B is wrong because external functions are not about calling functions in another Snowflake database. Option C confuses external functions with Snowflake Data Sharing. Option D confuses them with data ingestion tools like Snowpipe or COPY INTO.
Topics
Community Discussion
No community discussion yet for this question.