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

Snowflake ADA-C01 - SnowPro Advanced Administrator

Page: 3 / 3
Total 78 questions

What session parameter can be used to test the integrity of secure views based on the account that is accessing that view?

A.

MIMIC_CONSUMER_ACCOUNT

B.

TEST_ACCOUNT_ID

C.

PRODUCER_TEST_ACCT

D.

SIMULATED_DATA_SHARING_CONSUMER

A user accidentally truncated the data from a frequently-modified table. The Administrator has reviewed the query history and found the truncate statement which was run on 2021-12-12 15:00 with query ID 8e5d0ca9-005e-44e6-b858-a8f5b37c5726. Which of the following statements would allow the Administrator to create a copy of the table as it was exactly before the truncated statement was executed, so it can be checked for integrity before being inserted into the main table?

A.

CREATE TABLE RESTORE_TABLE CLONE CURRENT_TABLE BEFORE (timestamp =>'2021-12-12 00:00');

B.

SELECT * FROM CURRENT_TABLE before (statement => '8e5d0ca9-005e-44e6-b858-a8f5b37c5726');

C.

INSERT INTO CURRENT_TABLE SELECT * FROM CURRENT_TABLE before (statement => '8e5d0ca9-005e-44e6-b858-a8f5b37c5726');

D.

CREATE TABLE RESTORE_TABLE CLONE CURRENT_TABLE before (statement => '8e5d0ca9-005e-44e6-b858-a8f5b37c5726');

A Snowflake Administrator needs to retrieve the list of the schemas deleted within the lasttwo days from the DB1 database.

Which of the following will achieve this?

A.

SHOW SCHEMAS IN DATABASE DB1;

B.

SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.SCHEMATA;

C.

SELECT * FROM DB1.INFORMATION_SCHEMA.SCHEMATA;

D.

SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.DATABASES;