ExamGecko
Question list
Search
Search

Question 716 - COF-C02 discussion

Report
Export

A Snowflake user accidentally deleted a table. The table no longer exists, but the session is within the data retention period. How can the table be restored using the LEAST amount of operational overhead?

A.

Clone the table schema as it existed before the table was dropped.

Answers
A.

Clone the table schema as it existed before the table was dropped.

B.

Clone the database as it existed before the table was dropped.

Answers
B.

Clone the database as it existed before the table was dropped.

C.

Recreate the table and reload the data.

Answers
C.

Recreate the table and reload the data.

D.

Run the UNDROP command against the table.

Answers
D.

Run the UNDROP command against the table.

Suggested answer: D

Explanation:

In Snowflake, if a table is accidentally dropped but still within the data retention period (also known as 'Time Travel'), the simplest and most efficient recovery method is the UNDROP command. This command restores the deleted table to its previous state with minimal operational effort. Since Snowflake retains dropped table data for a specific retention period (up to 90 days for the Enterprise edition), UNDROP can quickly recover the table without the need for complex cloning or data reloading processes, making it ideal for accidental deletions.

asked 12/11/2024
Priti Agrawal
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first