0
0
Snowflakecloud~5 mins

Auto-suspend and auto-resume in Snowflake - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is auto-suspend in Snowflake?
Auto-suspend is a feature that automatically pauses a virtual warehouse after a set period of inactivity to save compute costs.
Click to reveal answer
beginner
What does auto-resume do in Snowflake?
Auto-resume automatically restarts a suspended virtual warehouse when a query or operation requires compute resources.
Click to reveal answer
beginner
Why is auto-suspend useful for managing costs?
Because it stops the warehouse when not in use, preventing charges for idle compute time, similar to turning off a machine when not needed.
Click to reveal answer
intermediate
How do you enable auto-suspend and auto-resume on a Snowflake warehouse?
You set the AUTO_SUSPEND parameter to a number of seconds and AUTO_RESUME to TRUE when creating or altering the warehouse.
Click to reveal answer
intermediate
What happens if auto-resume is disabled and the warehouse is suspended?
Queries will fail until the warehouse is manually resumed, causing delays similar to waiting for a machine to be turned back on by hand.
Click to reveal answer
What does setting AUTO_SUSPEND to 300 mean?
AThe warehouse suspends immediately
BThe warehouse runs for 300 seconds then stops
CThe warehouse suspends after 300 seconds of inactivity
DThe warehouse resumes every 300 seconds
If AUTO_RESUME is set to FALSE, what must happen to run queries after suspension?
AQueries run automatically
BWarehouse must be manually resumed
CQueries are queued indefinitely
DWarehouse auto-resumes after 1 minute
Why is auto-suspend important for cloud cost management?
AIt pauses unused warehouses to save money
BIt increases compute power
CIt speeds up queries
DIt backs up data automatically
Which Snowflake object is affected by auto-suspend and auto-resume settings?
ASchema
BDatabase
CUser account
DVirtual warehouse
What is the default behavior if AUTO_SUSPEND is not set?
AWarehouse suspends after 10 minutes
BWarehouse never suspends automatically
CWarehouse suspends after 1 minute
DWarehouse auto-resumes disabled
Explain how auto-suspend and auto-resume work together to optimize Snowflake warehouse usage and cost.
Think about turning off and on a machine automatically.
You got /3 concepts.
    Describe the steps to configure a Snowflake warehouse to auto-suspend after 5 minutes and auto-resume on query.
    Focus on warehouse parameters.
    You got /3 concepts.