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]

A Snowflake Administrator wants to create a virtual warehouse that supports several dashboards, issuing various queries on the same database.

For this warehouse, why should the Administrator consider setting AUTO_SUSPEND to 0 or NULL?

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:

Kris
5 days ago
I'm going with D. The query result cache is crucial for repeated queries, and keeping it warm can really boost performance.
upvoted 0 times
...
Adolph
6 days ago
Hmm, C seems like the best option here. Keeping the data cache warm for similar queries makes a lot of sense to me.
upvoted 0 times
...
Romana
8 days ago
But wouldn't setting AUTO_SUSPEND to 0 or NULL also help in keeping the data cache warm for good performance of similar queries?
upvoted 0 times
...
Germaine
10 days ago
I agree with Mickie. Running the warehouse as little as possible can definitely help in saving costs.
upvoted 0 times
...
Mickie
12 days ago
I think the Administrator should consider setting AUTO_SUSPEND to 0 or NULL to save costs on warehouse shutdowns and startups for different queries.
upvoted 0 times
...

Save Cancel