Winter Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: suredis

Snowflake ADA-C01 SnowPro Advanced Administrator Exam Practice Test

Demo: 21 questions
Total 72 questions

SnowPro Advanced Administrator Questions and Answers

Question 1

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?

Options:

A.

ALTER SCHEMA SCHEMA MANAGED ACCESS DISABLE MANAGED ACCESS;

B.

USE ROLE ROLE MANAGED_ACCESS;

DROP SCHEMA WORK. SCHEMA_MANAGED_ACCESS;

CREATE SCHEMA SCHEMA_MANAGED_ACCESS;

Then recreate all needed objects.

C.

REVOKE SELECT, INSERT ON FUTURE TABLES IN SCHEMA SCHEMA_MANAGED_ACCESS FROM

ROLE_MANAGED_ACCESS;

ALTER SCHEMA SCHEMA MANAGED ACCESS DISABLE MANAGED ACCESS;

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.

Question 2

What is required for stages, without credentials, to limit data exfiltration after a storage integration and associated stages are created?

Options:

A.

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = true;

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = true;

ALTER ACCOUNT my_account SET

PREVENT_UNLOAD_TO_INLINE_URL = false;

B.

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = false;

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = false;

ALTER ACCOUNT my_account SET

PREVENT_UNLOAD_TO_INLINE_URL = true;

C.

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = false;

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = false;

ALTER ACCOUNT my_account SET

PREVENT_UNLOAD_TO_INLINE_URL = false;

D.

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = true;

ALTER ACCOUNT my_account SET

REQUIRE_STORAGE_INTEGRATION FOR STAGE_OPERATION = true;

ALTER ACCOUNT my_account SET

PREVENT_UNLOAD_TO_INLINE_URL = true;

Question 3

An Administrator loads data into a staging table every day. Once loaded, users from several different departments perform transformations on the data and load it into

different production tables.

How should the staging table be created and used to MINIMIZE storage costs and MAXIMIZE performance?

Options:

A.

Create it as an external table, which will not incur Time Travel costs.

B.

Create it as a transient table with a retention time of 0 days.

C.

Create it as a temporary table with a retention time of 0 days.

D.

Create it as a permanent table with a retention time of 0 days.

Question 4

A user with the proper role issues the following commands when setting up and activating network policies:

CREATE OR REPLACE NETWORK POLICY foo_policy

ALLOWED_IP_LIST = ( '1.1.1.0/24', '2.2.2.0/24' , '3.3. 3. 0/24' )

BLOCKED IP LIST = ( '1.1.1.1')

COMMENT = 'Account level policy';

ALTER ACCOUNT SET NETWORK_POLICY=FOO_POLICY;

CREATE OR REPLACE NETWORK POLICY bar_policy

ALLOWED_IP_LIST = ('3.3.3.0/24')

BLOCKED IP LIST = ('3.3.3.10')

COMMENT = 'user level policy';

ALTER USER userl SET NETWORK_POLICY=BAR_POLICY;

Afterwards, user1 attempts to log in to Snowflake from IP address 3.3.3.10.

Will the login be successful?

Options:

A.

Yes, because 3.3.3.10 is found in the ALLOWED_IP_LIST of bar_policy.

B.

No, because 3.3.3.10 is found in the BLOCKED_IP_LIST of bar_policy.

C.

Yes, because 3.3.3.10 is found in the ALLOWED_IP_LIST of foo_policy.

D.

No, because 3.3.3.10 is not found in the ALLOWED_IP_LIST of foo_policy.

Question 5

Which type of listing in the Snowflake Marketplace can be added and queried immediately?

Options:

A.

Monetized listing

B.

Standard listing

C.

Regional listing

D.

Personalized listing

Question 6

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?

Options:

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.

Question 7

A Snowflake user runs a complex SQL query on a dedicated virtual warehouse that reads a large amount of data from micro-partitions. The same user wants to run another

query that uses the same data set.

Which action would provide optimal performance for the second SQL query?

Options:

A.

Assign additional clusters to the virtual warehouse.

B.

Increase the STATEMENT_TIMEOUT_IN_SECONDS parameter in the session.

C.

Prevent the virtual warehouse from suspending between the running of the first and second queries.

D.

Use the RESULT_SCAN function to post-process the output of the first query.

Question 8

An Administrator wants to delegate the administration of a company's data exchange to users who do not have access to the ACCOUNTADMIN role.

How can this requirement be met?

Options:

A.

Grant imported privileges on data exchange EXCHANGE_NAME to ROLE_NAME;

B.

Grant modify on data exchange EXCHANGE_NAME to ROLE_NAME;

C.

Grant ownership on data exchange EXCHANGE_NAME to ROLE NAME;

D.

Grant usage on data exchange EXCHANGE_NAME to ROLE_NAME;

Question 9

What roles or security privileges will allow a consumer account to request and get data from the Data Exchange? (Select TWO).

Options:

A.

SYSADMIN

B.

SECURITYADMIN

C.

ACCOUNTADMIN

D.

IMPORT SHARE and CREATE DATABASE

E.

IMPORT PRIVILEGES and SHARED DATABASE

Question 10

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?

Options:

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;

Question 11

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.

Options:

A.

Use SnowCD to evaluate the network connection.

Question 12

A Snowflake Administrator needs to persist all virtual warehouse configurations for auditing and backups. Given a table already exists with the following schema:

Table Name:VWH_META

Column 1:SNAPSHOT_TIME TIMESTAMP_NTZ

Column 2:CONFIG VARIANT

Which commands should be executed to persist the warehouse data at the time of execution in JSON format in the table VWH META?

Options:

A.

1. SHOW WAREHOUSES;

2. INSERT INTO VWH META

SELECT CURRENT TIMESTAMP (),

FROM TABLE (RESULT_SCAN (LAST_QUERY_ID(1) ) ) ;

B.

1. SHOW WAREHOUSES;

2. INSERT INTO VWH META

SELECT CURRENT TIMESTAMP (), *

FROM TABLE (RESULT_SCAN (LAST_QUERY_ID ())) ;

C.

1. SHOW WAREHOUSES;

2. INSERT INTO VWH_META

SELECT CURRENT_TIMESTAMP (),

OBJECT CONSTRUCT (*)

FROM TABLE (RESULT_SCAN (LAST_QUERY_ID ()));

D.

1. SHOW WAREHOUSES;

2. INSERT INTO VWH META

SELECT CURRENT TIMESTAMP (), *

FROM TABLE (RESULT_SCAN (SELECT

LAST QUERY ID(-1)));

Question 13

What is a characteristic of Snowflake's transaction locking and concurrency modeling?

Options:

A.

A deadlock cannot occur in Snowflake, since concurrently executed queries and DML statements do not block one another.

B.

If two queries are concurrently executed against the same table, one of the two queries will be blocked until the other query completes.

C.

Transaction locking in Snowflake is enforced exclusively at the row and table levels.

D.

Queries executed within a given transaction see that transaction's uncommitted changes.

Question 14

The following SQL command was executed:

Use role SECURITYADMIN;

Grant ownership

On future tables

In schema PROD. WORKING

To role PROD_WORKING_OWNER;

Grant role PROD_WORKING_OWNER to role SYSADMIN;

Use role ACCOUNTADMIN;

Create table PROD.WORKING.XYZ (value number) ;

Which role(s) can alter or drop table XYZ?

Options:

A.

Because ACCOUNTADMIN created the table, only the ACCOUNTADMIN role can alter or drop table XYZ.

B.

SECURITYADMIN, SYSADMIN, and ACCOUNTADMIN can alter or drop table XYZ.

C.

PROD_WORKING_OWNER, ACCOUNTADMIN, and SYSADMIN can alter or drop table XYZ.

D.

Only the PROD_WORKING_OWNER role can alter or drop table XYZ.

Question 15

A retailer uses a TRANSACTIONS table (100M rows, 1.2 TB) that has been clustered by the STORE_ID column (varchar(50)). The vast majority of analyses on this table are

grouped by STORE_ID to look at store performance.

There are 1000 stores operated by the retailer but most sales come from only 20 stores. The Administrator notes that most queries are currently experiencing poor pruning,

with large amounts of bytes processed by even simple queries.

Why is this occurring?

Options:

A.

The STORE_ID should be numeric.

B.

The table is not big enough to take advantage of the clustering key.

C.

Sales across stores are not uniformly distributed.

D.

The cardinality of the stores to transaction count ratio is too low to use the STORE_ID as a clustering key.

Question 16

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).

Options:

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

Question 17

A company has implemented Snowflake replication between two Snowflake accounts, both of which are running on a Snowflake Enterprise edition. The replication is for the

database APP_DB containing only one schema, APP_SCHEMA. The company's Time Travel retention policy is currently set for 30 days for both accounts. An Administrator

has been asked to extend the Time Travel retention policy to 60 days on the secondary database only.

How can this requirement be met?

Options:

A.

Set the data retention policy on the secondary database to 60 days.

B.

Set the data retention policy on the schemas in the secondary database to 60 days.

C.

Set the data retention policy on the primary database to 30 days and the schemas to 60 days.

D.

Set the data retention policy on the primary database to 60 days.

Question 18

DatabaseA has a single schema called Schema1. This schema contains many tables and views. The ANALYST role has privileges to select from all objects in

DatabaseA. Schema1. The SYSADMIN role clones DatabaseA to DatabaseA_clone.

What privileges does the ANALYST role have on tables and views in DatabaseA_clone? (Select TWO).

Options:

A.

USAGE on the schema DatabaseA clone

B.

USAGE on the database DatabaseA_clone. Schemal

C.

SELECT on all tables, and only non-secure views in DatabaseA_clone. Schemal

D.

SELECT on all tables, and only secure views in DatabaseA_clone. Schemal

E.

SELECT on all tables and views in DatabaseA_clone. Schema1

Question 19

Which Snowflake objects can be managed using SCIM integration? (Select TWO).

Options:

A.

Stages

B.

Users

C.

Warehouses

D.

Roles

E.

Shares

Question 20

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?

Options:

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

Question 21

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?

Options:

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.

B.

Alter the user and set DISABLE_MFA to true, which will suspend the MFA requirement for 24 hours.

C.

Instruct the user to connect to Snowflake using SnowSQL, which does not support MFA authentication.

D.

Instruct the user to append the normal URL with /?mode=mfa_bypass&code= to log on.

Demo: 21 questions
Total 72 questions