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 2 Question 30 Discussion

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

An Administrator loads data into a staging table every day. Once loaded, users from several different departments perform transformations on the data and load it into

different production tables.

How should the staging table be created and used to MINIMIZE storage costs and MAXIMIZE performance?

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:

Dallas
2 months ago
This is a classic case of 'the more you know, the less you understand.' I'm sticking with C, the temporary table solution.
upvoted 0 times
...
Titus
2 months ago
Haha, this question is a real head-scratcher. I'm going to go with the 'vanishing table' option, aka B.
upvoted 0 times
...
Abel
2 months ago
Definitely B. Why pay for storage when you can just let the data disappear into the ether? Efficiency at its finest!
upvoted 0 times
Tanesha
1 months ago
User4: B sounds good to me too. Let the data vanish into thin air!
upvoted 0 times
...
Tammi
1 months ago
User3: I would go with A, external tables can be more efficient and cost-effective in the long run.
upvoted 0 times
...
Basilia
2 months ago
User2: Agreed, it's all about minimizing costs and maximizing performance.
upvoted 0 times
...
Gerry
2 months ago
User1: I think B is the way to go. No need to keep that data around longer than necessary.
upvoted 0 times
...
...
Julian
2 months ago
Wait, is this a trick question? Creating a permanent table with a 0-day retention seems sketchy. I'm going with C, the temporary table approach.
upvoted 0 times
Belen
1 months ago
User 3: Yeah, the temporary table seems like the safest choice for minimizing storage costs.
upvoted 0 times
...
Lelia
1 months ago
User 2: I agree, I would go with the temporary table option.
upvoted 0 times
...
Laurene
1 months ago
User 1: I think creating a permanent table with 0-day retention is risky.
upvoted 0 times
...
...
Lavonda
3 months ago
Hmm, option B seems like the way to go. No storage costs and maximum performance? Sign me up!
upvoted 0 times
Sabine
2 months ago
User 3: Agreed, option B seems like the most efficient solution.
upvoted 0 times
...
Tamar
2 months ago
User 2: Yeah, no storage costs and maximum performance sound great.
upvoted 0 times
...
Micah
2 months ago
User 1: I think option B is the best choice.
upvoted 0 times
...
...
Jaime
3 months ago
That's true, but we also need to consider storage costs. So, A seems like the best compromise.
upvoted 0 times
...
Talia
3 months ago
But wouldn't option B be better for maximizing performance?
upvoted 0 times
...
Lashawna
3 months ago
I agree with Jaime, using an external table will save on storage costs.
upvoted 0 times
...
Jaime
4 months ago
I think option A is the best choice to minimize storage costs.
upvoted 0 times
...

Save Cancel