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?
✗ Incorrect
AUTO_SUSPEND set to 300 means the warehouse will suspend after 5 minutes (300 seconds) of no activity.
If AUTO_RESUME is set to FALSE, what must happen to run queries after suspension?
✗ Incorrect
With AUTO_RESUME disabled, the warehouse stays suspended until manually resumed.
Why is auto-suspend important for cloud cost management?
✗ Incorrect
Auto-suspend pauses warehouses when idle, avoiding charges for unused compute.
Which Snowflake object is affected by auto-suspend and auto-resume settings?
✗ Incorrect
Auto-suspend and auto-resume control the state of virtual warehouses.
What is the default behavior if AUTO_SUSPEND is not set?
✗ Incorrect
The default value for AUTO_SUSPEND is 600 seconds (10 minutes) of inactivity.
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.