You are tasked with deploying a pre-trained sentiment analysis model hosted externally using AWS SageMaker. The model endpoint requires an API key for authentication, and you want to score customer reviews stored in a Snowflake table named 'CUSTOMER REVIEWS. Which of the following steps are necessary to securely and efficiently integrate this external model with Snowflake, assuming you have already created a Snowflake stage to store secrets?
Correct Answer: B,D
Options B and D are correct. Option B correctly identifies the importance of using a Snowflake secret object for secure API key management and proper privilege granting. Option D further refines this, specifying USAGE privilege for the service account, essential for accessing the secret during external function execution. Option A is incorrect because hardcoding the API key is a security risk. Option C is incorrect because a secure external stage is required to communicate with external services. Option E is partially correct about using environment variable in Lambda, but it doesn't address Snowflake side setup, and still Snowflake needs to be set up to call the external endpoint and manage security.