Black Friday Special Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Snowflake > SnowPro Advanced: Administrator > ADA-C01

ADA-C01 SnowPro Advanced Administrator Question and Answers

Question # 4

Which statement allows this user to access this Snowflake account from a specific IP address (192.168.1.100) while blocking their access from anywhere else?

A.

CREATE NETWORK POLICY ADMIN_POLICY

ALLOWED_IP_LIST = ('192.168.1.100');

ALTER USER ABC SET NETWORK_POLICY = 'ADMIN_POLICY';

User ABC is the only user with an ACCOUNTADMIN role.

B.

CREATE NETWORK POLICY ADMIN POLICY

ALLOWED_IP_LIST = ('192.168.1.100');

ALTER ROLE ACCOUNTADMIN SET NETWORK_POLICY = 'ADMIN_POLICY';

C.

CREATE NETWORK POLICY ADMIN_POLICY

ALLOWED IP LIST = ('192.168.1.100')

BLOCKED_IP_LIST = ('0.0.0.0/0');

ALTER USER ABC SET NETWORK_POLICY = 'ADMIN_POLICY';

D.

CREATE OR REPLACE NETWORK POLICY ADMIN_POLICY

ALLOWED_IP_LIST = ('192.168. 1. 100/0') ;

ALTER USER ABC SET NETWORK_POLICY = 'ADMIN_POLICY';

Full Access
Question # 5

A company enabled replication between accounts and is ready to replicate data across regions in the same cloud service provider.

The primary database object is : PROD_AWS_EAST. Location : AWS_EAST

The secondary database object is : PROD_AWS_WEST. Location : AWS_WEST

What command and account location is needed to refresh the data?

A.

Location : AWS_WEST

Command : REFRESH DATABASE PROD_AWS WEST REFRESH;

B.

Location : AWS_WEST

Command : ALTER DATABASE PROD AWS WEST REFRESH;

C.

Location : AWS_EAST

Command : REFRESH DATABASE PROD_AWS_WEST REFRESH;

D.

Location : AWS EAST

Command: ALTER DATABASE PROD_AWS_WEST REFRESH;

Full Access
Question # 6

A Snowflake customer is experiencing higher costs than anticipated while migrating their data warehouse workloads from on-premises to Snowflake. The migration

workloads have been deployed on a single warehouse and are characterized by a large number of small INSERTs rather than bulk loading of large extracts. That single

warehouse has been configured as a single cluster, 2XL because there are many parallel INSERTs that are scheduled during nightly loads.

How can the Administrator reduce the costs, while minimizing the overall load times, for migrating data warehouse history?

A.

There should be another 2XL warehouse deployed to handle a portion of the load queries.

B.

The 2XL warehouse should be changed to 4XL to increase the number of threads available for parallel load queries.

C.

The warehouse should be kept as a SMALL or XSMALL and configured as a multi-cluster warehouse to handle the parallel load queries.

D.

The INSERTS should be converted to several tables to avoid contention on large tables that slows down query processing.

Full Access
Question # 7

An Administrator receives data from a Snowflake partner. The partner is sharing a dataset that contains multiple secure views. The Administrator would like to configure the

data so that only certain roles can see certain secure views.

How can this be accomplished?

A.

Apply RBAC directly onto the partner's shared secure views.

B.

Individually grant imported privileges onto the schema in the share.

C.

Clone the data and insert it into a company-owned share and apply the desired RBAC on the new tables.

D.

Create views over the incoming shared database and apply the desired RBAC onto these views.

Full Access
Question # 8

A large international company with many operating regions requires data to be shared bi-directionally among all offices (head office to regional offices and regional offices among themselves). This company is a Snowflake account holder with European operations deployed in Microsoft Azure (single region) while North American regional offices are using AWS (single region) as their deployment cloud. This setup is required to comply with Personal Identifiable Information (PII) regulations in some of the European countries. The corporate head office is in Europe.

How can this data be shared bi-directionally, while MINIMIZING costs?

A.

Use data replication everywhere to reduce costs associated with same-region sharing.

B.

Use the PUT command to move files to an Amazon S3 bucket and Azure Blobs, and use an external file management application to move files within the corporate VPC.

C.

Move all the Snowflake accounts to a single region, and implement data sharing.

D.

Use bi-directional data sharing among offices in the same region and replication among offices across the continents.

Full Access
Question # 9

MY_TABLE is a table that has not been updated or modified for several days. On 01 January 2021 at 07:01, a user executed a query to update this table. The query ID is

'8e5d0ca9-005e-44e6-b858-a8f5b37c5726'. It is now 07:30 on the same day.

Which queries will allow the user to view the historical data that was in the table before this query was executed? (Select THREE).

A.

SELECT * FROM my table WITH TIME_TRAVEL (OFFSET => -60*30);

B.

SELECT * FROM my_table AT (TIMESTAMP => '2021-01-01 07:00:00' :: timestamp);

C.

SELECT * FROM TIME_TRAVEL ('MY_TABLE', 2021-01-01 07:00:00);

D.

SELECT * FROM my table PRIOR TO STATEMENT '8e5d0ca9-005e-44e6-b858-a8f5b37c5726';

E.

SELECT * FROM my_table AT (OFFSET => -60*30);

F.

SELECT * FROM my_table BEFORE (STATEMENT => '8e5d0ca9-005e-44e6-b858-a8f5b37c5726');

Full Access
Question # 10

For Snowflake network policies, what will occur when the account_level and user_level network policies are both defined?

A.

The account_level policy will override the user_level policy.

B.

The user_level policy will override the account_level policy.

C.

The user_level network policies will not be supported.

D.

A network policy error will be generated with no definitions provided.

Full Access
Question # 11

A Snowflake Administrator has a multi-cluster virtual warehouse and is using the Snowflake Business Critical edition. The minimum number of clusters is set to 2 and the

maximum number of clusters is set to 10. This configuration works well for the standard workload, rarely exceeding 5 running clusters. However, once a month the

Administrator notes that there are a few complex long-running queries that are causing increased queue time and the warehouse reaches its maximum limit at 10 clusters.

Which solutions will address the issues happening once a month? (Select TWO).

A.

Use a task to increase the cluster size for the time period that the more complex queries are running and another task to reduce the size of the cluster once the complex queries complete.

B.

Have the group running the complex monthly queries use a separate appropriately-sized warehouse to support their workload.

C.

Increase the multi-cluster maximum to 20 or more clusters.

D.

Examine the complex queries and determine if they can be made more efficient using clustering keys or materialized views.

E.

Increase the minimum number of clusters started in the multi-cluster configuration to 5.

Full Access
Question # 12

An Administrator needs to create a sample of the table LINEITEM. The sample should not be repeatable and the sampling function should take the data by blocks of rows.

What select command will generate a sample of 20% of the table?

A.

select * from LINEITEM sample bernoulli (20);

B.

select * from LINEITEM sample system (20);

C.

select * from LINEITEM tablesample block (20 rows);

D.

select * from LINEITEM tablesample system (20) seed (1);

Full Access
Question # 13

A Snowflake Administrator wants to create a virtual warehouse that supports several dashboards, issuing various queries on the same database.

For this warehouse, why should the Administrator consider setting AUTO_SUSPEND to 0 or NULL?

A.

To save costs on warehouse shutdowns and startups for different queries

B.

To save costs by running the warehouse as little as possible

C.

To keep the data cache warm to support good performance of similar queries

D.

To keep the query result cache warm for good performance on repeated queries

Full Access
Question # 14

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?

A.

grant marketplace in account to role dp_team;

grant create database from share to role dp_team;

B.

grant usage on snowflake_marketplace to role dp_team;

grant create database on account to role dp_team;

C.

grant imported privileges on account to role dp_team;

grant create database on account to role dp_team;

D.

grant import share on account to role dp_team;

grant create database on account to role dp_team;

Full Access
Question # 15

A virtual warehouse report_wh is configured with AUTO_RESUME=TRUE and AUTO_SUSPEND=300. A user has been granted the role accountant.

An application with the accountant role should use this warehouse to run financial reports, and should keep track of compute credits used by the warehouse.

What minimal privileges on the warehouse should be granted to the role to meet the requirements for the application? (Select TWO).

A.

OPERATE

B.

MODIFY

C.

MONITOR

D.

USAGE

E.

OWNERSHIP

Full Access
Question # 16

A team is provisioning new lower environments from the production database using cloning. All production objects and references reside in the database, and do not have

external references.

What set of object references needs to be re-pointed before granting access for usage?

A.

Sequences, views, and secure views

B.

Sequences, views, secure views, and materialized views

C.

Sequences, storage integrations, views, secure views, and materialized views

D.

There are no object references that need to be re-pointed

Full Access
Question # 17

An Administrator is evaluating a complex query using the EXPLAIN command. The Globalstats operation indicates 500 partitionsAssigned.

The Administrator then runs the query to completion and opens the Query Profile. They notice that the partitions scanned value is 429.

Why might the actual partitions scanned be lower than the estimate from the EXPLAIN output?

A.

The EXPLAIN results always include a 10-15% safety factor in order to provide conservative estimates.

B.

The GlobalStats partition assignment includes the micro-partitions that will be assigned for preservation of the query results.

C.

Runtime optimizations such as join pruning can reduce the number of partitions and bytes scanned during query execution.

D.

In-flight data compression will result in fewer micro-partitions being scanned at the virtual warehouse layer than were identified at the storage layer.

Full Access
Question # 18

How should an Administrator configure a Snowflake account to use AWS PrivateLink?

  • Create CNAME records in the DNS.

  • Contact Snowflake Support.

  • Block public access to Snowflake.

A.

Use SnowCD to evaluate the network connection.

Full Access
Question # 19

A Snowflake Administrator needs to set up Time Travel for a presentation area that includes facts and dimensions tables, and receives a lot of meaningless and erroneous

loT data. Time Travel is being used as a component of the company's data quality process in which the ingestion pipeline should revert to a known quality data state if any

anomalies are detected in the latest load. Data from the past 30 days may have to be retrieved because of latencies in the data acquisition process.

According to best practices, how should these requirements be met? (Select TWO).

A.

Related data should not be placed together in the same schema. Facts and dimension tables should each have their own schemas.

B.

The fact and dimension tables should have the same DATA_RETENTION_TIME_IN_ DAYS.

C.

The DATA_RETENTION_TIME_IN_DAYS should be kept at the account level and never used for lower level containers (databases and schemas).

D.

Only TRANSIENT tables should be used to ensure referential integrity between the fact and dimension tables.

E.

The fact and dimension tables should be cloned together using the same Time Travel options to reduce potential referential integrity issues with the restored data.

Full Access
Question # 20

A company has many users in the role ANALYST who routinely query Snowflake through a reporting tool. The Administrator has noticed that the ANALYST users keep two

small clusters busy all of the time, and occasionally they need three or four clusters of that size.

Based on this scenario, how should the Administrator set up a virtual warehouse to MOST efficiently support this group of users?

A.

Create a multi-cluster warehouse with MIN_CLUSTERS set to 1. Give MANAGE privileges to the ANALYST role so this group can start and stop the warehouse, and increase the number of clusters as needed.

B.

Create a multi-cluster warehouse with MIN_CLUSTERS set to 2. Set the warehouse to auto-resume and auto-suspend, and give USAGE privileges to the ANALYST role. Allow the warehouse to auto-scale.

C.

Create a standard X-Large warehouse, which is equivalent to four small clusters. Set the warehouse to auto-resume and auto-suspend, and give USAGE privileges to the ANALYST role.

D.

Create four virtual warehouses (sized Small through XL) and set them to auto-suspend and auto-resume. Have users in the ANALYST role select the appropriate warehouse based on how many queries are being run.

Full Access
Question # 21

An Administrator has a user who needs to be able to suspend and resume a task based on the current virtual warehouse load, but this user should not be able to modify the task or start a new run.

What privileges should be granted to the user to meet these requirements? (Select TWO).

A.

EXECUTE TASK on the task

B.

OWNERSHIP on the task

C.

OPERATE on the task

D.

USAGE on the database and schema containing the task

E.

OWNERSHIP on the database and schema containing the task

Full Access