CertSafari
    Snowflake SnowPro Advanced: Administrator (ADA-C02)· Lessons

    Domain 1 · Lesson 4/24

    Snowflake future grants, clone privileges, and usage and Cortex access

    Given a scenario, fine-tune access controls.

    10 min read
    4.43% of exam
    8 sources
    Published 20 Oct 2026
    Docs as of 18 Oct 2026

    What you will be able to do

    • Grant privileges on objects that do not exist yet, and predict which future grant applies
    • Use managed access schemas to move grant decisions from object owners to the schema owner
    • State which grants a cloned database or schema keeps and which must be re-granted
    • Let non-ACCOUNTADMIN roles see usage, billing and security data through SNOWFLAKE database roles
    • Restrict Cortex AI functions and models to the roles that should use them

    1.Future grants and managed access schemas

    Grants on existing objects do not cover objects created later. GRANT SELECT ON ALL TABLES IN SCHEMA touches only the tables that exist when it runs, so a read-only role silently loses coverage the first time an engineer adds a table. A future grant closes that gap. It is defined on a database or schema for one object type, and Snowflake applies it automatically to each new object of that type.

    Extending a read-only role to tables created later in schema d1.s1sql
    GRANT SELECT ON FUTURE TABLES IN SCHEMA d1.s1 TO ROLE read_only;

    That precedence rule is the restriction most likely to catch people out. A team that adds a schema-level future grant for one new consumer cuts every database-level future grant for that object type out of that schema. Any role that still needs access has to be repeated at the schema level. Future grants are also restricted in who may create them. At database level, and in a standard schema, the grantor needs the global MANAGE GRANTS privilege, which SECURITYADMIN and ACCOUNTADMIN hold by default. Granting future privileges to a database role also needs USAGE on the database that contains it.

    Managed access schemas change who decides about grants. In a regular schema, the role that owns an object can grant access to it. In a schema created WITH MANAGED ACCESS, object owners lose that ability. Only the schema owner or a role with MANAGE GRANTS can grant privileges on the schema's objects, and the schema owner can define future grants there as well. Use a managed access schema when developers should be free to create tables but should not decide who reads them. MANAGE GRANTS can also be granted on a single database or schema, which limits the delegate to that container.

    Checkpoint 1 of 6· Fill the gap

    The read_only role already has SELECT on every table that exists in d1.s1. Which keyword completes this statement so the role also gets SELECT on tables that engineers create in d1.s1 later?

    GRANT SELECT ON  ?  TABLES IN SCHEMA d1.s1 TO ROLE read_only;

    Checkpoint 2 of 6· Check yourself

    Developers must be free to create tables in a schema, but they must not decide who can read those tables. Grant decisions should stay with the schema owner or a central security role. Which design does this?

    Sources1234

    2.Which grants a clone keeps

    A zero-copy clone copies a database, schema or table without duplicating storage. For grants, the rule depends on whether a privilege sits on the container or on the objects inside it. When you clone a database or schema, every child object's clone inherits the privileges that were granted on the source child. Tables inside a cloned schema come with the same SELECT grants as the originals.

    The cloned container itself gets none of the grants that were on the source container. Like any new object, it is owned by the role that ran CREATE ... CLONE. Roles that had USAGE on PROD.SALES have no USAGE on DEV.SALES_COPY, so in practice they cannot reach the copied tables they still hold SELECT on. The fix is an explicit GRANT on the new container.

    Cloning a single table works differently. Most CREATE ... CLONE statements copy no grants from the source. Commands that support COPY GRANTS, such as CREATE TABLE ... CLONE, copy every privilege except OWNERSHIP when you include that clause. Without it, every privilege has to be re-granted by hand.

    Checkpoint 3 of 6· Check yourself

    A developer runs CREATE SCHEMA DEV.SALES_COPY CLONE PROD.SALES. The ANALYST role already has USAGE on database DEV and warehouse USAGE. It also had USAGE on PROD.SALES and SELECT on that schema's tables. ANALYST still cannot query the copied tables. What is the smallest change that fixes this?

    Checkpoint 4 of 6· Exam question

    A developer clones the schema PROD.SALES into DEV.SALES_COPY using CREATE SCHEMA ... CLONE. Select TWO statements that correctly describe the privileges on the cloned objects.(Select 2)

    0 of 2 selected

    Sources53

    3.Usage, billing and grant visibility for non-administrators

    Finance analysts, platform engineers and auditors often need ACCOUNTADMIN-level visibility into costs and usage, but none of them should hold ACCOUNTADMIN. Snowflake provides this through the shared SNOWFLAKE database, which every account imports automatically. Its ACCOUNT_USAGE views are protected by SNOWFLAKE database roles. Granting one of those roles to a custom account role gives exactly one area of visibility.

    SNOWFLAKE database roles that grant SELECT on ACCOUNT_USAGE views
    Database roleVisibility it providesTypical grantee
    USAGE_VIEWERHistorical usage informationFinance or FinOps role
    GOVERNANCE_VIEWERData-governance-related informationData governance team
    SECURITY_VIEWERSecurity-based informationSecurity auditors
    OBJECT_VIEWERObject metadataCatalog or platform team

    There are two broader alternatives. IMPORTED PRIVILEGES on the SNOWFLAKE database opens all of it to a role at once, so it is the blunt option. The global MONITOR USAGE privilege, which only ACCOUNTADMIN can grant, covers account-level usage and history for databases and warehouses. Prefer the database roles when a team needs only one slice.

    The same approach supports periodic access reviews. Besides on-demand SHOW commands for roles, users and grants, reviewers query ACCOUNT_USAGE.GRANTS_TO_ROLES and GRANTS_TO_USERS on a schedule to find drift: who received what, and when. Reviewers can be given the global MONITOR ROLE and MONITOR USER privileges to list roles and see users with all their properties, without any power to change them.

    Checkpoint 5 of 6· Check yourself

    Your FinOps team needs to review account-level usage and history for every database and warehouse. They must not be able to change grants, warehouses or users, and nobody on the team should hold ACCOUNTADMIN. Which global privilege should ACCOUNTADMIN grant to the team's custom role?

    Sources64

    4.Controlling access to Cortex AI functions and models

    Cortex AI is open to everyone by default. The SNOWFLAKE.CORTEX_USER database role is granted to PUBLIC, and every user and role inherits PUBLIC. To limit AI functions to one team, use ACCOUNTADMIN to revoke CORTEX_USER from PUBLIC, then grant it to the roles that need it, such as DATA_SCIENCE_ROLE. For narrower scopes, SNOWFLAKE.CORTEX_AGENT_USER covers Cortex Agents only. The global USE AI FUNCTION privilege, followed by a function name such as AI_COMPLETE, allows that one specific function. Using all Cortex AI Functions requires both the USE AI FUNCTIONS account privilege and CORTEX_USER.

    Removing account-wide Cortex access before granting it to specific rolessql
    REVOKE DATABASE ROLE SNOWFLAKE.CORTEX_USER FROM ROLE PUBLIC;

    Do not reach for REVOKE IMPORTED PRIVILEGES ON DATABASE SNOWFLAKE FROM ROLE PUBLIC as a Cortex lockdown unless you mean it. It goes well beyond Cortex and removes PUBLIC's access to the rest of the shared SNOWFLAKE database, including ACCOUNT_USAGE views.

    Individual models follow normal object privileges. USAGE on a model lets a role run its inference methods, but it gives no access to the model's underlying artifacts. READ adds read-only access to those artifacts and metadata. An application that only needs to score rows should get USAGE. Grant READ only to roles that must inspect what the model contains.

    Checkpoint 6 of 6· Check yourself

    A batch application only needs to call a registered model's inference methods to score rows. The model's underlying artifacts must stay hidden from it. Which grant on the model gives the application's role least privilege?

    Sources74

    Sources

    (8)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 2.
      “The global MANAGE GRANTS privilege is required to grant privileges on future objects in a database.”
      ↩︎ Future grants and managed access schemas
      “In standard schemas, the global MANAGE GRANTS privilege is required to grant privileges on future objects in the schema.”
      ↩︎ Future grants and managed access schemas
      “either the schema owner (that is, the role with the OWNERSHIP privilege on the schema) or a role with the global MANAGE GRANTS privilege”
      ↩︎ Future grants and managed access schemas
      “also requires the USAGE privilege on the database that contains the database role.”
      ↩︎ Future grants and managed access schemas
      “the schema-level grants take precedence over the database level grants, and the database level grants are ignored.”
      ↩︎ Exam trap 1
      “the schema-level grants take precedence over the database level grants, and the database level grants are ignored.”
      ↩︎ Prediction
    2. 3.
      “in a managed access schema, object owners lose the ability to make grant decisions.”
      ↩︎ Future grants and managed access schemas
      “Each securable object is owned by a single role, which by default is the role used to create the object.”
      ↩︎ Which grants a clone keeps
      “However, in a managed access schema, object owners lose the ability to make grant decisions.”
      ↩︎ Checkpoint
    3. 4.
      “When granted on a database or schema, the ability is limited to that container and the objects in it.”
      ↩︎ Future grants and managed access schemas
      “Grants the ability to enable roles other than the owning role to access a shared database”
      ↩︎ Usage, billing and grant visibility for non-administrators
      “Grants the ability to monitor account-level usage and historical information for databases and warehouses”
      ↩︎ Usage, billing and grant visibility for non-administrators
      “Grants the ability to view users and all their properties in the account.”
      ↩︎ Usage, billing and grant visibility for non-administrators
      “Users need both the USE AI FUNCTIONS account privilege and the CORTEX_USER database role to use all Snowflake Cortex AI Functions.”
      ↩︎ Controlling access to Cortex AI functions and models
      “For models, USAGE grants the ability to run inference methods.”
      ↩︎ Controlling access to Cortex AI functions and models
      “For models, READ grants the ability to run inference methods along with read-only access to the model”
      ↩︎ Controlling access to Cortex AI functions and models
      “For models, USAGE grants the ability to run inference methods. It doesn’t grant access to the model’s underlying artifacts.”
      ↩︎ Checkpoint
    4. 5.
      “the clone inherits all granted privileges on the clones of all child objects contained in the source object”
      ↩︎ Which grants a clone keeps
      “the create operation copies all privileges, except OWNERSHIP, from the source table to the new table.”
      ↩︎ Which grants a clone keeps
      “In all other cases, you must grant any required privileges to the newly-created clone”
      ↩︎ Which grants a clone keeps
      “The clone of the container itself (database or schema) doesn’t inherit the privileges granted on the source container.”
      ↩︎ Exam trap 2
    5. 6.
      “When an account is provisioned, the SNOWFLAKE database is automatically imported.”
      ↩︎ Usage, billing and grant visibility for non-administrators
      “The USAGE_VIEWER role provides visibility into historical usage information.”
      ↩︎ Usage, billing and grant visibility for non-administrators
    6. 7.
      “By default, the CORTEX_USER database role is granted to the PUBLIC role, which is automatically granted to all users and roles.”
      ↩︎ Controlling access to Cortex AI functions and models
      “SNOWFLAKE.CORTEX_AGENT_USER: Grants access to Cortex Agents only.”
      ↩︎ Controlling access to Cortex AI functions and models
      “This optional revocation affects more than Cortex”
      ↩︎ Exam trap 3

    Also cited

    Ready to test yourself?

    Practise the 16 questions on this subdomain.

    Spotted a mistake, or was something unclear? Tell us.