Chapter 3 of 4 · Snowflake GES-C02

Snowflake Gen AI Governance

Model access, data safety, Cortex roles, cost control, usage views and AI Observability with TruLens.

  • 15topics
  • 1 h 5 minfast track
  • 5diagrams and exhibits
  • 29%of the exam

Topics in this chapter

Take them in order, or jump to the one you need.

  1. 1Model Access Controls and the Account-Level AllowlistControl which Cortex models users can call with the CORTEX_MODELS_ALLOWLIST parameter, its values, who sets it and why RBAC is…Diagram4 min
  2. 2Application Roles and RBAC for Model AccessUse SNOWFLAKE.MODELS objects and CORTEX-MODEL-ROLE application roles to give each role specific Cortex models and migrate off the…5 min
  3. 3Data Safety - Cross-Region Inference and GuardrailsData safety for Cortex AI: the CORTEX_ENABLED_CROSS_REGION parameter, where data goes, Cortex Guard on AI_COMPLETE and Cortex AI…Diagram4 min
  4. 4Data Safety - Sensitive Data with AI_REDACT, Hallucinations and BiasProtect sensitive data with AI_REDACT redact and detect modes, and reduce hallucinations and bias with grounding, low temperature…4 min
  5. 5REST API Authentication and Granting or Revoking Cortex AccessAuthenticate to Cortex REST APIs with PATs, key pair JWT or OAuth, set the role with X-Snowflake-Role, and grant or revoke Cortex…5 min
  6. 6Individual Privileges for Cortex Analyst, Search, Agents and Snowflake IntelligenceKnow the privileges each Cortex feature needs: search service USAGE, semantic view access, agent USAGE, MODIFY, MONITOR and…Diagram4 min
  7. 7Cortex Database Roles - CORTEX_USER, CORTEX_ANALYST_USER, CORTEX_AGENT_USER and CORTEX_EMBED_USERCompare CORTEX_USER, CORTEX_ANALYST_USER, CORTEX_AGENT_USER, CORTEX_EMBED_USER and AI_FUNCTIONS_USER: scope, PUBLIC defaults and…Diagram5 min
  8. 8Managing Cortex Costs and Cortex Agents CostsLearn how Cortex Agents are billed, cap a run with an orchestration budget of seconds and tokens, and compare budgets, quotas and…4 min
  9. 9Cortex Search Costs and the Types of Search ChargesBreak down Cortex Search costs: warehouse refresh, EMBED_TEXT tokens, serving per GB per month, storage and cloud services, plus…Diagram5 min
  10. 10Cortex Analyst Costs and Cortex AI Function Token CostsCortex Analyst bills per message and AI functions per token; see which functions bill input and output, how to minimize tokens…4 min
  11. 11Tracking Snowpark Container Services Costs and Compute PoolsTrack Snowpark Container Services spend: compute pool billing states, auto suspend, SNOWPARK_CONTAINER_SERVICES_HISTORY, storage…4 min
  12. 12Tracking Model Usage, Usage Quotas and Tags for AI Cost AttributionTrack Cortex model usage with ACCOUNT_USAGE views, enforce per-user quotas, use budgets and tags or QUERY_TAG to attribute AI…4 min
  13. 13Cortex Usage History and Metering Views in ACCOUNT_USAGEMatch ACCOUNT_USAGE views to cost questions: Analyst, AISQL, Search, REST API, provisioned throughput, METERING_DAILY_HISTORY and…4 min
  14. 14Snowflake AI Observability - Features, Evaluation Metrics and ComparisonsEvaluate GenAI apps with Snowflake AI Observability: features, evaluation metrics, run comparisons in Snowsight and the…4 min
  15. 15AI Observability Tracing, Logging, Event Tables and the TruLens SDKTrace and log GenAI apps with TruLens spans, store them in the AI_OBSERVABILITY_EVENTS event table, read them with…5 min

About this chapter

What this chapter covers

Snowflake Gen AI Governance is the chapter on who may use which Gen AI feature, how safely, at what cost, and how you can see what happened. For the SnowPro Specialty: Gen AI GES-C02 exam it tests decisions: which parameter, database role, privilege, view or option, and why.

Questions are scenarios that start with "A Gen AI Specialist needs to ...". The right answer usually turns on one detail such as a default granted to PUBLIC, a role that does not include another role, or the unit a feature is billed in.

How the topics fit together

Governance is built in layers. Access decides who may call, data safety decides where and how, cost controls decide how much, and observability proves what happened.

Accessroles, model grantslimited byData safetycross region, guardrails, AI_REDACTpriced byCosttokens, messages, poolsseen inUsage viewsACCOUNT_USAGEexplained byAI Observabilitytraces, evaluations
  • Access covers the allowlist, model application roles, the Cortex database roles, object privileges and REST authentication.
  • Data safety covers cross-region inference, Cortex Guard, Cortex AI Guardrails, sensitive data and hallucination controls.
  • Costs cover agents, search, Analyst, AI functions and Snowpark Container Services.
  • Tracking covers quotas, tags and the usage and metering views.
  • Observability covers evaluations, comparisons, tracing, event tables and TruLens.
Exam tip

When two answers both look right, pick the one with the narrowest role and the control that actually enforces. Budgets watch, quotas block, and PUBLIC grants must be revoked before a restriction means anything.

How to use these pages

Each topic page has the same shape, so you can skim for what you need.

  • What it is: the idea in plain words.
  • How it works: the mechanism, with diagrams, SQL and comparison tables.
  • Common mistakes: the classic traps.
  • What to remember for the exam: the facts to memorize.
  • Check yourself: three questions to test your understanding.

Read the pages in order the first time. Later pages reuse the roles and views from the earlier ones.

Ready for more practice?

The full Snowflake GES-C02 question bank has 585 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Snowflake. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.