What is a virtual warehouse in Snowflake, and how would you size one for different workloads?

Quick Overview

Asks what a Snowflake virtual warehouse is and how to size one for ad hoc, transformation, loading and BI workloads. Tests the split between compute and storage, credit cost by size, scaling up versus scaling out, and the signals used to tune a warehouse.

What is a virtual warehouse in Snowflake, and how would you size one for different workloads?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What is a virtual warehouse in Snowflake, and how would you size one for different workloads? ```hint Two different problems Separate making one heavy query faster from serving many queries at the same time, and ask which setting addresses each. ``` ```hint Follow the credits Work out what happens to a query's cost when compute doubles and the runtime halves. ``` ### What a Strong Answer Covers - What a virtual warehouse is, how it relates to storage, and what can be changed without touching stored data. - How size maps to compute and credits, and what that means for cost when a query parallelizes well. - Scaling up for heavy queries versus scaling out for concurrency, with a sizing choice for each kind of workload. - The signals used to tune a warehouse, such as spilling, queuing and query duration, plus cost controls like auto-suspend. ### Follow-up Questions - A dashboard is slow every morning at 9:00 and fast the rest of the day. How do you diagnose and fix it? - Why can a bigger warehouse cost less for the same job? - How would you split warehouses across loading, transformation, BI and data science work? - What happens to a warehouse's cache when it suspends, and how should that affect the auto-suspend setting?

Overview: Asks what a Snowflake virtual warehouse is and how to size one for ad hoc, transformation, loading and BI workloads. Tests the split between compute and storage, credit cost by size, scaling up versus scaling out, and the signals used to tune a warehouse.

General logo
General
Nov 24, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

What is a virtual warehouse in Snowflake, and how would you size one for different workloads?

What a Strong Answer Covers Guidance

  • What a virtual warehouse is, how it relates to storage, and what can be changed without touching stored data.
  • How size maps to compute and credits, and what that means for cost when a query parallelizes well.
  • Scaling up for heavy queries versus scaling out for concurrency, with a sizing choice for each kind of workload.
  • The signals used to tune a warehouse, such as spilling, queuing and query duration, plus cost controls like auto-suspend.

Follow-up Questions Guidance

  • A dashboard is slow every morning at 9:00 and fast the rest of the day. How do you diagnose and fix it?
  • Why can a bigger warehouse cost less for the same job?
  • How would you split warehouses across loading, transformation, BI and data science work?
  • What happens to a warehouse's cache when it suspends, and how should that affect the auto-suspend setting?