QuestionQ5

Snowflake Gen AI Governance

A Snowflake ACCOUNTADMIN must restrict LLM usage by granting access only to individual roles. For this purpose, they disabled LLM usage for every model in the account.

Which commands enable the GENAI_DEVELOPER role to use the COMPLETE function with the llama3.1–70b model?

  • A
  • B
  • C
  • D
Explanation

When the account allowlist blocks model access, a role needs the model-specific Snowflake application role SNOWFLAKE."CORTEX-MODEL-ROLE-LLAMA3.1-70B" to use that model. Calling SNOWFLAKE.CORTEX.COMPLETE also requires the SNOWFLAKE.CORTEX_USER database role. Granting both roles to GENAI_DEVELOPER provides the required function privilege and least-privilege access to the specified model.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!