New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake ADA-C01 Exam - 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:

0/2000 characters
Tu
3 months ago
Wait, can you really retrieve deleted schemas? Sounds odd!
upvoted 0 times
...
Sanda
3 months ago
Totally agree with B, it's the best option here!
upvoted 0 times
...
Eun
3 months ago
A won't show deleted schemas, just current ones.
upvoted 0 times
...
Denae
4 months ago
I think C could work too, but not sure.
upvoted 0 times
...
Gerald
4 months ago
B is the right choice for deleted schemas!
upvoted 0 times
...
Aileen
4 months ago
I’m confused about the time frame. Does option B give us a way to filter for the last two days? I can't recall if we can do that directly.
upvoted 0 times
...
Talia
4 months ago
I practiced a similar question, and I feel like we need to look at the ACCOUNT_USAGE views to find deleted schemas. So, B seems likely.
upvoted 0 times
...
Maryann
4 months ago
I'm not entirely sure, but I remember something about INFORMATION_SCHEMA not showing deleted items. Maybe option C isn't correct?
upvoted 0 times
...
Mi
5 months ago
I think option B might be the right choice since it references the ACCOUNT_USAGE schema, which tracks changes like deletions.
upvoted 0 times
...
Geraldo
5 months ago
Hmm, this is a tricky one. I'm not entirely sure which option is the best approach. I think I'll go with C, since it's specifically querying the database we're interested in, but I'll make sure to double-check the results to ensure I'm getting the deleted schemas from the last two days.
upvoted 0 times
...
Lindsey
5 months ago
Okay, let's think this through. We need to retrieve the list of schemas deleted within the last two days from the DB1 database. Option A just shows all the schemas, but doesn't give us the deleted ones. Option D is about databases, not schemas. I'm leaning towards B, since it looks like it will give us the full schema history.
upvoted 0 times
...
Margurite
5 months ago
I'm a bit unsure about this one. Do we need to look at the ACCOUNT_USAGE schema instead of the database itself? Option B seems to be the more comprehensive choice, but I'll need to double-check the documentation to be sure.
upvoted 0 times
...
Reena
5 months ago
Hmm, this one seems straightforward. I think I'll go with option C - that looks like the most direct way to get the schema information from the specific database.
upvoted 0 times
...
Floyd
5 months ago
Okay, let me see. The Intent Manager is used to manage network elements, so option A sounds like it could be correct. But the other options also seem relevant to network management tasks. I'll have to weigh the options carefully.
upvoted 0 times
...
Casandra
5 months ago
I've got a strategy - I'll eliminate the options that don't seem right, then focus on the remaining ones.
upvoted 0 times
...
Tashia
5 months ago
Ah, this is a good one. I remember learning about the different CLI protocols in my networking class. I'm pretty confident I can figure this out.
upvoted 0 times
...
Stefany
10 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
10 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
Micah
8 months ago
User 3: Option C and D are not relevant for this task.
upvoted 0 times
...
Abraham
8 months ago
User 2: I agree, option B is the correct one to retrieve the list of deleted schemas.
upvoted 0 times
...
Merilyn
8 months ago
User 3: Option C and D are not relevant for this task.
upvoted 0 times
...
Misty
8 months ago
User 2: I agree, option B is the correct one to retrieve the list of deleted schemas.
upvoted 0 times
...
Paris
8 months ago
User 1: Option A is definitely not the right choice.
upvoted 0 times
...
Elliot
9 months ago
User 1: Option A is definitely not the right choice.
upvoted 0 times
...
...
Grover
10 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
9 months 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
10 months ago
User 2: Yeah, I agree. B seems like the right option for retrieving the list of deleted schemas.
upvoted 0 times
...
Ma
10 months ago
User 1: I think B is the better choice since it's specifically querying the ACCOUNT_USAGE schema.
upvoted 0 times
...
...
Lacey
11 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
9 months ago
Junita: Let's go ahead and use that query to get the information we need.
upvoted 0 times
...
Chauncey
9 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
10 months ago
User 2: That makes sense, the ACCOUNT_USAGE view is where we can find information about deleted schemas.
upvoted 0 times
...
Colton
10 months ago
User 1: Option B) SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.SCHEMATA;
upvoted 0 times
...
...
Tamesha
11 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
11 months ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Tamesha
11 months ago
I think the answer is C.
upvoted 0 times
...

Save Cancel