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 7 Question 18 Discussion

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

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

Which of the following will achieve this?

Show Suggested Answer Hide Answer
Suggested Answer: B

According to the Snowflake documentation1, a transient table is a type of table that does not support Time Travel or Fail-safe, which means that it does not incur any storage costs for maintaining historical versions of the data or backups for disaster recovery. A transient table can be dropped at any time, and the data is not recoverable. A transient table can also have a retention time of 0 days, which means that the data is deleted immediately after the table is dropped or truncated. Therefore, creating the staging table as a transient table with a retention time of 0 days can minimize the storage costs and maximize the performance, as the data is only loaded and transformed once, and then deleted after the production tables are populated. Option A is incorrect because creating the staging table as an external table, which references data files stored in a cloud storage location, can incur additional costs and complexity for data transfer and synchronization, and may not provide the best performance for data loading and transformation. Option C is incorrect because creating the staging table as a temporary table, which is automatically dropped when the session ends or the user logs out, can cause data loss or inconsistency if the session is interrupted or terminated before the production tables are populated. Option D is incorrect because creating the staging table as a permanent table, which supports Time Travel and Fail-safe, can incur additional storage costs for maintaining historical versions of the data and backups for disaster recovery, and may not provide the best performance for data loading and transformation.


Contribute your Thoughts:

Stefany
22 days ago
Option D is a bit of a wild card, it's like trying to find a needle in a haystack. B is the way to go, it's the Snowflake version of a treasure map for deleted schemas.
upvoted 0 times
...
Tonette
24 days ago
Haha, option A is like asking a magician to pull a rabbit out of a hat - it's not going to show you the deleted schemas! Option B is clearly the way to go.
upvoted 0 times
...
Grover
1 months ago
I'm torn between B and C, but I think B is the better choice since it's specifically querying the ACCOUNT_USAGE schema, which is designed for this kind of administrative task.
upvoted 0 times
Sanjuana
20 days ago
User 2: Yeah, I agree. B seems like the right option for retrieving the list of deleted schemas.
upvoted 0 times
...
Ma
22 days ago
User 1: I think B is the better choice since it's specifically querying the ACCOUNT_USAGE schema.
upvoted 0 times
...
...
Lacey
2 months ago
Option B seems the most appropriate here, as the ACCOUNT_USAGE view provides access to metadata about the Snowflake account, including recently deleted schemas.
upvoted 0 times
Claudio
13 days ago
Junita: Let's go ahead and use that query to get the information we need.
upvoted 0 times
...
Chauncey
19 days ago
User 3: I agree, it's the best option to retrieve the list of deleted schemas within the last two days.
upvoted 0 times
...
Junita
26 days ago
User 2: That makes sense, the ACCOUNT_USAGE view is where we can find information about deleted schemas.
upvoted 0 times
...
Colton
1 months ago
User 1: Option B) SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.SCHEMATA;
upvoted 0 times
...
...
Tamesha
2 months ago
But C is querying the information schema, which should have the list of schemas deleted within the last two days.
upvoted 0 times
...
Delfina
2 months ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Tamesha
2 months ago
I think the answer is C.
upvoted 0 times
...

Save Cancel