Snowflake SnowPro Advanced: Administrator Exam-style mock test
Snowflake SnowPro Advanced Administrator Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Account, Security, and Access Management (RBAC)
At the B2B SaaS firm FlowCRM, the admin team wants ANALYST roles to automatically receive every privilege held by the DATA_READER role without granting privileges twice. How should the role hierarchy be configured?
✓Grant the DATA_READER role to the ANALYST role so ANALYST inherits its privileges
Correct. Granting DATA_READER to ANALYST makes ANALYST a parent role that inherits all current and future privileges of DATA_READER through the hierarchy.
・Grant every object privilege held by DATA_READER individually to the ANALYST role as a one-time copy
Incorrect. Copying privileges individually is a static snapshot that does not track later changes to DATA_READER and defeats inheritance.
・Grant the ANALYST role to the DATA_READER role so DATA_READER sits above it
Incorrect. This inverts the hierarchy, so DATA_READER would inherit ANALYST privileges instead of the other way around.
・Grant both roles directly to the SYSADMIN role and let privileges flow down to ANALYST
Incorrect. Granting both to SYSADMIN gives SYSADMIN the privileges but does not make ANALYST inherit DATA_READER's privileges.
Explanation
In Snowflake RBAC, granting role B to role A makes A inherit all of B's privileges; the parent role sits above the child in the hierarchy.
Example2 · Performance, Resource Monitors, and Cost Management
At the B2B SaaS firm Flowdeck, the finance team wants the analytics warehouse to automatically stop accepting new queries once it has consumed 80% of its monthly credit quota, but queries already running should be allowed to finish. As the administrator, which resource monitor trigger action should you configure for the 80% threshold?
・NOTIFY, which sends an alert to administrators but takes no action on the warehouse
Incorrect. NOTIFY only sends a notification and does not prevent new queries, so the warehouse would keep consuming credits past the threshold.
✓SUSPEND, which blocks new queries while letting running statements finish
Correct. SUSPEND stops the warehouse from accepting new queries once the threshold is reached while letting in-flight statements finish, matching the requirement.
・SUSPEND_IMMEDIATE, which cancels all running queries and suspends the warehouse at once
Incorrect. SUSPEND_IMMEDIATE cancels the queries that are already running, which violates the requirement that running queries finish.
・Set the monitor frequency to MONTHLY so the quota resets and the warehouse keeps running
Incorrect. Changing the frequency to MONTHLY governs when the used-credit counter resets, not the behavior at a threshold, and does not stop new queries.
Explanation
A SUSPEND trigger prevents new queries at the threshold but allows running statements to complete, while SUSPEND_IMMEDIATE cancels in-flight work and NOTIFY takes no action.
Example3 · Data Protection: Time Travel, Cloning, Replication, Failover
A B2B SaaS company's billing analyst accidentally ran an UPDATE that corrupted the MONTHLY_INVOICES table 40 minutes ago. The table sits in a database whose DATA_RETENTION_TIME_IN_DAYS is 3 and no explicit retention override exists on the table. As the administrator, what is the most direct way to restore the table to its pre-UPDATE state?
・Contact Snowflake Support and open a case to recover the table from Fail-safe storage
Incorrect. Fail-safe is only reachable by Snowflake Support and only after Time Travel expires; here the data is still inside the 3-day Time Travel window.
✓Query the table AT a timestamp or OFFSET before the UPDATE and overwrite it
Correct. Within the retention period you can use Time Travel (AT TIMESTAMP or AT OFFSET) to read the table as it existed before the bad UPDATE and write that version back into the table.
・Run UNDROP TABLE MONTHLY_INVOICES to restore the prior data
Incorrect. UNDROP recovers a dropped object, but this table was never dropped — it was modified, so UNDROP does not apply.
・Restore the entire database from the most recent nightly backup export in the external stage
Incorrect. Snowflake does not require external nightly exports for this; Time Travel already preserves historical versions inside the retention window.
Explanation
A row-level UPDATE that is still within the Time Travel retention window is recovered by querying the table at a prior timestamp/offset and restoring that data, not via Fail-safe, UNDROP, or external backups.
Example4 · Data Sharing, Secure Sharing, and the Marketplace
A healthcare services firm wants to give a contracted billing partner read access to its CLAIMS database through a direct outbound share. The administrator creates the share and adds the database, but the partner reports that no tables are visible in the shared database on their account. Which action most likely resolves this?
✓Grant USAGE on the schema and SELECT on the tables to the share, then add the consumer account
Correct. Adding a database to a share is not enough; USAGE on the database/schema and SELECT on the objects must be granted to the share, and the consumer account added before data appears.
・Recreate the share using the SECURE keyword so that all of the object privileges automatically propagate down the hierarchy to the consumer account
Incorrect. There is no SECURE keyword for shares that auto-propagates privileges; object grants must be made explicitly.
・Switch the warehouse used by the share to a larger size so the partner's queries resolve the metadata
Incorrect. Warehouse size is irrelevant because the consumer uses their own compute, and the issue is missing object grants, not performance.
・Grant the partner's users the SHARE role in the provider account so they inherit object visibility
Incorrect. You cannot grant provider roles to a consumer's users; sharing exposes objects via share grants, not role inheritance across accounts.
Explanation
A share only exposes objects that have been explicitly granted to it (USAGE down the hierarchy plus SELECT on tables), and the consumer account must be added to the share.
Example5 · Monitoring, Governance, and Account Administration
A healthcare services firm runs claims processing on several warehouses. Finance asks the administrator for a trusted, account-wide report of credits consumed per warehouse for the previous 90 days, broken out by hour. Which object should the administrator query to produce this report most reliably?
✓The WAREHOUSE_METERING_HISTORY view in the SNOWFLAKE.ACCOUNT_USAGE schema, which retains up to 365 days of per-warehouse hourly credit data
Correct. SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY provides hourly credit consumption per warehouse with up to 365 days of retention, ideal for a trusted 90-day financial report.
・The WAREHOUSE_LOAD_HISTORY table function, filtered by each warehouse name over the trailing 90-day window
Incorrect. WAREHOUSE_LOAD_HISTORY reports query load and concurrency over a short window (up to 14 days), not long-range credit consumption.
・The QUERY_HISTORY view in the INFORMATION_SCHEMA of the currently selected database
Incorrect. INFORMATION_SCHEMA.QUERY_HISTORY covers individual query execution with limited retention, not aggregated per-warehouse credit totals.
・The RESOURCE_MONITORS view joined to the exported billing dashboard data file
Incorrect. RESOURCE_MONITORS controls spending limits and does not store historical hourly credit consumption for reporting.
Explanation
WAREHOUSE_METERING_HISTORY in ACCOUNT_USAGE is the canonical source for hourly per-warehouse credit consumption with long retention.
Example6 · Account, Security, and Access Management (RBAC)
At a healthcare services firm, the admin team wants analysts to read de-identified claims data without granting them the ability to manage the warehouse or create new objects. Following Snowflake RBAC best practices, how should the admin structure the roles?
✓Grant SELECT to a custom functional role, then grant that role in the hierarchy
Correct. Granting object privileges to a functional role and layering it in the role hierarchy keeps privileges managed centrally and scales cleanly.
・Grant the SELECT privileges directly to each analyst's user so each person gets exactly what they need individually
Incorrect. Granting privileges directly to users bypasses RBAC, does not scale, and makes auditing and offboarding error-prone.
・Grant the analysts the SYSADMIN role so they can read the data while the admin team keeps monitoring their activity closely over time
Incorrect. SYSADMIN can manage all warehouses and objects, which far exceeds read-only needs and violates least privilege.
・Grant USAGE on the database to PUBLIC and let analysts query the de-identified claims tables freely
Incorrect. Granting via PUBLIC exposes the data to every user in the account, which is inappropriate even for de-identified data.
Explanation
Snowflake RBAC best practice assigns privileges to functional/custom roles and uses a role hierarchy rather than granting to users directly or over-privileging with system roles.
Example7 · Account, Security, and Access Management (RBAC)
At the retail brand NorthPeakOutfitters, analysts in the merchandising team must query sales data but never load or drop objects. The administrator wants the analyst role to inherit only read access while keeping an ETL role separate and higher in the hierarchy. Which approach best satisfies least-privilege design?
✓Grant ANALYST only SELECT, then grant ANALYST up to the higher ETL role.
Correct. Granting only SELECT to ANALYST and granting ANALYST up to ETL lets ETL inherit read while ANALYST stays read-only, matching least privilege.
・Grant the SYSADMIN role to ANALYST so analysts receive every privilege held by SYSADMIN across the account.
Incorrect. Granting SYSADMIN to ANALYST gives analysts far more than read access and violates least privilege completely.
・Grant ALL privileges on the sales schema to ANALYST and ask the analysts to avoid write statements.
Incorrect. Granting ALL privileges still allows loads and drops; relying on users to avoid writes is not an access control.
・Grant the ANALYST role to PUBLIC so that every user in the account can query the sales schema.
Incorrect. Granting to PUBLIC exposes the data to every user, far broader than the merchandising team.
Explanation
Least privilege means granting only the minimal SELECT needed to ANALYST, then placing ANALYST lower in the hierarchy so higher roles inherit read without ANALYST gaining write.
Example8 · Account, Security, and Access Management (RBAC)
NorthPeakOutfitters created a table under the LOADER role, but the BI team using the REPORTING role cannot see it even after being granted USAGE on the database and schema. What privilege concept explains why REPORTING still cannot query the table?
✓USAGE on a database and schema does not include SELECT on the tables inside; object-level SELECT must be granted separately to the querying role.
Correct. USAGE only permits a role to reference the container; SELECT on the specific tables must be granted independently for querying.
・Only the OWNERSHIP role can ever query a table, and ownership cannot be shared or granted to any additional role in the account.
Incorrect. Ownership can be transferred and does not limit querying to a single role; other roles can be granted SELECT.
・USAGE automatically grants SELECT on all current and future tables, so the issue must be a suspended warehouse rather than privileges.
Incorrect. USAGE does not imply SELECT, and the stated cause misattributes the problem to the warehouse.
・REPORTING needs the MANAGE GRANTS privilege at the account level before any SELECT statement will return rows.
Incorrect. MANAGE GRANTS administers grants; it is not a prerequisite for a role to run SELECT on a table.
Explanation
USAGE lets a role traverse into a database and schema, but data access still requires explicit SELECT on the tables, which is the distinction between usage and access privileges.
Example9 · Account, Security, and Access Management (RBAC)
NorthPeakOutfitters loads a new sales table every week into the ANALYTICS schema and wants the REPORTING role to automatically receive SELECT on each newly created table without a manual grant each time. Which statement accomplishes this?
✓GRANT SELECT ON FUTURE TABLES IN SCHEMA analytics TO ROLE reporting;
Correct. A future grant on tables in the schema automatically applies SELECT to every table created later in that schema.
・GRANT SELECT ON ALL EXISTING TABLES IN SCHEMA analytics TO ROLE reporting;
Incorrect. ALL EXISTING TABLES grants only cover tables that exist now, not ones created in future weeks.
・GRANT OWNERSHIP ON SCHEMA analytics TO ROLE reporting WITH FUTURE;
Incorrect. There is no WITH FUTURE clause on ownership, and ownership would be far more than read access.
・GRANT USAGE ON FUTURE SCHEMAS IN DATABASE sales TO ROLE reporting;
Incorrect. FUTURE SCHEMAS applies USAGE to new schemas, not SELECT to new tables in an existing schema.
Explanation
A future grant (ON FUTURE TABLES IN SCHEMA) propagates the privilege to objects created after the grant, automating weekly table access for REPORTING.
Example10 · Account, Security, and Access Management (RBAC)
At Meridian Capital, the analytics team needs SELECT on tables in the RISK_DB.REPORTING schema, while a separate ETL team must own and load those tables. As administrator, how should you structure custom roles so analysts cannot alter or drop the tables the ETL team loads?
・Grant both teams one shared custom role and rely on query tagging to track who may alter versus who may only read tables
Incorrect. Query tagging is metadata for monitoring and does not restrict DDL; both teams would retain alter and drop ability on shared objects.
✓Create ETL_ROLE owning the schema and tables, and ANALYST_ROLE with only USAGE plus SELECT
Correct. Separating ownership (ETL_ROLE) from read access (ANALYST_ROLE with USAGE plus SELECT) enforces least privilege so analysts cannot alter or drop the tables.
・Grant ANALYST_ROLE and ETL_ROLE directly to ACCOUNTADMIN so every privilege inherits downward and both teams share one pool
Incorrect. Granting custom roles to ACCOUNTADMIN concentrates privilege at the top and does not constrain analysts; it is the opposite of least privilege.
・Grant SELECT, INSERT, UPDATE, and DELETE on the tables to ANALYST_ROLE and also grant that role schema OWNERSHIP
Incorrect. Granting write privileges and schema ownership to ANALYST_ROLE gives analysts full alter and drop ability, violating the separation requirement.
Explanation
Least privilege is implemented by assigning object ownership to the loading role and granting only USAGE plus SELECT to the reading role, so read-only users cannot perform DDL.
Example11 · Account, Security, and Access Management (RBAC)
During an onboarding review at Meridian Capital, a junior admin asks which system-defined role should be used routinely to create and manage warehouses, databases, and other account objects without logging in as the top-level account owner. Which role best fits that day-to-day administrative purpose?
・ORGADMIN, because it governs organization-level operations such as creating new accounts and viewing account usage across the whole organization
Incorrect. ORGADMIN operates at the organization level creating accounts and viewing cross-account usage, not routine object management inside one account.
✓SYSADMIN, the role expressly intended to create and manage warehouses, databases, and other objects for most routine day-to-day object administration below the account owner
Correct. SYSADMIN is the role designed to create and manage warehouses, databases, and other objects for routine administration below ACCOUNTADMIN.
・PUBLIC, the pseudo-role automatically granted to every user and used to share objects available to all
Incorrect. PUBLIC is granted to all users for broadly shared objects and carries no administrative capability.
・SECURITYADMIN, which manages grants globally and is responsible for creating, monitoring, and managing users and roles
Incorrect. SECURITYADMIN focuses on managing object grants globally and administering users and roles, not creating warehouses and databases.
Explanation
SYSADMIN is the recommended role for routine creation and management of warehouses and databases, keeping ACCOUNTADMIN reserved for sensitive account-level actions.
Example12 · Account, Security, and Access Management (RBAC)
At Meridian Parts, a manufacturing distributor, the admin team must give the shipping analytics group read-only access to the SHIPMENTS schema while ensuring the role sits under the SYSADMIN branch so account administration stays separated. Which approach correctly establishes this in the role hierarchy?
・Grant SELECT on the schema objects directly to each individual user and skip creating any intermediate custom role for the shipping analytics team entirely.
Incorrect. Granting privileges directly to users bypasses role-based inheritance and becomes unmanageable as the team changes over time.
✓Create a custom role, grant it USAGE and SELECT, then grant the role to SYSADMIN.
Correct. Granting USAGE and SELECT to a custom role, then granting that role to SYSADMIN, keeps it in the SYSADMIN branch and enforces least privilege.
・Create a custom role, grant it SECURITYADMIN so it inherits all account privileges, then assign that custom role to the shipping analytics users.
Incorrect. Granting SECURITYADMIN to a read-only role gives sweeping account administration privileges, violating least privilege.
・Grant the ACCOUNTADMIN role directly to each of the shipping analytics users so they can read the schema.
Incorrect. ACCOUNTADMIN is the top-level role and grants far more than read access, a severe over-provisioning.
Explanation
Least-privilege design uses a custom role granted only USAGE and SELECT, then rolls that role up under SYSADMIN so the hierarchy remains clean and separated from account administration.
Example13 · Account, Security, and Access Management (RBAC)
At Meridian Parts, a table was created by the DATA_ENG role, which therefore owns it. A new policy requires the GOVERNANCE role to become the owner so it can later apply masking policies without depending on DATA_ENG. What is the correct characterization of transferring ownership?
・Ownership cannot be transferred after the object is created, so the GOVERNANCE role must drop and recreate the entire table itself.
Incorrect. Ownership is transferable via GRANT OWNERSHIP; dropping and recreating is unnecessary and destructive.
✓GRANT OWNERSHIP reassigns the owning role to GOVERNANCE, and the COPY CURRENT GRANTS clause preserves the existing privilege grants defined on the object.
Correct. GRANT OWNERSHIP reassigns the owning role to GOVERNANCE, and the COPY CURRENT GRANTS clause keeps the prior grants on the object intact.
・Granting SELECT on the table to the GOVERNANCE role automatically makes GOVERNANCE the owning role of that table.
Incorrect. Granting SELECT confers only read access, not ownership of the object.
・Ownership automatically moves to whichever role most recently queried the table during the active session window on the account.
Incorrect. Querying a table never changes its owning role; ownership only changes through an explicit ownership grant.
Explanation
Ownership is a distinct privilege reassigned by GRANT OWNERSHIP; ordinary grants like SELECT never confer ownership of an object.
Example14 · Account, Security, and Access Management (RBAC)
A telecom operator wants its network-analytics team to query billing data but never alter the underlying warehouses or grant privileges to others. An administrator must design a custom role for these analysts that adheres to least privilege. Which approach best satisfies this requirement?
・Grant the analysts the SYSADMIN role so they inherit all object privileges and can self-service any new table the billing team creates without further administrator involvement
Incorrect. SYSADMIN can create and modify warehouses and owns broad object privileges, far exceeding read-only needs and violating least privilege.
✓Create a custom ANALYST role with USAGE on needed objects and SELECT on billing tables, then grant it
Correct. A purpose-built role with only USAGE and SELECT on exactly the needed objects grants read access while preventing modification or further granting.
・Grant the analysts MANAGE GRANTS on the billing schema so they can decide which of its tables they read and avoid repeated requests to the administrator
Incorrect. MANAGE GRANTS lets a role grant privileges account-wide, which is a highly privileged capability analysts should not hold.
・Assign each analyst the ACCOUNTADMIN role temporarily and ask them to only run SELECT statements as an agreed operational convention
Incorrect. ACCOUNTADMIN is the most privileged role; relying on a verbal convention to limit its use is unsafe and not least privilege.
Explanation
Least privilege is achieved by composing a custom role with the minimal USAGE and SELECT privileges on exactly the objects required, never by handing out system roles or grant-management capabilities.
Example15 · Account, Security, and Access Management (RBAC)
During an onboarding review at a telecom operator, a new administrator asks which system-defined role is the recommended parent for creating and managing most databases, schemas, and warehouses that business teams use day to day. Which role fits that description?
・ACCOUNTADMIN, because it encapsulates every account-level capability including billing visibility and the management of all organizational security policies and users
Incorrect. ACCOUNTADMIN sits at the top and should be tightly restricted; it is not the recommended owner of routine databases and warehouses.
・SECURITYADMIN, because it is the role that creates databases and warehouses for the various reporting lines of business
Incorrect. SECURITYADMIN manages object grants and users/roles globally, not the creation and ownership of workload databases and warehouses.
✓SYSADMIN, the recommended system-defined role intended to create and own the warehouses and databases that run the account's various day-to-day business workloads for teams
Correct. SYSADMIN is designed to create and own warehouses and databases, and custom roles are typically granted up to it.
・PUBLIC, because every user in the account automatically carries it and it therefore conveniently owns shared objects
Incorrect. PUBLIC is a minimal pseudo-role held by all users and is not used to own or manage workload infrastructure.
Explanation
SYSADMIN is the system role meant for creating and managing warehouses and databases, which is why custom functional roles are usually granted to it.
▶ Try 10 free questions (graded)