Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Snowflake ADA-C01 - SnowPro Advanced Administrator

Page: 1 / 3
Total 78 questions

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

A.

SYSADMIN

B.

SECURITYADMIN

C.

ACCOUNTADMIN

D.

IMPORT SHARE and CREATE DATABASE

E.

IMPORT PRIVILEGES and SHARED DATABASE

What are benefits of using Snowflake organizations? (Select TWO).

A.

Administrators can change Snowflake account editions on-demand based on need.

B.

Administrators can monitor and understand usage across all accounts in the organization.

C.

Administrators can simplify data movement across all accounts within the organization.

D.

User administration is simplified across all accounts within the organization.

E.

Administrators have the ability to create accounts in any available cloud provider or region.

A Snowflake organization MYORG consists of two Snowflake accounts:

The ACCOUNT1 has a database PROD_DB and the ORGADMIN role enabled.

Management wants to have the PROD_DB database replicated to ACCOUNT2.

Are there any necessary configuration steps in ACCOUNT1 before the database replication can be configured and initiated in ACCOUNT2?

A.

USE ROLE ORGADMIN;

SELECT SYSTEMSGLOBAL_ACCOUNT_SET_PARAMETER ('MYORG. ACCOUNT1', 'ENABLE_ACCOUNT_DATABASE_REPLICATION', 'TRUE');

SELECT SYSTEMSGLOBAL_ACCOUNT_SET_PARAMETER ('MYORG. ACCOUNT2', 'ENABLE_ACCOUNT_DATABASE_REPLICATION', 'TRUE');

USE ROLE ACCOUNTADMIN;

ALTER DATABASE PROD DB ENABLE REPLICATION TO ACCOUNTS MYORG. ACCOUNT2;

B.

USE ROLE ORGADMIN;

SELECT SYSTEMSGLOBAL ACCOUNT SET_PARAMETER ( 'MYORG. ACCOUNT1', 'ENABLE_ACCOUNT_DATABASE_REPLICATION', 'TRUE');

USE ROLE ACCOUNTADMIN;

ALTER DATABASE PROD_DB ENABLE REPLICATION TO ACCOUNTS MYORG. ACCOUNT2 IGNORE EDITION CHECK;

C.

No configuration steps are necessary in ACCOUNT1. Replicating databases across accounts within the same Snowflake organization is enabled by default.

D.

It is not possible to replicate a database from an Enterprise edition Snowflake account to a Standard edition Snowflake account.

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;

B.

Use the following SQL command:

create transient table TRANSIENT SALES DATA as select * from SALES_DATA copy grants;

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;

D.

Transient tables will persist until explicitly dropped and contribute to overall storage costs.

E.

Transient tables will be purged at the end of the user session and do not have any Fail-safe period.

The following commands were executed:

Grant usage on database PROD to role PROD_ANALYST;

Grant usage on database PROD to role PROD_SUPERVISOR;

Grant ALL PRIVILEGES on schema PROD. WORKING to role PROD_ANALYST;

Grant ALL PRIVILEGES on schema PROD. WORKING to role PROD_SUPERVISOR;

Grant role PROD ANALYST to user A;

Grant role PROD SUPERVISOR to user B;

What authority does each user have on the WORKING schema?

A.

Only user B can create tables, because all privileges were transferred to PROD_SUPERVISOR.

B.

Tables created by either user A or user B will be visible to both users.

C.

All existing tables in schema PROD. WORKING will be visible to both users.

D.

Both user A and user B can create tables in the PROD. WORKING schema.

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?

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.

A team of developers created a new schema for a new project. The developers are assigned the role DEV_TEAM which was set up using the following statements:

USE ROLE SECURITYADMIN;

CREATE ROLE DEV TEAM;

GRANT USAGE, CREATE SCHEMA ON DATABASE DEV_DB01 TO ROLE DEV_TEAM;

GRANT USAGE ON WAREHOUSE DEV_WH TO ROLE DEV_TEAM;

Each team member's access is set up using the following statements:

USE ROLE SECURITYADMIN;

CREATE ROLE JDOE_PROFILE;

CREATE USER JDOE LOGIN NAME = 'JDOE' DEFAULT_ROLE='JDOE_PROFILE';

GRANT ROLE JDOE_PROFILE TO USER JDOE;

GRANT ROLE DEV_TEAM TO ROLE JDOE_PROFILE;

New tables created by any of the developers are not accessible by the team as a whole.

How can an Administrator address this problem?

A.

Assign ownership privilege to DEV_TEAM on the newly-created schema.

B.

Assign usage privilege on the virtual warehouse DEV_WH to the role JDOE_PROFILE.

C.

Set up future grants on the newly-created schemas.

D.

Set up the new schema as a managed-access schema.

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

Which actions are considered breaking changes to data that is shared with consumers in the Snowflake Marketplace? (Select TWO).

A.

Dropping a column from a table

B.

Deleting data from a table

C.

Unpublishing the data listing

D.

Renaming a table

E.

Adding region availability to the listing

What access control policy will be put into place when future grants are assigned to both database and schema objects?

A.

Database privileges will take precedence over schema privileges.

B.

Schema privileges will take precedence over database privileges.

C.

An access policy combining both the database object and the schema object will be used, with the most permissive policy taking precedence.

D.

An access policy combining both the database object and the schema object will be used, with the most restrictive policy taking precedence.