ExamGecko

ADA-C01: SnowPro Advanced: Administrator Certification

SnowPro Advanced: Administrator Certification
Vendor:

Snowflake

SnowPro Advanced: Administrator Certification Exam Questions: 72
SnowPro Advanced: Administrator Certification   2.370 Learners
Take Practice Tests
Comming soon
PDF | VPLUS
This study guide should help you understand what to expect on the exam and includes a summary of the topics the exam might cover and links to additional resources. The information and materials in this document should help you focus your studies as you prepare for the exam.

Related questions

In general, the monthly billing for database replication is proportional to which variables? (Select TWO).

A.
The frequency of changes to the primary database as a result of data loading or DML operations
A.
The frequency of changes to the primary database as a result of data loading or DML operations
Answers
B.
The amount of table data in the primary database that changes as a result of data loading or DML operations
B.
The amount of table data in the primary database that changes as a result of data loading or DML operations
Answers
C.
The frequency of the secondary database refreshes from the primary database
C.
The frequency of the secondary database refreshes from the primary database
Answers
D.
The number of times data moves across regions and/or cloud service providers between the primary and secondary database accounts
D.
The number of times data moves across regions and/or cloud service providers between the primary and secondary database accounts
Answers
E.
The number and size of warehouses defined in the primary account
E.
The number and size of warehouses defined in the primary account
Answers
Suggested answer: A, B

Explanation:

Snowflake charges for database replication based on two categories: data transfer and compute resources1. Data transfer costs depend on the amount of data that is transferred from the primary database to the secondary database across regions and/or cloud service providers2. Compute resource costs depend on the use of Snowflake-provided compute resources to copy data between accounts across regions1. Both data transfer and compute resource costs are proportional to the frequency and amount of changes to the primary database as a result of data loading or DML operations3. Therefore, the answer is A and B. The other options are not directly related to the replication billing, as the frequency of secondary database refreshes does not affect the amount of data transferred or copied4, and the number and size of warehouses defined in the primary account do not affect the replication process5.

asked 23/09/2024
Martin Schouten
41 questions

An Administrator has been asked to support the company's application team need to build a loyalty program for its customers. The customer table contains Personal

Identifiable Information (PII), and the application team's role is DEVELOPER.

CREATE TABLE customer_data (

customer_first_name string,

customer_last_name string,

customer_address string,

customer_email string,

... some other columns,

);

The application team would like to access the customer data, but the email field must be obfuscated.

How can the Administrator protect the sensitive information, while maintaining the usability of the data?

A.
Create a view on the customer_data table to eliminate the email column by omitting it from the SELECT clause. Grant the role DEVELOPER access to the view.
A.
Create a view on the customer_data table to eliminate the email column by omitting it from the SELECT clause. Grant the role DEVELOPER access to the view.
Answers
B.
Create a separate table for all the non-Pll columns and grant the role DEVELOPER access to the new table.
B.
Create a separate table for all the non-Pll columns and grant the role DEVELOPER access to the new table.
Answers
C.
Use the CURRENT_ROLE and CURRENT_USER context functions to integrate with a secure view and filter the sensitive data.
C.
Use the CURRENT_ROLE and CURRENT_USER context functions to integrate with a secure view and filter the sensitive data.
Answers
D.
Use the CURRENT_ROLE context function to integrate with a masking policy on the fields that contain sensitive data.
D.
Use the CURRENT_ROLE context function to integrate with a masking policy on the fields that contain sensitive data.
Answers
Suggested answer: D
asked 23/09/2024
Mitchell Mansfield
28 questions

A Snowflake Administrator is investigating why a query is not re-using the persisted result cache.

The Administrator found the two relevant queries from the SNOWFLAKE. ACCOUNT_USAGE. QUERY_HISTORY view:

Why is the second query re-scanning micro-partitions instead of using the first query's persisted result cache?

A.
The second query includes a CURRENT_TIMESTAMP () function.
A.
The second query includes a CURRENT_TIMESTAMP () function.
Answers
B.
The second query includes a CURRENT_DATE () function.
B.
The second query includes a CURRENT_DATE () function.
Answers
C.
The queries are executed with two different virtual warehouses.
C.
The queries are executed with two different virtual warehouses.
Answers
D.
The queries are executed with two different roles.
D.
The queries are executed with two different roles.
Answers
Suggested answer: A

Explanation:

The inclusion of the CURRENT_TIMESTAMP() function in the second query prevents it from re-using the first query's persisted result cache because this function makes each execution unique due to the constantly changing timestamp. According to theSnowflake documentation, ''The query does not include non-reusable functions, which return different results for successive runs of the same query. UUID_STRING, RANDOM, and RANDSTR are good examples of non-reusable functions.'' The CURRENT_TIMESTAMP() function is another example of a non-reusable function, as it returns the current date and time at the start of query execution, which varies for each run. Therefore, the second query is not identical to the first query, and the result cache is not reused. The other options are either incorrect or irrelevant to the question. Option B is incorrect, as the CURRENT_DATE() function is a reusable function, as it returns the same value for all queries executed within the same day. Option C is irrelevant, as the virtual warehouse used to execute the query does not affect the result cache reuse. Option D is also irrelevant, as the role used to execute the query does not affect the result cache reuse, as long as the role has the necessary access privileges for all the tables used in the query.

asked 23/09/2024
Serhan Azdiken
37 questions

A Snowflake Administrator created a role ROLE_MANAGED_ACCESS and a schema SCHEMA_MANAGED_ACCESS as follows:

USE ROLE SECURITYADMIN;

CREATE ROLE ROLE_MANAGED_ACCESS;

GRANT ROLE ROLE_MANAGED_ACCESS TO ROLE SYSADMIN;

GRANT USAGE ON WAREHOUSE COMPUTE_WH TO ROLE ROLE_MANAGED_ACCESS;

GRANT ALL privileges ON DATABASE WORK TO ROLE ROLE_MANAGED_ACCESS;

USE ROLE ROLE_MANAGED_ACCESS;

CREATE SCHEMA SCHEMA_MANAGED_ACCESS WITH MANAGED ACCESS;

USE ROLE SECURITYADMIN;

GRANT SELECT, INSERT ON FUTURE TABLES IN SCHEMA SCHEMA MANAGED ACCESS to ROLE_MANAGED_ACCESS;

The Administrator now wants to disable the managed access on the schema.

How can this be accomplished?

A.
ALTER SCHEMA SCHEMA MANAGED ACCESS DISABLE MANAGED ACCESS;
A.
ALTER SCHEMA SCHEMA MANAGED ACCESS DISABLE MANAGED ACCESS;
Answers
B.
USE ROLE ROLE MANAGED_ACCESS; DROP SCHEMA WORK. SCHEMA_MANAGED_ACCESS; CREATE SCHEMA SCHEMA_MANAGED_ACCESS; Then recreate all needed objects.
B.
USE ROLE ROLE MANAGED_ACCESS; DROP SCHEMA WORK. SCHEMA_MANAGED_ACCESS; CREATE SCHEMA SCHEMA_MANAGED_ACCESS; Then recreate all needed objects.
Answers
C.
REVOKE SELECT, INSERT ON FUTURE TABLES IN SCHEMA SCHEMA_MANAGED_ACCESS FROM ROLE_MANAGED_ACCESS; ALTER SCHEMA SCHEMA MANAGED ACCESS DISABLE MANAGED ACCESS;
C.
REVOKE SELECT, INSERT ON FUTURE TABLES IN SCHEMA SCHEMA_MANAGED_ACCESS FROM ROLE_MANAGED_ACCESS; ALTER SCHEMA SCHEMA MANAGED ACCESS DISABLE MANAGED ACCESS;
Answers
D.
USE ROLE ROLE_MANAGED_ACCESS; DROP SCHEMA WORK. SCHEMA MANAGED_ACCESS; CREATE SCHEMA SCHEMA_MANAGED_ACCESS WITHOUT MANAGED ACCESS; Then recreate all needed objects.
D.
USE ROLE ROLE_MANAGED_ACCESS; DROP SCHEMA WORK. SCHEMA MANAGED_ACCESS; CREATE SCHEMA SCHEMA_MANAGED_ACCESS WITHOUT MANAGED ACCESS; Then recreate all needed objects.
Answers
Suggested answer: A

Explanation:

According to the Snowflake documentation1, you can change a managed access schema to a regular schema using the ALTER SCHEMA statement with the DISABLE MANAGED ACCESS keywords. This will disable the managed access feature on the schema and revert the access control to the default behavior. Option B is incorrect because dropping and recreating the schema will also delete all the objects and metadata in the schema, which is not necessary to disable the managed access. Option C is incorrect because revoking the privileges on the future tables from the role is not required to disable the managed access. Option D is incorrect because there is no WITHOUT MANAGED ACCESS option in the CREATE SCHEMA statement.

asked 23/09/2024
Robert Thompson
45 questions

A requirement has been identified to allow members of a corporate Data Product team to bring in data sets from the Snowflake Marketplace. The members of this team use the role DP_TEAM.

What grant statements must the ACCOUNTADMIN execute in order for the DP TEAM role to import and work with data from the Marketplace?

Become a Premium Member for full access
Unlock Premium Member  Unlock Premium Member

In which scenario will use of an external table simplify a data pipeline?

A.
When accessing a Snowflake table from a relational database
A.
When accessing a Snowflake table from a relational database
Answers
B.
When accessing a Snowflake table from an external database within the same region
B.
When accessing a Snowflake table from an external database within the same region
Answers
C.
When continuously writing data from a Snowflake table to external storage
C.
When continuously writing data from a Snowflake table to external storage
Answers
D.
When accessing a Snowflake table that references data files located in cloud storage
D.
When accessing a Snowflake table that references data files located in cloud storage
Answers
Suggested answer: D

Explanation:

According to the Introduction to External Tables documentation, an external table is a Snowflake feature that allows you to query data stored in an external stage as if the data were inside a table in Snowflake. The external stage is not part of Snowflake, so Snowflake does not store or manage the stage. This simplifies the data pipeline by eliminating the need to load the data into Snowflake before querying it. External tables can access data stored in any format that the COPY INTO <table> command supports, such as CSV, JSON, AVRO, ORC, or PARQUET. The other scenarios do not involve external tables, but rather require data loading, unloading, or federation.

asked 23/09/2024
Alvaro Peralta
24 questions

An Administrator has a table named SALES_DATA which needs some edits, but the Administrator does not want to change the main table data. The Administrator decides to make a transient copy of this table and wants the transient table to have all the same permissions as the original table.

How can the Administrator create the transient table so it inherits the same permissions as the original table, and what considerations need to be made concerning the requirements? (Select TWO).

A.
Use the following SQL command: create transient table TRANSIENT_SALES_DATA as select * from SALES_DATA;
A.
Use the following SQL command: create transient table TRANSIENT_SALES_DATA as select * from SALES_DATA;
Answers
B.
Use the following SQL command: create transient table TRANSIENT SALES DATA as select * from SALES_DATA copy grants;
B.
Use the following SQL command: create transient table TRANSIENT SALES DATA as select * from SALES_DATA copy grants;
Answers
C.
Use the following SQL commands: create transient table TRANSIENT_SALES_DATA like SALES_DATA copy grants; insert into TRANSIENT_SALES_DATA select * from SALES_DATA;
C.
Use the following SQL commands: create transient table TRANSIENT_SALES_DATA like SALES_DATA copy grants; insert into TRANSIENT_SALES_DATA select * from SALES_DATA;
Answers
D.
Transient tables will persist until explicitly dropped and contribute to overall storage costs.
D.
Transient tables will persist until explicitly dropped and contribute to overall storage costs.
Answers
E.
Transient tables will be purged at the end of the user session and do not have any Fail-safe period.
E.
Transient tables will be purged at the end of the user session and do not have any Fail-safe period.
Answers
Suggested answer: B, D

Explanation:

According to the Snowflake documentation1, the COPY GRANTS option can be used to copy all privileges, except OWNERSHIP, from the existing table to the new transient table. This option also preserves any future grants defined for the object type in the schema. Option A is incorrect because it does not copy any grants from the original table. Option C is incorrect because it does not copy the data from the original table, only the structure and grants. Option E is incorrect because transient tables are not session-based and do not have a Fail-safe period, but they do have a Time Travel retention period2.

1: CREATE TABLE | Snowflake Documentation 2: Working with Temporary and Transient Tables | Snowflake Documentation

asked 23/09/2024
Alessandro Cristofori
39 questions

A user has enrolled in Multi-factor Authentication (MFA) for connecting to Snowflake. The user informs the Snowflake Administrator that they lost their mobile phone the previous evening.

Which step should the Administrator take to allow the user to log in to the system, without revoking their MFA enrollment?

A.
Alter the user and set MINS TO BYPASS MFA to a value that will disable MFA long enough for the user to log in.
A.
Alter the user and set MINS TO BYPASS MFA to a value that will disable MFA long enough for the user to log in.
Answers
B.
Alter the user and set DISABLE_MFA to true, which will suspend the MFA requirement for 24 hours.
B.
Alter the user and set DISABLE_MFA to true, which will suspend the MFA requirement for 24 hours.
Answers
C.
Instruct the user to connect to Snowflake using SnowSQL, which does not support MFA authentication.
C.
Instruct the user to connect to Snowflake using SnowSQL, which does not support MFA authentication.
Answers
D.
Instruct the user to append the normal URL with /?mode=mfa_bypass&code= to log on.
D.
Instruct the user to append the normal URL with /?mode=mfa_bypass&code= to log on.
Answers
Suggested answer: A

Explanation:

The MINS_TO_BYPASS_MFA property allows the account administrator to temporarily disable MFA for a user who has lost their phone or changed their phone number1. The user can log in without MFA for the specified number of minutes, and then re-enroll in MFA using their new phone1. This does not revoke their MFA enrollment, unlike the DISABLE_MFA property, which cancels their enrollment and requires them to re-enroll from scratch1. The other options are not valid ways to bypass MFA, as SnowSQL does support MFA authentication2, and there is no such URL parameter as /?mode=mfa_bypass&code= for Snowflake3

asked 23/09/2024
Dave Breath
49 questions

Which commands can be performed by a user with the ORGADMIN role but not the ACCOUNTADMIN role? (Select TWO).

A.
SHOW REGIONS;
A.
SHOW REGIONS;
Answers
B.
SHOW USERS;
B.
SHOW USERS;
Answers
C.
SHOW ORGANIZATION ACCOUNTS;
C.
SHOW ORGANIZATION ACCOUNTS;
Answers
D.
GRANT ROLE ORGADMIN TO USER <username>;
D.
GRANT ROLE ORGADMIN TO USER <username>;
Answers
E.
SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER ( 'ACCOUNT LOCATOR', 'ENABLE ACCOUNT DATABASE_REPLICATION', 'true' );
E.
SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER ( 'ACCOUNT LOCATOR', 'ENABLE ACCOUNT DATABASE_REPLICATION', 'true' );
Answers
Suggested answer: C, E

Explanation:

According to the Snowflake documentation1, the ORGADMIN role is a special system role that is responsible for managing operations at the organization level, such as creating and viewing accounts, enabling database replication, and setting global account parameters. The ACCOUNTADMIN role is a system role that is responsible for managing operations at the account level, such as creating and managing users, roles, warehouses, databases, and shares. Therefore, the commands that can be performed by the ORGADMIN role but not the ACCOUNTADMIN role are:

* SHOW ORGANIZATION ACCOUNTS: This command lists all the accounts in the organization and their properties, such as region, edition, and status2. The ACCOUNTADMIN role can only show the current account and its properties using the SHOW ACCOUNTS command3.

* SELECT SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETER: This function sets a global account parameter for an account in the organization, such as enabling account database replication4. The ACCOUNTADMIN role can only set local account parameters using the ALTER ACCOUNT command.

Option A is incorrect because the SHOW REGIONS command can be executed by any role, not just the ORGADMIN role. Option B is incorrect because the SHOW USERS command can be executed by the ACCOUNTADMIN role, as well as any role that has been granted the MONITOR privilege on the account. Option D is incorrect because the GRANT ROLE ORGADMIN TO USER <username> command can be executed by the ACCOUNTADMIN role, as well as any role that has been granted the ORGADMIN role1.

asked 23/09/2024
Bob Target
38 questions

A data provider wants to share data from multiple databases with a data consumer account.

How can this be accomplished?

Become a Premium Member for full access
Unlock Premium Member  Unlock Premium Member