New Year Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

What are the MINIMUM grants required on the database, schema, and table for a stream to be properly created and managed?

A.

Database: Usage

Schema: Usage

Table: Select, Create Stream

B.

Database: Usage

Schema: Usage

Table: Select

C.

Database: Usage, Create Stream

Schema: Usage

Table: Select

D.

Database: Usage

Schema: Usage, Create Stream

Table: Select

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?

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

An Administrator has a warehouse which is intended to have a credit quota set for 3000 for each calendar year. The Administrator needs to create a resource monitor that

will perform the following tasks:

1. At 80% usage notify the account Administrators.

2. At 100% usage suspend the warehouse and notify the account Administrators.

3. At 120% stop all running executions, suspend the warehouse, and notify the account Administrators.

Which SQL command will meet these requirements?

A.

create or replace resource monitor RM1 with credit_quota=3000

start_timestamp = '2022-01-01 00:00 CET'

triggers on 80 percent do notify

on 100 percent do suspend

on 120 percent do suspend_immediate;

alter warehouse WH1 set resource_monitor = RM1;

B.

create or replace resource monitor RM1 with credit_quota=3000

frequency = yearly

start_timestamp = '2022-01-01 00:00 CET'

triggers on 80 percent do notify

on 100 percent do suspend

on 120 percent do suspend_immediate;

alter warehouse WH1 set resource monitor = RM1;

C.

create or replace resource monitor RM1 with credit_quota=3000

start_timestamp = '2022-01-01 00:00 CET'

triggers on 80 percent do notify

on 100 percent do notify and suspend

on 120 percent do notify and suspend_immediate;

alter warehouse WH1 set resource monitor = RM1;

D.

create or replace resource monitor RM1 with credit_quota=3000

frequency = yearly

triggers on 80 percent do notify

on 100 percent do suspend

on 120 percent do suspend_immediate;

alter warehouse WH1 set resource_monitor = RM1;

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

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.

What role or roles should be used to properly create the object required to setup OAuth 2.0 integration?

A.

Any role with GRANT USAGE on SECURITY INTEGRATION

B.

ACCOUNTADMIN and SYSADMIN

C.

ACCOUNTADMIN and SECURITYADMIN

D.

ACCOUNTADMIN only

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

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;

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.

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

A.

Monetized listing

B.

Standard listing

C.

Regional listing

D.

Personalized listing

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.

A company has implemented Snowflake replication between two Snowflake accounts, both ofwhich 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?

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.