You're tasked with building an external function in Snowflake that calls an API to enrich customer data with geographical information (latitude and longitude) based on their IP address. The API endpoint requires an API key passed in the headen Your external function definition looks like this: "'sql CREATE OR REPLACE EXTERNAL FUNCTION VARCHAR) RETURNS VARIANT VOLATILE MAX BATCH ROWS = 100 RETURNS NULL ON NULL INPUT API INTEGRATION = AS 'https://api.example.com/geo'; Which of the following steps are essential to ensure the external function correctly passes the API key to the external service, handles rate limiting from the API, and correctly parses the JSON response from the external service (Assume the API returns a JSON object with 'latitude' and 'longitude' fields)?
Correct Answer: A,B,C,E
The correct answers are A, B, C and E. Option A is necessary to establish trust between Snowflake and the external service. Option B ensures the API key is securely passed, rate limiting is handled gracefully, proper exception handling is implemented, and JSON is properly parsed. Option C provides proper privleges. Option E provide proper monitoring. Option D is incorrect because embedding API keys in the URL is a security vulnerability.