# Explain Snowflake security model and principles — Practice reading

Exam: COF-C03 — SnowPro Core Certification Exam
Knowledge domain: Account Management and Data Governance
HTML: https://learningpathx.com/learning-path/COF-C03/learn/73

This public learning practice includes correct answers and existing explanations. Reading does not save progress or create a test.

## Question 1

Type: multiple\_choice
Knowledge point: Role-Based Access Control (RBAC)

A custom role hierarchy owns application tables. The team must centrally manage those objects while allowing a delegated role administrator to manage the custom roles. Which two statements describe supported design choices? (Choose 2.)

### Options

**A**

Transfer schema ownership to USERADMIN to automatically give every custom role schema access.

**B**

A delegated role with appropriate role ownership can administer the custom roles; USERADMIN/SECURITYADMIN are also standard administration choices.

**C**

Granting a child role to a parent transfers ownership of the child role to that parent.

**D**

Grant the top custom object-role hierarchy to SYSADMIN so SYSADMIN inherits its object privileges.

Correct answer: B, D

### Explanation

A: Schema ownership is not automatic privilege inheritance into every custom role. B: Role ownership may be delegated; standard system role administrators are not the exclusive owners allowed. C: Role inheritance and ownership of the role object are separate relationships. D: Granting the top object-role hierarchy to SYSADMIN follows the recommended central object-management design.

## Question 2

Type: single\_choice
Knowledge point: Role-Based Access Control (RBAC)

A security engineer verifies this role hierarchy and grant state:

* SALES\_READER has USAGE on the SALES database and PUBLIC schema, and SELECT on SALES.PUBLIC.ORDERS.
* SALES\_READER is granted to SALES\_ANALYST.
* SALES\_ANALYST is granted to user EMMA and is her active primary role.
* EMMA previously also held SALES\_READER directly, but that direct role grant has now been revoked.
* Secondary roles are NONE. There are no other data-access grants, and warehouse access is already sufficient.

Why can EMMA still select from SALES.PUBLIC.ORDERS?

### Options

**A**

Revoking a role from a user leaves its direct privileges permanently attached to the user.

**B**

SALES\_READER inherits the privileges of SALES\_ANALYST because it was granted to that role.

**C**

A previously active role remains a secondary role even when secondary roles are NONE.

**D**

The active SALES\_ANALYST role inherits SALES\_READER's object privileges.

Correct answer: D

### Explanation

Removing EMMA's direct SALES\_READER grant does not remove the SALES\_READER-to-SALES\_ANALYST grant. The active SALES\_ANALYST role still inherits the database, schema, and table privileges through that hierarchy.

## Question 3

Type: single\_choice
Knowledge point: Role-Based Access Control (RBAC)

An administrator verifies these grants in a Snowflake account:

```sql
GRANT SELECT ON TABLE SALES_DB.CORE.ORDERS TO ROLE SALES_READER;
GRANT ROLE SALES_READER TO ROLE SALES_LEAD;
GRANT ROLE SALES_LEAD TO USER MAYA;
GRANT ROLE ROLE_CUSTODIAN TO USER MAYA;
```

ROLE\_CUSTODIAN owns the SALES\_READER role object, but SALES\_READER is not granted to ROLE\_CUSTODIAN. SALES\_LEAD and ROLE\_CUSTODIAN each have USAGE on the required database, schema, and running warehouse. There are no other SELECT grants to these roles, MAYA, or PUBLIC, and no other role hierarchy paths to SALES\_READER.

MAYA disables secondary roles and separately tries the following SELECT with SALES\_LEAD and ROLE\_CUSTODIAN as the primary role, without changing any grants:

```sql
USE SECONDARY ROLES NONE;
SELECT ORDER_ID FROM SALES_DB.CORE.ORDERS;
```

Which outcome follows from Snowflake RBAC?

### Options

**A**

The SELECT succeeds with both primary roles.

**B**

The SELECT fails with SALES\_LEAD and succeeds with ROLE\_CUSTODIAN.

**C**

The SELECT fails with both primary roles.

**D**

The SELECT succeeds with SALES\_LEAD and fails with ROLE\_CUSTODIAN.

Correct answer: D

### Explanation

D is correct. Snowflake RBAC follows role grants through the active role's hierarchy. Administrative ownership of a role object is a separate relationship and does not itself confer the owned role's object privileges.

## Question 4

Type: multiple\_choice
Knowledge point: Role-Based Access Control (RBAC)

An existing table named FINANCE.REPORTING.BALANCES is in a managed access schema. The following role properties have been verified. No role has other grant-management privileges.

| Role | Relevant privileges |
| --- | --- |
| TABLE\_STEWARD | OWNERSHIP on BALANCES; USAGE on its database and schema |
| SCHEMA\_STEWARD | OWNERSHIP on REPORTING; USAGE on FINANCE |
| GRANT\_OPERATOR | Global MANAGE GRANTS; USAGE on the database and schema |
| DATABASE\_STEWARD | OWNERSHIP on FINANCE; USAGE on REPORTING |
| REPORT\_READER | USAGE on the database and schema; SELECT on BALANCES |

A new reporting role needs SELECT on BALANCES. Which roles are authorized to grant that table privilege under managed access rules? (Choose 2.)

### Options

**A**

TABLE\_STEWARD

**B**

SCHEMA\_STEWARD

**C**

GRANT\_OPERATOR

**D**

DATABASE\_STEWARD

**E**

REPORT\_READER

Correct answer: B, C

### Explanation

Managed access centralizes grant decisions in the schema owner or a role with MANAGE GRANTS. Table ownership, database ownership, and ordinary reader access do not substitute for those authorities in the stated privilege inventory.

## Question 5

Type: single\_choice
Knowledge point: Securable object hierarchy

An authorized role assigns a classification tag to FINANCE\_DB. No child schema or table has an explicit assignment overriding that tag. How is the tag value resolved for contained schemas and tables?

### Options

**A**

Child schemas and tables dynamically inherit the tag from the database based on the object hierarchy.

**B**

The tag remains isolated at the database level and does not propagate down the securable object hierarchy.

**C**

Schemas inherit the tag automatically, but tables and views are exempt from hierarchy inheritance.

**D**

Child schemas and tables require a materialized copy of the tag to be applied manually.

Correct answer: A

### Explanation

A: Correct: child objects inherit applicable database tag unless overridden. B: Incorrect: tag inheritance reaches descendants. C: Incorrect: inheritance not limited to schemas. D: Incorrect: no manual copied tag per child required.

## Question 6

Type: single\_choice
Knowledge point: Securable object hierarchy

A Security Architect is configuring deployment controls and dependencies for securable object hierarchy. The architect is documenting which objects are scoped at the Organization level versus the Account level to properly align the ORGADMIN and ACCOUNTADMIN roles. Which of the following securable objects exists strictly at the Organization level in the Snowflake hierarchy?

### Options

**A**

The SECURITYADMIN system role

**B**

Accounts

**C**

Resource Monitors

**D**

Network Policies

Correct answer: B

### Explanation

A: Incorrect: SECURITYADMIN is account role. B: Correct: organization contains accounts. C: Incorrect: resource monitor account-scoped. D: Incorrect: network policy account-scoped.

## Question 7

Type: single\_choice
Knowledge point: Securable object hierarchy

A Security Architect is implementing and validating securable object hierarchy across a new Snowflake deployment. When mapping out the access model, the architect must define the top-level container for all instance-level objects. Within a single Snowflake environment's securable object hierarchy, which object serves as the highest-level container that holds databases, virtual warehouses, users, and roles?

### Options

**A**

The Global namespace

**B**

The Organization container

**C**

The Account object

**D**

The SNOWFLAKE shared database

Correct answer: C

### Explanation

A: Incorrect: global privilege scope does not name the container holding account objects. B: Incorrect: organization groups accounts; the question specifies account-level instance objects. C: Correct: account contains databases, warehouses, users and account roles. D: Incorrect: SNOWFLAKE database is a database within the account.

## Question 8

Type: multiple\_choice
Knowledge point: Securable object hierarchy

A database has tag CLASSIFICATION='INTERNAL'. An authorized role explicitly sets the same tag to 'PII' on a child table. Another role has SELECT ON FUTURE TABLES in that schema but lacks schema USAGE. Which two statements follow? (Choose 2.)

### Options

**A**

The table's explicit 'PII' assignment overrides the inherited database value.

**B**

The database tag makes all explicit child assignments invalid.

**C**

Future-table SELECT grants automatically make their recipient the table owner.

**D**

Future-table SELECT implicitly grants schema USAGE.

**E**

The querying role still needs schema and database USAGE, in addition to applicable table access.

Correct answer: A, E

### Explanation

A: A more specific explicit tag assignment overrides inherited value. B: Inheritance does not prohibit a valid more-specific assignment. C: SELECT is a data-access privilege and is not ownership. D: Future SELECT does not implicitly provide container USAGE. E: Access requires applicable object privileges and container access; future grants do not waive that hierarchy.

## Question 9

Type: multiple\_choice
Knowledge point: Securable object hierarchy

A Platform Engineer is implementing and validating securable object hierarchy structures within a newly provisioned Snowflake environment. The engineer accesses a Snowsight portal dashboard to verify the placement of various objects:

```
[Object Explorer View]
Account: PROD_ACCOUNT
  Database: ANALYTICS_DB
    Schema: REPORTING
      Objects: ???
```

Which two of the following object types are valid securable objects that reside at the Schema level within this hierarchy? (Choose 2.)

### Options

**A**

Resource Monitors

**B**

Network Policies

**C**

External Stages

**D**

Materialized Views

**E**

Virtual Warehouses

Correct answer: C, D

### Explanation

A: Incorrect: resource monitors belong account. B: Incorrect: network policies belong account; network rules belong schema. C: Correct: external stages are schema objects. D: Correct: materialized views are schema objects. E: Incorrect: warehouses belong account.

## Question 10

Type: single\_choice
Knowledge point: Discretionary access control (DAC)

An engineer must grant the existing REPORT\_VIEWER account role SELECT on two permanent tables. The verified configuration is:

| Table | Schema type | Table owner | Schema owner |
| --- | --- | --- | --- |
| LAB.OPEN\_DATA.EVENTS | Regular | INGEST\_OWNER | GOVERNANCE\_OWNER |
| LAB.CONTROLLED\_DATA.EVENTS | Managed access | INGEST\_OWNER | GOVERNANCE\_OWNER |

INGEST\_OWNER has USAGE on LAB and both schemas. It neither inherits GOVERNANCE\_OWNER nor holds MANAGE GRANTS. No other role is active in the engineer's session. The engineer executes each grant separately while using INGEST\_OWNER as the primary role:

```sql
GRANT SELECT ON TABLE LAB.OPEN_DATA.EVENTS TO ROLE REPORT_VIEWER;
GRANT SELECT ON TABLE LAB.CONTROLLED_DATA.EVENTS TO ROLE REPORT_VIEWER;
```

Which grant can this session authorize?

### Options

**A**

Both grants, because table ownership is sufficient in either schema type.

**B**

Only the grant on LAB.OPEN\_DATA.EVENTS.

**C**

Only the grant on LAB.CONTROLLED\_DATA.EVENTS, because managed access delegates grants to each table owner.

**D**

Neither grant, because granting SELECT always requires MANAGE GRANTS.

Correct answer: B

### Explanation

B is correct. Snowflake's ownership-based discretionary control allows INGEST\_OWNER to grant access to its regular-schema table. The managed access schema changes the grant-decision boundary, so owning its table is insufficient for the second grant.

## Question 11

Type: single\_choice
Knowledge point: Discretionary access control (DAC)

A Security Operations Engineer is configuring deployment controls and dependencies for discretionary access control (DAC). The engineer reviews the following Query History dashboard trace for a newly deployed pipeline:

```
[Query History Dashboard]
Session Start: 09:00:00 UTC
Active User: svc_pipeline_user
Active Role: INGESTION_ROLE
Query Execution: CREATE SCHEMA RAW_DATA;
Status: Success
```

Under Snowflake's Discretionary Access Control (DAC) model, how is the ownership of the RAW\_DATA schema established?

### Options

**A**

It must be manually claimed by a user identity utilizing the MANAGE GRANTS privilege.

**B**

It is automatically assigned to the INGESTION\_ROLE that executed the creation task.

**C**

It defaults to the ACCOUNTADMIN role to ensure centralized governance compliance.

**D**

It inherits ownership dynamically from the parent database regardless of the creator.

Correct answer: B

### Explanation

A: Incorrect: creation assigns role ownership automatically; MANAGE GRANTS is not manual ownership claim. B: Correct: INGESTION\_ROLE executed successful creation and becomes owner. C: Incorrect: ACCOUNTADMIN does not automatically own every object. D: Incorrect: child objects do not dynamically inherit parent ownership.

## Question 12

Type: single\_choice
Knowledge point: Discretionary access control (DAC)

A Security Architect is planning architecture, governance, and rollout tradeoffs for role-Based Access Control (RBAC). A departing data engineer created several critical views using the DEV\_ENG\_ROLE. To align with DAC principles, the ownership of these views must be transferred to the PROD\_ENG\_ROLE. What is the effect of transferring the OWNERSHIP privilege of an object in Snowflake? The table is in a regular, non-managed-access schema. After transfer the original role has no inherited ownership, global MANAGE GRANTS or separate grant-option authority.

### Options

**A**

Both DEV\_ENG\_ROLE and PROD\_ENG\_ROLE share joint ownership and must mutually approve any future outbound grants.

**B**

The original owner role retains an immutable SELECT privilege on the object to ensure audit continuity.

**C**

The object is duplicated, leaving a historical copy with the original owner and an active live copy with the new owner.

**D**

The new owner gains ownership-based management and grant authority; the original role loses the transferred OWNERSHIP privilege.

Correct answer: D

### Explanation

Under the stated configuration, OWNERSHIP has one owner and is transferred rather than copied. Other privileges are governed by their independent grants and the transfer's grant-handling options. A: Snowflake objects do not have joint owner roles. B: Prior owner does not retain immutable SELECT automatically. C: Transfer changes ownership, not duplication. D: OWNERSHIP has one owner and is transferred rather than copied. Other privileges are governed by their independent grants and the transfer's grant-handling options.

## Question 13

Type: multiple\_choice
Knowledge point: Discretionary access control (DAC)

A Security Operations Engineer is implementing and validating discretionary access control (DAC). The engineer is reviewing how outbound privileges are provisioned for a sensitive financial view. According to Snowflake's Discretionary Access Control (DAC) model, which two roles possess the authority to grant privileges on a specific view to another custom role? The view is in a regular non-managed-access schema. Ownership was transferred away from its original creator, who retained neither global MANAGE GRANTS nor a grant option. The question asks the two listed grant-authority categories for the current view. (Choose 2.)

### Options

**A**

The USERADMIN system-defined role used to manage users and roles.

**B**

The active role of the user who initially created the database view.

**C**

Any role that has been granted the USAGE privilege on the view's schema.

**D**

The role that currently holds the OWNERSHIP privilege on the view.

**E**

Any role that holds the global MANAGE GRANTS privilege on the system.

Correct answer: D, E

### Explanation

Under the stated configuration, Current owner can grant view privileges in regular schema. MANAGE GRANTS supplies global object grant authority. A: USERADMIN alone has no global view grants permission. B: Creator role may still own view unless ownership was transferred; its authority is current ownership-dependent. C: Schema USAGE alone does not grant view privilege administration. D: Current owner can grant view privileges in regular schema. E: MANAGE GRANTS supplies global object grant authority.

## Question 14

Type: multiple\_choice
Knowledge point: Discretionary access control (DAC)

A Security Architect must transfer ownership of a database object to a new role. The object currently has outbound privileges granted to other roles. Which statements accurately describe how GRANT OWNERSHIP handles those outbound grants? (Choose 3.)

### Options

**A**

Transferring ownership of a database automatically transfers ownership of every schema and table in that database.

**B**

If neither REVOKE CURRENT GRANTS nor COPY CURRENT GRANTS is specified, the statement fails while outbound grants exist.

**C**

Object ownership can be transferred directly to an individual user instead of a role.

**D**

COPY CURRENT GRANTS preserves the outbound grants and records the new owner role as the grantor for those copied grants.

**E**

REVOKE CURRENT GRANTS removes the existing outbound grants before ownership is transferred.

Correct answer: B, D, E

### Explanation

Under the stated configuration, Existing outbound grants require COPY or REVOKE choice or transfer fails. COPY preserves grants and updates grantor attribution to new owner. REVOKE removes outbound grants before transfer. A: Parent database ownership does not cascade to children. B: Existing outbound grants require COPY or REVOKE choice or transfer fails. C: Ownership goes to role, not direct individual user. D: COPY preserves grants and updates grantor attribution to new owner. E: REVOKE removes outbound grants before transfer.

## Question 15

Type: single\_choice
Knowledge point: Network Policies

A password-authenticated BI user must be allowed from a fixed set of public corporate egress IPs and denied from other public IPs. The requirement concerns connection origin, rather than table-row visibility or query spending. Which control directly enforces it?

### Options

**A**

A network policy with the required allowed IP identifiers, attached at the appropriate account or user scope.

**B**

A row access policy restricting records based on the current role.

**C**

An authentication policy requiring MFA, without any network policy.

**D**

A resource monitor suspending the user's warehouse at a credit threshold.

Correct answer: A

### Explanation

A: An activated network policy restricts connection origins using configured network identifiers. B: A row access policy controls rows visible during queries, not the connecting client's source IP allowlist. C: MFA strengthens authentication but this configuration does not enforce the requested origin restriction. D: A resource monitor controls warehouse spending, not client network-origin admission.

## Question 16

Type: multiple\_choice
Knowledge point: Network Policies

Which two statements describe network-policy creation and alteration authority? (Choose 2.)

### Options

**A**

Owning a policy alone supplies all authority needed to attach it to the account.

**B**

CREATE NETWORK POLICY alone lets a role alter policies owned by other roles.

**C**

ATTACH POLICY on the account is the privilege that creates a new network policy.

**D**

SECURITYADMIN has CREATE NETWORK POLICY by default.

**E**

Altering a particular network policy requires OWNERSHIP on that policy.

Correct answer: D, E

### Explanation

A: Account attachment has its own authorization requirements, including applicable ATTACH POLICY authority or supported administrative role. B: Creation privilege does not confer ownership of existing other-owned policies. C: ATTACH POLICY addresses account attachment, while CREATE NETWORK POLICY creates the policy. D: SECURITYADMIN has this creation privilege by default; custom roles can be delegated the appropriate privilege. E: Ownership of the specific network policy provides its alteration authority.

## Question 17

Type: multiple\_choice
Knowledge point: Network Policies

For the relevant OAuth connection, an applicable security-integration network policy is configured along with user and account policies; this is not a token-request exception flow. Which two statements describe effective evaluation? (Choose 2.)

### Options

**A**

The applicable integration policy overrides the account policy.

**B**

Account blocking is always evaluated first and cannot be overridden.

**C**

All allowlists merge into one allowed set.

**D**

A failed integration policy falls back to the user policy.

**E**

The applicable integration policy also takes precedence over the user policy.

Correct answer: A, E

### Explanation

A: The integration policy is the more specific applicable policy. B: The account policy does not always decide first when a more-specific policy applies. C: Policies are not combined by unioning allowlists. D: Denial by the effective policy is not followed by an allowlist fallback. E: Current documented integration policy precedence is above user and account; authentication-flow exceptions must be scoped separately.

## Question 18

Type: single\_choice
Knowledge point: Network Policies

An active account-level Snowflake network policy contains two INGRESS IPv4 network rules:

| Policy list | Rule values |
| --- | --- |
| ALLOWED\_NETWORK\_RULE\_LIST | 198.51.100.0/24 |
| BLOCKED\_NETWORK\_RULE\_LIST | 198.51.100.25 |

A direct connection comes from public IPv4 address 198.51.100.25\. The user has valid credentials and no user-level or integration-level network policy; private connectivity is not involved. No policy bypass is active.

How does this policy evaluate the origin?

### Options

**A**

Allow it because membership in the allowed range is checked before the blocked rule

**B**

Allow it because allow and block lists cannot be used together for IPv4 rules

**C**

Deny it because the matching blocked address takes precedence over the allowed range

**D**

Deny every address in the allowed range because one address in it is blocked

Correct answer: C

### Explanation

Allowed and blocked IPv4 rule lists can coexist. The explicit block excludes this address while the rest of the allowed range remains permitted by these rules.

## Question 19

Type: single\_choice
Knowledge point: Network Policies

A Snowflake user authenticates directly with a password over public IPv4, without a security integration. The account has an active network policy allowing only 198.51.100.0/24\. The user has an active network policy allowing only 203.0.113.0/24\. Neither policy has a blocked list. Which network access result follows?

### Options

**A**

Connections from either subnet are allowed

**B**

Connections from neither subnet are allowed

**C**

Connections from 203.0.113.0/24 are allowed; connections from 198.51.100.0/24 are denied

**D**

Connections from 198.51.100.0/24 are allowed; connections from 203.0.113.0/24 are denied

Correct answer: C

### Explanation

The user-level policy controls this direct login. The stated authentication path excludes security-integration policy precedence and OAuth-specific behavior.

## Question 20

Type: single\_choice
Knowledge point: Authentication - Multi-Factor Authentication (MFA), Federated Authentication, Single Sign-on (SSO), OAuth, Key-pair authentication

A custom client uses Snowflake OAuth authorization-code authentication. Its enabled security integration has OAUTH\_ISSUE\_REFRESH\_TOKENS = TRUE and a valid refresh-token lifetime. The initial authorization request asks only for session:role:REPORT\_READER, a permitted role granted to the user. The user consents to that request. Code redemption succeeds and returns an access token but no refresh token. The application must later obtain replacement access tokens while the user is absent. Which change addresses the missing capability?

### Options

**A**

Request refresh\_token along with the role scope and obtain the user's offline-access consent in a new authorization flow

**B**

Increase OAUTH\_REFRESH\_TOKEN\_VALIDITY on the existing integration and keep the same role-only authorization request

**C**

Increase OAUTH\_ACCESS\_TOKEN\_VALIDITY and continue using only the access token from the successful exchange

**D**

Send the current access token as the refresh\_token parameter with grant\_type = refresh\_token

Correct answer: A

### Explanation

The integration permits refresh tokens, but permission alone is insufficient. The authorization request must ask for refresh\_token and the user must consent to offline access.

## Question 21

Type: single\_choice
Knowledge point: Authentication - Multi-Factor Authentication (MFA), Federated Authentication, Single Sign-on (SSO), OAuth, Key-pair authentication

For password users using Snowflake's supported native Duo MFA pathway, an administrator wants policy-based MFA enforcement. Which statement fits this configuration?

### Options

**A**

Use the native Duo enrollment/authentication pathway and a suitable AUTHENTICATION\_POLICY to require MFA.

**B**

Require RSA key-pair authentication as the mandatory prerequisite to password MFA.

**C**

Assume only an external IdP can ever provide MFA for Snowflake password users.

**D**

Treat MFA enrollment alone as a replacement for an enforcement policy and its coverage checks.

Correct answer: A

### Explanation

A: The stated native pathway and authentication policy support enforcement; other current MFA methods and clients have separate applicability. B: Key-pair authentication is a different method, not a mandatory password-MFA prerequisite. C: Snowflake supports native MFA rather than only external IdP MFA. D: Enrollment and enforcement are distinct; policy scope and actual login behavior need validation.

## Question 22

Type: single\_choice
Knowledge point: Authentication - Multi-Factor Authentication (MFA), Federated Authentication, Single Sign-on (SSO), OAuth, Key-pair authentication

A regular Snowflake service user authenticates with an RSA key registered through RSA\_PUBLIC\_KEY. RSA\_PUBLIC\_KEY\_2 is empty; no named key pairs are involved. Several workers will adopt a newly generated key pair in a staged rollout. Workers that have not yet switched must continue opening connections during the rollout. An administrator has the privilege to modify this user's authentication keys. Which sequence supports this transition?

### Options

**A**

Replace RSA\_PUBLIC\_KEY with the new public key; update and verify all workers; leave RSA\_PUBLIC\_KEY\_2 empty.

**B**

Update workers to the new private key; verify connections; then register its public key in RSA\_PUBLIC\_KEY\_2.

**C**

Register the new public key in RSA\_PUBLIC\_KEY\_2; unset RSA\_PUBLIC\_KEY; then update and verify all workers.

**D**

Register the new public key in RSA\_PUBLIC\_KEY\_2; update and verify all workers; then unset the old RSA\_PUBLIC\_KEY.

Correct answer: D

### Explanation

Use the currently empty public-key property for the new key, transition the workers to the matching new private key, verify the transition, and then remove the old public key. This keeps both old-key and new-key authentication available during the staged change.

## Question 23

Type: single\_choice
Knowledge point: Authentication - Multi-Factor Authentication (MFA), Federated Authentication, Single Sign-on (SSO), OAuth, Key-pair authentication

A valid SAML2 security integration has the correct issuer, SSO URL and certificate. SAML2\_ENABLE\_SP\_INITIATED is FALSE, so the account login page lacks its Log in With option. Which setting enables that SP-initiated login option? This question does not require forced automatic redirect or disabling passwords.

### Options

**A**

Set only SAML2\_SP\_INITIATED\_LOGIN\_PAGE\_LABEL to a friendly display name.

**B**

Grant USAGE on the security integration to PUBLIC.

**C**

Change SAML2\_SNOWFLAKE\_ISSUER\_URL while leaving SAML2\_ENABLE\_SP\_INITIATED FALSE.

**D**

Set the SAML2\_ENABLE\_SP\_INITIATED parameter to TRUE on the integration.

Correct answer: D

### Explanation

Under the stated configuration, TRUE displays IdP login button/enables SP-initiated flow, not mandatory automatic redirection. A: The label names the option; setting it alone does not enable the option while SP-initiated login remains disabled. B: A PUBLIC integration grant does not substitute for the integration's SP-initiated login enablement setting. C: The issuer identifies Snowflake's SAML service-provider context; changing it does not turn on the disabled login-page option. D: TRUE displays IdP login button/enables SP-initiated flow, not mandatory automatic redirection.

## Question 24

Type: multiple\_choice
Knowledge point: Authentication - Multi-Factor Authentication (MFA), Federated Authentication, Single Sign-on (SSO), OAuth, Key-pair authentication

A Security Operations Engineer is implementing and validating authentication controls using Snowflake's AUTHENTICATION\_POLICY feature. The organization wants to enforce stricter login requirements for external contractors without impacting internal employees. Which two actions can the engineer accomplish using an AUTHENTICATION\_POLICY in Snowflake? (Choose 2.)

### Options

**A**

Restrict logins to specific geographic regions based on IP geolocation mapping.

**B**

Define granular column-level data masking rules for authenticated external users.

**C**

Automatically provision federated user identities from the external Identity Provider (IdP).

**D**

Enforce a mandatory Multi-Factor Authentication (MFA) requirement for specific users.

**E**

Restrict authentication to documented CLIENT\_TYPES categories such as SNOWFLAKE\_UI or DRIVERS.

Correct answer: D, E

### Explanation

Under the stated configuration, User authentication policy can enforce applicable MFA requirements. Authentication policies support documented client-type categories; these are not an arbitrary individual-driver or application-name allowlist. A: Authentication policy does not supply automatic IP geolocation allow/deny regions. B: Column masking is separate data policy. C: SCIM/integration provisions identities, not authentication policy itself. D: User authentication policy can enforce applicable MFA requirements. E: Authentication policies support documented client-type categories; these are not an arbitrary individual-driver or application-name allowlist.

## Question 25

Type: multiple\_choice
Knowledge point: System-defined roles

A Cloud Architect is configuring deployment controls and dependencies for system-defined roles. A new Snowflake account has been provisioned, and the architect must ensure the system-defined role hierarchy is maintained while custom roles are introduced across multiple business units. Which of the following statements accurately reflect the architectural principles and constraints of Snowflake's system-defined roles? (Choose 3.)

### Options

**A**

The PUBLIC pseudo-role is automatically granted to every user and every role in the account.

**B**

The ORGADMIN role is an account-level role primarily used to manage database schema structures across multiple accounts.

**C**

The ACCOUNTADMIN role encapsulates the privileges of both the SYSADMIN and SECURITYADMIN roles.

**D**

The USERADMIN role inherently possesses the USAGE privilege on all virtual warehouses to actively monitor user queries.

**E**

The SYSADMIN role natively holds the MANAGE GRANTS privilege, enabling it to reassign object ownership account-wide.

**F**

Custom roles that own database objects should ideally be granted to the SYSADMIN role to allow centralized administration of those objects.

Correct answer: A, C, F

### Explanation

A: Correct: PUBLIC inherited by users/roles. B: Incorrect: ORGADMIN org-account administration, not database schemas. C: Correct: ACCOUNTADMIN inherits SYSADMIN and SECURITYADMIN. D: Incorrect: USERADMIN not default all-warehouse USAGE. E: Incorrect: SECURITYADMIN default MANAGE GRANTS, not SYSADMIN. F: Correct: grant top object-owning custom hierarchy to SYSADMIN.

## Question 26

Type: single\_choice
Knowledge point: System-defined roles

A Security Architect is implementing and validating system-defined roles during an implementation readiness review. The organization requires a dedicated role to manage users, roles, and object permissions globally, but this role should not have inherent read access to the data stored in user databases. Which system-defined role natively provides the MANAGE GRANTS privilege and can manage all object grants globally without inherently having data read access?

### Options

**A**

SYSADMIN

**B**

SECURITYADMIN

**C**

USERADMIN

**D**

ORGADMIN

Correct answer: B

### Explanation

Under the stated configuration, SECURITYADMIN has MANAGE GRANTS and USERADMIN inheritance without inherent table SELECT. A: SYSADMIN manages objects and warehouses, without native global grant administration. B: SECURITYADMIN has MANAGE GRANTS and USERADMIN inheritance without inherent table SELECT. C: USERADMIN handles roles/users but lacks SECURITYADMIN's global MANAGE GRANTS. D: ORGADMIN manages organization-level functions, not ordinary account grant administration.

## Question 27

Type: single\_choice
Knowledge point: System-defined roles

An administrator must create users and custom account roles. The account's system-defined roles retain their default privileges. Which system-defined role is dedicated to these tasks and is the narrowest sufficient choice among the following?

### Options

**A**

SYSADMIN

**B**

USERADMIN

**C**

SECURITYADMIN

**D**

ACCOUNTADMIN

Correct answer: B

### Explanation

USERADMIN covers the stated creation tasks with the dedicated system role. This conclusion assumes default grants, as stated, rather than additional privileges granted to another role.

## Question 28

Type: multiple\_choice
Knowledge point: System-defined roles

A Quality Engineer is configuring deployment controls and dependencies for system-defined roles. The engineer is reviewing the specific responsibilities of the USERADMIN and SECURITYADMIN roles to ensure separation of duties for identity management. Which two statements accurately describe the relationship and capabilities of these two system-defined roles? (Choose 2.)

### Options

**A**

SECURITYADMIN automatically inherits all privileges granted to the USERADMIN role.

**B**

USERADMIN is responsible for creating users and roles, and it can manage the users and roles it creates.

**C**

USERADMIN holds the global MANAGE GRANTS privilege by default to manage object permissions.

**D**

SECURITYADMIN cannot modify grants on objects unless it is explicitly granted OWNERSHIP of those objects.

**E**

SECURITYADMIN is designed to own all databases and virtual warehouses in the account.

Correct answer: A, B

### Explanation

Under the stated configuration, SECURITYADMIN inherits USERADMIN's grants. USERADMIN owns/manages identities/roles it creates by default. A: SECURITYADMIN inherits USERADMIN's grants. B: USERADMIN owns/manages identities/roles it creates by default. C: MANAGE GRANTS is assigned to SECURITYADMIN, not USERADMIN by default. D: Global MANAGE GRANTS can modify object grants without owning each object. E: SYSADMIN, not SECURITYADMIN, is intended for object/warehouse administration.

## Question 29

Type: single\_choice
Knowledge point: Functional roles - Account roles, Database roles, Custom roles

A database role ANALYTICS\_DB.READER already exists with the required database and schema privileges. The active account role owns this database role. Why does this final statement fail? GRANT DATABASE ROLE ANALYTICS\_DB.READER TO USER BI\_USER;

### Options

**A**

Database roles cannot hold schema USAGE privileges.

**B**

A database role must be granted through an account role rather than directly to a user.

**C**

Every database role must first be granted to PUBLIC.

**D**

The owner must acquire global CREATE ROLE to grant this existing database role.

Correct answer: B

### Explanation

A: Database roles can hold privileges on schemas in their own database; this does not explain the final grant. B: Database roles cannot be granted directly to users; grant the database role to an account role that the user can use. C: PUBLIC is not a mandatory intermediary; an appropriate account role can receive the database role. D: Ownership supplies grant authority for the existing role; CREATE ROLE is not what prevents this unsupported grantee type.

## Question 30

Type: single\_choice
Knowledge point: Functional roles - Account roles, Database roles, Custom roles

A Security Engineer is configuring deployment controls and dependencies for functional roles to support secure data sharing. The organization acts as a data provider and provisions a reader account for a consumer who does not have a Snowflake account. How are functional roles managed within the provisioned reader account?

### Options

**A**

The provider's ACCOUNTADMIN directly assigns the provider's account roles to users within the reader account.

**B**

A single shared role must be created in the provider account and replicated to the consumer's reader account through a secure share.

**C**

The reader account inherently syncs all custom database roles from the provider's shared databases.

**D**

Users and functional roles within the reader account are managed locally by the reader account's administrators.

Correct answer: D

### Explanation

A: Incorrect: provider account roles are not directly assigned across account boundary. B: Incorrect: a direct share does not replicate provider functional roles. C: Incorrect: sharing database roles does not synchronize all custom functional roles. D: Correct: reader users and roles are managed in the reader account by authorized administrators.

## Question 31

Type: multiple\_choice
Knowledge point: Functional roles - Account roles, Database roles, Custom roles

A Security Operations Engineer is configuring deployment controls and dependencies for functional roles. The organization uses database roles extensively for secure data sharing and internal access management across Snowflake accounts. Which two statements accurately describe the capabilities and constraints of database roles in Snowflake? (Choose 2.)

### Options

**A**

A database role's object privileges are scoped to its own database.

**B**

A database role can be granted to an account role, another database role in the same database, or a share, under applicable restrictions.

**C**

A database role can be activated directly with USE ROLE.

**D**

A database role granted to a share supports future grants for automatically exposing new objects.

**E**

Database owner consent permits one database role to hold arbitrary cross-database privileges.

Correct answer: A, B

### Explanation

A: Database roles manage privileges within their own database scope. B: These supported grantee types exclude direct users; shared roles have further restrictions. C: Database roles are not directly activated; account roles provide session use. D: Future grants are prohibited for database roles granted to shares. E: Ownership does not waive the database-role scope restriction.

## Question 32

Type: single\_choice
Knowledge point: Functional roles - Account roles, Database roles, Custom roles

A Security Architect is implementing and validating functional roles across a Snowflake environment. The architect must decide whether to use an account role or a database role for a new set of data masking policies. What is a primary distinction between an account role and a database role in Snowflake?

### Options

**A**

Account roles are automatically inherited by all users upon creation, whereas database roles must be manually assigned to individual system users.

**B**

Account roles are strictly utilized for billing and credit management tasks, whereas database roles are specifically designed to manage data access.

**C**

Account roles can receive privileges across the entire account, whereas database roles are restricted to objects within their specific database.

**D**

Account roles are created exclusively by the ORGADMIN system role, whereas database roles can only be created by the ACCOUNTADMIN system role.

Correct answer: C

### Explanation

Under the stated configuration, Account roles have account scope; database roles are database-scoped. A: Roles need explicit grants; database roles are normally granted to account roles, not users. B: Account roles govern broad privileges including data, not only billing. C: Account roles have account scope; database roles are database-scoped. D: Creation depends on privileges, not exclusive ORGADMIN/ACCOUNTADMIN use.

## Question 33

Type: multiple\_choice
Knowledge point: Functional roles - Account roles, Database roles, Custom roles

A Security Engineer is implementing and validating functional roles. The engineer is reviewing the Role hierarchy dashboard in Snowsight to ensure privileges are inherited correctly:

```
[Role Hierarchy View]
Database: my_database
  Database Roles:
    - db_reader
    - db_writer (Granted to: db_reader)
Account Roles:
  - data_analyst (Granted to: USER alice)
  - data_engineer (Granted to: USER bob)
Current Grants:
  GRANT DATABASE ROLE my_database.db_reader TO ROLE data_analyst;
```

Based on the displayed hierarchy and Snowflake's functional role constraints, which two statements are true? (Choose 2.)

### Options

**A**

The data\_analyst account role inherits the privileges of both the db\_reader and db\_writer database roles.

**B**

The db\_reader database role could also be directly granted to a database role in a different database.

**C**

Database roles cannot form hierarchies, so the grant of db\_writer to db\_reader is invalid.

**D**

The data\_engineer account role can be granted to the db\_writer database role to share privileges.

**E**

User alice can access objects permitted by my\_database.db\_reader when she activates the data\_analyst role.

Correct answer: A, E

### Explanation

Under the stated configuration, Writer granted to reader and reader to analyst yields both privilege sets. Alice activating analyst can use inherited reader privileges. A: Writer granted to reader and reader to analyst yields both privilege sets. B: A database role cannot be granted to a database role in another database. C: Database roles may form hierarchies within one database. D: An account role cannot be granted into a database role. E: Alice activating analyst can use inherited reader privileges.

## Question 34

Type: single\_choice
Knowledge point: Secondary roles

A Security Operations Engineer is implementing and validating secondary roles. To test access boundaries, a user named JSMITH is granted two distinct roles: SALES\_READ and MARKETING\_READ. The user configures their session as follows:

```
-- Step 1: Initialize session
USE ROLE SALES_READ;
USE SECONDARY ROLES ALL;
-- Step 2: Execute cross-database join (Succeeds)
SELECT s.id, m.campaign 
FROM sales_db.public.orders s 
JOIN marketing_db.public.campaigns m ON s.id = m.order_id;
-- Step 3: Modify session state
USE SECONDARY ROLES NONE;
-- Step 4: Re-execute the exact same query from Step 2
```

What will be the outcome of the query execution in Step 4?

For this test, SALES\_READ has only USAGE/SELECT for the sales objects and MARKETING\_READ has only USAGE/SELECT for the marketing objects. Neither role inherits the other, and PUBLIC and all other applicable roles provide no marketing access.

### Options

**A**

It succeeds because secondary-role privileges become permanent grants to SALES\_READ after the first query.

**B**

It will fail because the session no longer evaluates the privileges from the MARKETING\_READ role to access the required tables.

**C**

It succeeds because USE SECONDARY ROLES NONE affects CREATE statements but not SELECT statements.

**D**

It fails because USE SECONDARY ROLES NONE deactivates both the primary and secondary roles.

Correct answer: B

### Explanation

Under the stated configuration, Fails if marketing access exists only through the now-inactive secondary role. A: Activating secondary roles combines privileges for that session's authorization checks; it does not copy grants to the primary role. B: Fails if marketing access exists only through the now-inactive secondary role. C: NONE removes secondary-role privileges from subsequent read authorization too; the special primary-role rule for CREATE does not exempt SELECT. D: SALES\_READ remains the active primary role; only secondary roles are deactivated.

## Question 35

Type: multiple\_choice
Knowledge point: Secondary roles

A Security Operations Engineer reviews operational evidence and compliance posture for Snowflake database views. The engineer evaluates the following access setup script and session initialization for a user named d\_smith:

```
-- Administrator Setup:
GRANT ROLE role_a TO USER d_smith;
GRANT ROLE role_b TO USER d_smith;
GRANT ROLE role_c TO ROLE role_a;
-- d_smith initiates a session:
USE ROLE role_b;
USE SECONDARY ROLES ALL;
```

Based on this session context, which two statements correctly describe the privileges available to d\_smith and how they are evaluated? (Choose 2.)

### Options

**A**

Privileges from role\_c are excluded from the session because secondary roles do not support inheritance.

**B**

role\_b serves as the primary role and will become the owner of any newly created objects.

**C**

The session actively evaluates privileges from role\_b, role\_a, and role\_c to authorize data read access.

**D**

The user must explicitly execute USE SECONDARY ROLES (role\_a, role\_c) to activate the hierarchy.

**E**

role\_a automatically becomes the primary role because it sits higher in the granted role hierarchy.

Correct answer: B, C

### Explanation

Under the stated configuration, role\_b is primary and owns ordinary newly created objects. Reads can combine role\_b, role\_a and inherited role\_c privileges. A: Active secondary roles include inherited descendant role\_c. B: role\_b is primary and owns ordinary newly created objects. C: Reads can combine role\_b, role\_a and inherited role\_c privileges. D: ALL activates granted roles; separate hierarchy list not required. E: Primary is selected by USE ROLE, not hierarchy depth.

## Question 36

Type: single\_choice
Knowledge point: Secondary roles

A developer has been granted the three account roles shown below. None inherits either of the others, and there are no additional relevant grants, including grants to PUBLIC or directly to the user.

| Role | Relevant privileges |
| --- | --- |
| QUERY\_CORE | USAGE on DEV\_DB, DEV\_DB.SANDBOX, and the running warehouse DEV\_WH |
| DATA\_READER | SELECT on DEV\_DB.SANDBOX.SOURCE\_ROWS |
| TABLE\_BUILDER | USAGE on DEV\_DB and DEV\_DB.SANDBOX; CREATE TABLE on DEV\_DB.SANDBOX |

The session uses QUERY\_CORE as its primary role and ALL secondary roles. SOURCE\_ROWS exists and NEW\_ROWS does not. The developer executes these statements independently:

```sql
USE ROLE QUERY_CORE;
USE SECONDARY ROLES ALL;
USE WAREHOUSE DEV_WH;
SELECT ID FROM DEV_DB.SANDBOX.SOURCE_ROWS;
CREATE TABLE DEV_DB.SANDBOX.NEW_ROWS (ID INTEGER);
```

Which outcome should the developer expect?

### Options

**A**

Both SELECT and CREATE TABLE succeed because all three roles are active.

**B**

SELECT succeeds, but CREATE TABLE fails because the primary role lacks CREATE TABLE.

**C**

SELECT fails, but CREATE TABLE succeeds because DATA\_READER is not the primary role.

**D**

Both statements fail because privileges from separate active roles cannot be combined.

Correct answer: B

### Explanation

B is correct. Secondary roles allow this read to draw on DATA\_READER alongside QUERY\_CORE. Object creation is authorized using the primary role and its hierarchy, so the separate TABLE\_BUILDER grant does not make this CREATE TABLE succeed.

## Question 37

Type: single\_choice
Knowledge point: Secondary roles

A Security Architect is configuring deployment controls and dependencies for secondary roles to streamline user onboarding. An administrator executes the following script to configure a new reporting user:

```
ALTER USER reporting_user SET DEFAULT_ROLE = 'analyst_role';
ALTER USER reporting_user SET DEFAULT_SECONDARY_ROLES = ('ALL');
```

The reporting\_user connects to Snowflake via a BI tool and executes a query requiring privileges from the finance\_role (which was previously granted to them by an administrator). The BI tool does not issue any USE ROLE or USE SECONDARY ROLES commands.

How will the Snowflake session process the query?

The connection supplies no override for DEFAULT\_SECONDARY\_ROLES, and no session role change deactivates those defaults. The active effective roles also have required parent USAGE and object SELECT privileges.

### Options

**A**

The query will succeed because the session automatically activates all granted roles as secondary roles at connection startup.

**B**

The query will fail because DEFAULT\_SECONDARY\_ROLES only applies to the Snowsight UI and cannot be used by programmatic connections.

**C**

The query will fail because DEFAULT\_SECONDARY\_ROLES must explicitly list individual role names instead of using the 'ALL' keyword.

**D**

The query will succeed only if the finance\_role inherits privileges from the analyst\_role in the account hierarchy.

Correct answer: A

### Explanation

Under the stated configuration, Under unchanged defaults, ALL activates granted secondary roles. A: Under unchanged defaults, ALL activates granted secondary roles. B: Default applies to programmatic sessions too. C: ALL is supported; individual-role names not required. D: Finance access via secondary role does not require role inheriting analyst.

## Question 38

Type: single\_choice
Knowledge point: Secondary roles

A user has two unrelated account roles, ANALYST and BUILDER, with no inheritance between them. ANALYST can read source data but has no CREATE TABLE privilege in APP.SANDBOX. BUILDER has the database/schema access and CREATE TABLE privilege needed there. The session uses ANALYST as primary and USE SECONDARY ROLES ALL. Reads succeed, but CREATE TABLE APP.SANDBOX.NEW\_RESULTS (ID NUMBER) fails. The new table must be owned by BUILDER, and the user should retain source-read access for subsequent queries. Which plan satisfies both requirements?

### Options

**A**

Keep ANALYST primary and repeat USE SECONDARY ROLES ALL before the CREATE.

**B**

Use BUILDER as primary, retain secondary roles ALL, and execute the CREATE.

**C**

Keep ANALYST primary and use USE SECONDARY ROLES NONE before the CREATE.

**D**

Grant BUILDER to ANALYST, keep ANALYST primary, and execute the CREATE.

Correct answer: B

### Explanation

CREATE authorization uses the primary role and its inherited privileges, and ownership goes to the primary role. Switching to BUILDER addresses both creation and ownership; keeping secondary roles active preserves ANALYST privileges for later reads.

