Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
1 months 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
1 months 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
User 3: Option C and D are not relevant for this task.
upvoted 0 times
...
Misty
1 days ago
User 2: I agree, option B is the correct one to retrieve the list of deleted schemas.
upvoted 0 times
...
Paris
1 days ago
User 1: Option A is definitely not the right choice.
upvoted 0 times
...
Elliot
13 days ago
User 1: Option A is definitely not the right choice.
upvoted 0 times
...
...
Grover
2 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
Gail
14 days ago
User 3: I'm going with B too. It makes sense to use the ACCOUNT_USAGE schema for this task.
upvoted 0 times
...
Sanjuana
1 months ago
User 2: Yeah, I agree. B seems like the right option for retrieving the list of deleted schemas.
upvoted 0 times
...
Ma
1 months 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
28 days ago
Junita: Let's go ahead and use that query to get the information we need.
upvoted 0 times
...
Chauncey
1 months 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
1 months ago
User 2: That makes sense, the ACCOUNT_USAGE view is where we can find information about deleted schemas.
upvoted 0 times
...
Colton
2 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77