QuestionQ2

VerifiedUse GenAI and LLM capabilities in Snowflake

A Data Scientist observed high usage of Snowflake Cortex LLM functions.

Which command restricts user access?

Explanation

SNOWFLAKE.CORTEX_USER is a Snowflake database role that is granted to the PUBLIC role by default, allowing users to access Cortex AI functions. Revoking that database role from PUBLIC removes the default broad access; the appropriate syntax is REVOKE DATABASE ROLE ... FROM ROLE PUBLIC.

Learn more

Community Discussion

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