How do warehouse sizing and auto-suspend impact cost and performance in Snowflake?

Quick Overview

Asks how virtual warehouse size and the auto-suspend setting change query speed and credit spend in Snowflake. Tests understanding of credit rates, when scaling up pays off, billing minimums, cache behavior after a suspend, and how to tune settings for each workload.

How do warehouse sizing and auto-suspend impact cost and performance in Snowflake?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

How do warehouse size and the `AUTO_SUSPEND` setting affect query performance and credit cost in Snowflake? Explain how you would choose them for different kinds of workloads, such as ad-hoc analysis and BI dashboards. ```hint Cost is rate times running time Total credits are the hourly rate multiplied by the time the warehouse is running. Ask how each setting changes the rate, the running time, or both. ``` ```hint What a running warehouse holds Think about what a warehouse keeps on its own nodes while it runs, what is lost when it stops, and how billing works each time it starts again. ``` ### What a Strong Answer Covers - How the credit rate scales with warehouse size, and why a larger warehouse can cost about the same for a heavy query. - When scaling up stops helping, and how a queue of many small queries differs from one slow query. - What auto-suspend and auto-resume do, and how the per-start billing minimum affects very short suspend intervals. - What happens to caches when a warehouse suspends, and the effect on the next queries. - How to pick settings for each workload and what to monitor afterwards. ### Follow-up Questions - Dashboard queries queue every morning at 9 a.m., but each one runs quickly. Would you resize the warehouse or do something else? - Which signals in query history tell you a warehouse is undersized for a job? - Why can separate warehouses for ETL and BI cost less than one shared, larger warehouse? - How would you stop a warehouse that someone left running from using up the monthly credit budget?

Overview: Asks how virtual warehouse size and the auto-suspend setting change query speed and credit spend in Snowflake. Tests understanding of credit rates, when scaling up pays off, billing minimums, cache behavior after a suspend, and how to tune settings for each workload.

Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

How do warehouse size and the AUTO_SUSPEND setting affect query performance and credit cost in Snowflake? Explain how you would choose them for different kinds of workloads, such as ad-hoc analysis and BI dashboards.

What a Strong Answer Covers Guidance

  • How the credit rate scales with warehouse size, and why a larger warehouse can cost about the same for a heavy query.
  • When scaling up stops helping, and how a queue of many small queries differs from one slow query.
  • What auto-suspend and auto-resume do, and how the per-start billing minimum affects very short suspend intervals.
  • What happens to caches when a warehouse suspends, and the effect on the next queries.
  • How to pick settings for each workload and what to monitor afterwards.

Follow-up Questions Guidance

  • Dashboard queries queue every morning at 9 a.m., but each one runs quickly. Would you resize the warehouse or do something else?
  • Which signals in query history tell you a warehouse is undersized for a job?
  • Why can separate warehouses for ETL and BI cost less than one shared, larger warehouse?
  • How would you stop a warehouse that someone left running from using up the monthly credit budget?