6 guides
How to answer Snowflake interview questions
Snowflake interviews keep coming back to one idea: storage and compute are separate, and data sits in small immutable micro-partitions. If you can explain that clearly, most questions about caching, cloning, streams and clustering follow from it. Each guide gives you a sample answer you can say in under a minute.
- What is a micro-partition in Snowflake?A micro-partition is the unit Snowflake stores table data in: a small, columnar unit holding 50 to 500 MB of uncompressed data, created automatically, with metadata that lets queries skip the files they don't need.Beginner
- What is zero-copy cloning in Snowflake?CREATE ... CLONE makes a new table, schema or database that points at the same micro-partitions as the source, so it is created quickly and costs no extra storage until either side changes data.Beginner
- What types of caching does Snowflake use?Snowflake has two caches you should know: the result cache, handled by the cloud services layer, which returns a stored result when a query repeats and the data hasn't changed; and the warehouse cache, table data a running warehouse keeps locally, which is dropped when it suspends.Beginner
- Explain Snowflake's architecture.Snowflake has three layers: database storage, compute done by virtual warehouses, and cloud services that handle login, metadata, optimization and access control. Storage and compute scale separately.Beginner
- How do Snowflake streams work for change data capture?A stream records the inserts, updates and deletes made to a table since an offset. Reading it in a DML statement that commits moves the offset forward, so each change is processed once.Intermediate
- What are clustering keys and clustering depth in Snowflake?A clustering key tells Snowflake which columns to keep rows grouped by, so queries filtering on them prune more micro-partitions. Clustering depth measures how much micro-partitions overlap on those columns; lower is better.Intermediate