Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam ADA-C01 Topic 4 Question 36 Discussion

Actual exam question for Snowflake's ADA-C01 exam
Question #: 36
Topic #: 4
[All ADA-C01 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B, D

According to the Snowflake documentation1, the COPY GRANTS option can be used to copy all privileges, except OWNERSHIP, from the existing table to the new transient table. This option also preserves any future grants defined for the object type in the schema. Option A is incorrect because it does not copy any grants from the original table. Option C is incorrect because it does not copy the data from the original table, only the structure and grants. Option E is incorrect because transient tables are not session-based and do not have a Fail-safe period, but they do have a Time Travel retention period2.

1: CREATE TABLE | Snowflake Documentation 2: Working with Temporary and Transient Tables | Snowflake Documentation


Contribute your Thoughts:

Cristy
12 days ago
Option B looks tempting, but the 'copy grants' part is a bit suspicious. I'd steer clear of that one.
upvoted 0 times
...
Gail
20 days ago
Haha, I'm just glad I don't have to worry about transient tables and their storage costs. That's the administrator's problem!
upvoted 0 times
Louann
3 days ago
A) Use the following SQL command: create transient table TRANSIENT_SALES_DATA as select * from SALES_DATA;
upvoted 0 times
...
...
Arthur
1 months ago
I agree, C is the correct answer. Replicating the table structure and then copying the data is the best approach here.
upvoted 0 times
Zona
9 days ago
E) Transient tables will be purged at the end of the user session and do not have any Fail-safe period.
upvoted 0 times
...
Ariel
20 days ago
D) Transient tables will persist until explicitly dropped and contribute to overall storage costs.
upvoted 0 times
...
Theodora
23 days ago
A) 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;
upvoted 0 times
...
...
Belen
1 months ago
I'm not sure about the storage costs mentioned in option D, but creating a transient table with the same permissions is definitely important for data integrity.
upvoted 0 times
...
Donte
2 months ago
I agree with Tequila, using 'copy grants' in the SQL command will ensure the transient table inherits the same permissions.
upvoted 0 times
...
Mira
2 months ago
Option C is the way to go. Creating a table like the original one and then copying the data ensures the permissions are inherited.
upvoted 0 times
Josephine
22 days ago
D) Transient tables will persist until explicitly dropped and contribute to overall storage costs.
upvoted 0 times
...
Rhea
1 months ago
A) 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;
upvoted 0 times
...
...
Tequila
2 months ago
I think the Administrator should use option C to create the transient table with the same permissions.
upvoted 0 times
...

Save Cancel