QuestionQ31
VerifiedOfficial exam objectives/topicsA Data Engineer uses a Snowpark Python User-Defined Function (UDF) that invokes a third-party fraud-scoring REST API through the requests library. The API key is not hard-coded in the handler.
The UDF is registered as a permanent function and succeeds in local testing, but it consistently encounters name-resolution and network errors when run in Snowflake. The Engineer wants to avoid placing the API key in code while keeping all processing within Snowflake.
How should these requirements be fulfilled?
Community Discussion