Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Snowflake Certification ADA-C01 Syllabus Exam Questions Answers

Page: 2 / 5
Question 8

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 9

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 10

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

Options:

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.

Question 11

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.

Page: 2 / 5
Exam Code: ADA-C01
Exam Name: SnowPro Advanced Administrator
Last Update: Nov 23, 2024
Questions: 72
ADA-C01 pdf

ADA-C01 PDF

$25.5  $84.99
ADA-C01 Engine

ADA-C01 Testing Engine

$28.5  $94.99
ADA-C01 PDF + Engine

ADA-C01 PDF + Testing Engine

$40.5  $134.99