How do auto-suspend and auto-resume work for Snowflake virtual warehouses, and how do they cut compute costs?

Quick Overview

Asks how the auto-suspend and auto-resume settings control when a Snowflake virtual warehouse runs and bills credits. Tests whether you understand per-second billing with a minimum charge, the cost of losing the warehouse cache, and how to pick a suspend interval for a given workload.

How do auto-suspend and auto-resume work for Snowflake virtual warehouses, and how do they cut compute costs?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: easy

Interview Round: Other

How do the auto-suspend and auto-resume features (`AUTO_SUSPEND` and `AUTO_RESUME`) work for Snowflake virtual warehouses, and how do they help optimize compute costs? ```hint Follow the billing Think about when a warehouse consumes credits, what minimum charge applies each time it starts, and what is lost when it stops. ``` ### What a Strong Answer Covers - What each setting does and how it is configured - How warehouse time is billed, including the minimum charge on each resume - The trade-off between idle credits and the warehouse cache, and what users notice after a resume - How to choose a suspend interval for different workload patterns ### Follow-up Questions - A dashboard team complains that the first query each morning is slow. What is happening, and what would you change? - Why does an auto-suspend value below 60 seconds rarely save anything? - How would you find out whether a warehouse's suspend setting is wasting credits?

Overview: Asks how the auto-suspend and auto-resume settings control when a Snowflake virtual warehouse runs and bills credits. Tests whether you understand per-second billing with a minimum charge, the cost of losing the warehouse cache, and how to pick a suspend interval for a given workload.

PracHub logo
General
Nov 25, 2026
easyData ScientistOtherData Manipulation (SQL/Python)
0
0

How do the auto-suspend and auto-resume features (AUTO_SUSPEND and AUTO_RESUME) work for Snowflake virtual warehouses, and how do they help optimize compute costs?

What a Strong Answer Covers Guidance

  • What each setting does and how it is configured
  • How warehouse time is billed, including the minimum charge on each resume
  • The trade-off between idle credits and the warehouse cache, and what users notice after a resume
  • How to choose a suspend interval for different workload patterns

Follow-up Questions Guidance

  • A dashboard team complains that the first query each morning is slow. What is happening, and what would you change?
  • Why does an auto-suspend value below 60 seconds rarely save anything?
  • How would you find out whether a warehouse's suspend setting is wasting credits?