What is a virtual warehouse in Snowflake, and how does it provide compute resources for queries?

Quick Overview

Asks what a Snowflake virtual warehouse is and how it supplies compute to queries, DML and data loading. Tests understanding of separated storage and compute, warehouse sizing and per-second billing, auto-suspend, multi-cluster scaling, spilling and caching.

What is a virtual warehouse in Snowflake, and how does it provide compute resources for queries?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: easy

Interview Round: Other

What is a virtual warehouse in Snowflake, and how does it provide compute resources for queries? ```hint Separate the layers Think about where the table data lives, what actually does the work when a query runs, and what you pay for while no query is running. ``` ### What a Strong Answer Covers - What a virtual warehouse is and which operations need one. - How a query uses the warehouse: reading micro-partitions from shared storage, local caching, spilling and queuing. - Sizing and how billing works, including auto-suspend and auto-resume. - Scaling up versus scaling out with multi-cluster warehouses, and isolating workloads on separate warehouses. - Which queries are answered without warehouse compute. ### Follow-up Questions - Dashboards slow down every morning at 9 when 50 analysts log in. Would you resize the warehouse or add clusters, and why? - A query profile shows gigabytes spilled to remote storage. What does that tell you, and what would you change? - Why might the same query run faster the second time, and when would that speedup disappear? - How would you set auto-suspend for a BI warehouse compared with a warehouse that runs an hourly ETL job?

Overview: Asks what a Snowflake virtual warehouse is and how it supplies compute to queries, DML and data loading. Tests understanding of separated storage and compute, warehouse sizing and per-second billing, auto-suspend, multi-cluster scaling, spilling and caching.

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

What is a virtual warehouse in Snowflake, and how does it provide compute resources for queries?

What a Strong Answer Covers Guidance

  • What a virtual warehouse is and which operations need one.
  • How a query uses the warehouse: reading micro-partitions from shared storage, local caching, spilling and queuing.
  • Sizing and how billing works, including auto-suspend and auto-resume.
  • Scaling up versus scaling out with multi-cluster warehouses, and isolating workloads on separate warehouses.
  • Which queries are answered without warehouse compute.

Follow-up Questions Guidance

  • Dashboards slow down every morning at 9 when 50 analysts log in. Would you resize the warehouse or add clusters, and why?
  • A query profile shows gigabytes spilled to remote storage. What does that tell you, and what would you change?
  • Why might the same query run faster the second time, and when would that speedup disappear?
  • How would you set auto-suspend for a BI warehouse compared with a warehouse that runs an hourly ETL job?