Snowflake Interview Questions and Answers

Snowflake Interview Questions and Answers - EncodingCompiler

Quick answer

Snowflake is a cloud data platform, delivered as a fully managed service on AWS, Azure and Google Cloud, that separates storage from compute so each scales independently. Snowflake interviews cover its three-layer architecture, virtual warehouses, micro-partitions and pruning, loading data with stages, COPY INTO and Snowpipe, Time Travel, Fail-safe and zero-copy cloning, caching, clustering, streams and tasks, data sharing, and security and cost control.

Snowflake has become one of the most widely used cloud data platforms, so Snowflake skills are in demand for data engineer, analytics engineer, ETL developer and data architect roles. Interviewers usually start with the architecture and basic concepts, then test how you load, model, secure and tune data in practice.

These Snowflake interview questions and answers are grouped from basic to advanced, with SQL examples you can try in a free trial account. If you come from a traditional ETL background, our DataStage interview questions cover the on-premises side, and our Apache Spark tutorial explains the distributed processing engine that often runs alongside Snowflake.

Snowflake Interview Questions and Answers for Freshers

1. What is Snowflake?

Snowflake is a cloud data platform used as a data warehouse, data lake and data-sharing and application platform. It is delivered as software-as-a-service: there is no hardware or software to install, and Snowflake handles maintenance, upgrades and tuning. It runs on Amazon Web Services, Microsoft Azure and Google Cloud, supports standard SQL, and handles both structured and semi-structured data such as JSON and Parquet. Its defining design choice is the separation of storage and compute, so you pay for and scale each one independently.

2. Describe the Snowflake architecture.

Snowflake uses a hybrid of shared-disk and shared-nothing architectures, organized in three independent layers:

  • Database storage: all data is stored centrally in the cloud provider’s object storage, reorganized into compressed, columnar micro-partitions. Users do not see or manage the files directly.
  • Query processing (compute): queries run on virtual warehouses, independent clusters of compute that all read the same shared data, so workloads do not compete with each other.
  • Cloud services: the “brain” that coordinates everything: authentication and access control, metadata management, query parsing and optimization, and transactions.

Like a shared-disk system, every warehouse sees all the data; like a shared-nothing system, each warehouse processes its share of a query in parallel with its own local cache.

Snowflake interview questions and answers: Snowflake Architecture in Three Layers
Snowflake Architecture in Three Layers (quick reference)

3. What are Snowflake’s key features?

  • Separate, independently scalable storage and compute, with per-second billing for compute.
  • Virtual warehouses that start, stop and resize in seconds, with automatic suspend and resume.
  • Multi-cluster warehouses for high concurrency.
  • Zero-copy cloning, Time Travel and Fail-safe for recovering data.
  • Native support for semi-structured data with the VARIANT type.
  • Secure data sharing between accounts without copying data.
  • Encryption of all data by default, role-based access control and fine-grained governance policies.
  • Snowpark and Snowflake Cortex for running Python, Java and AI workloads next to the data.

4. What are the Snowflake editions?

  • Standard: the full core platform, with Time Travel of up to 1 day.
  • Enterprise: adds features for larger organizations, such as multi-cluster warehouses, Time Travel of up to 90 days, materialized views, and column- and row-level security policies.
  • Business Critical: adds stronger protection for sensitive and regulated data, such as Tri-Secret Secure with customer-managed keys, private connectivity, and support for compliance requirements like HIPAA and PCI DSS.
  • Virtual Private Snowflake (VPS): a completely separate Snowflake environment, isolated from all other accounts, for organizations with the strictest security needs, such as financial institutions.

5. How can you connect to Snowflake?

  • Snowsight, the web interface, for worksheets, notebooks, dashboards and administration.
  • Command-line tools: the Snowflake CLI and the older SnowSQL client.
  • Drivers: JDBC, ODBC, Python, Node.js, .NET, Go and PHP.
  • Connectors: the Snowflake connectors for Spark and Kafka, and native connectors in tools such as dbt, Fivetran, Informatica, Matillion, Tableau and Power BI.
  • APIs: the SQL API and Snowpark libraries.

6. Is Snowflake an ETL tool?

No. Snowflake is a data platform, not an ETL tool, although it has strong built-in loading and transformation features. Data is loaded with COPY INTO, Snowpipe or connectors, and then usually transformed inside Snowflake with SQL, which is called ELT (extract, load, transform). Dedicated tools handle the other steps: Fivetran, Informatica, Matillion, Talend or AWS Glue for extraction and loading, dbt for SQL transformations, and BI tools such as Tableau or Power BI for reporting on the results.

7. What is a virtual warehouse?

A virtual warehouse is a named cluster of compute resources that runs queries and DML statements and loads data. Warehouses come in T-shirt sizes from X-Small to 6X-Large, and each size up doubles the compute and the credits used per hour. Billing is per second, with a 60-second minimum each time a warehouse starts. A warehouse can auto-suspend after a period of inactivity, so it stops costing money, and auto-resume when a new query arrives. Because warehouses share the same data, you can give each team or workload its own warehouse without copying anything.

CREATE WAREHOUSE reporting_wh
  WAREHOUSE_SIZE = 'SMALL'
  AUTO_SUSPEND = 60      -- seconds of inactivity
  AUTO_RESUME = TRUE;

8. How does Snowflake store data?

Snowflake automatically divides every table into micro-partitions: immutable, compressed files that each hold roughly 50 to 500 MB of uncompressed data, stored in a columnar format. For each micro-partition, Snowflake keeps metadata such as the range of values in every column, the number of distinct values and null counts. You never define partitions yourself; they are created as data is loaded, and an update writes new micro-partitions rather than changing old ones, which is what makes Time Travel and cloning possible.

9. What is a columnar database, and why does it help analytics?

A columnar database stores the values of each column together, instead of storing each row together. Analytical queries usually read a few columns across many rows, such as summing revenue by region, so a columnar layout reads only the columns a query needs. Values in a column are also similar to each other, so they compress very well. Both effects reduce the amount of data scanned, which makes queries faster and cheaper. Row-oriented storage is better for transactional workloads that read and write whole individual rows.

10. What is a stage in Snowflake?

A stage is a location where data files sit before they are loaded into tables, or after they are unloaded from them. There are two kinds:

  • Internal stages, stored inside Snowflake: a user stage (@~) for each user, a table stage (@%table_name) for each table, and named internal stages that you create.
  • External stages, which point to files in Amazon S3, Azure Blob Storage or Google Cloud Storage, usually through a storage integration that holds the cloud credentials securely.

A file format object describes how to read the files, for example CSV with a header row, JSON or Parquet.

11. How do you load data into Snowflake?

For bulk loading, put the files in a stage (with the PUT command for local files, or directly in cloud storage for an external stage), then run COPY INTO using a running warehouse:

CREATE FILE FORMAT csv_fmt
  TYPE = CSV SKIP_HEADER = 1 FIELD_OPTIONALLY_ENCLOSED_BY = '"';

CREATE STAGE orders_stage
  URL = 's3://my-bucket/orders/'
  STORAGE_INTEGRATION = s3_int
  FILE_FORMAT = csv_fmt;

COPY INTO orders
  FROM @orders_stage
  PATTERN = '.*[.]csv'
  ON_ERROR = 'CONTINUE';

Snowflake keeps load metadata for 64 days, so running the same COPY again skips files it has already loaded. ON_ERROR controls what happens to bad rows, and VALIDATION_MODE checks files for errors without loading them. For continuous loading, use Snowpipe instead (question 21).

12. How are objects organized in Snowflake?

The hierarchy is organization, then account, then database, then schema. A schema is a logical container for objects such as tables, views, stages, file formats, sequences, streams, tasks, functions and stored procedures. Objects are referenced with fully qualified names like sales_db.raw.orders. Warehouses, users, roles and databases are account-level objects, so they do not belong to any schema.

13. What types of tables does Snowflake support?

  • Permanent: the default; full Time Travel (up to 90 days on Enterprise) plus 7 days of Fail-safe.
  • Transient: stay until dropped and are visible to anyone with access, but have at most 1 day of Time Travel and no Fail-safe, which lowers storage costs for data you can recreate, such as staging tables.
  • Temporary: exist only for the session that created them, with at most 1 day of Time Travel and no Fail-safe.
  • External: read-only tables over files in an external stage, queried without loading the data.
  • Dynamic: tables defined by a query that Snowflake keeps refreshed automatically (question 23).
  • Apache Iceberg: tables stored in the open Iceberg format in your own cloud storage (question 36).
  • Hybrid: tables with row-based storage and enforced primary keys for low-latency transactional workloads (question 33).

14. What is zero-copy cloning?

Zero-copy cloning creates a copy of a table, schema or database almost instantly without duplicating any data. The clone simply points to the same micro-partitions as the original. Storage is only used when either side changes data, because changed data is written to new micro-partitions. Clones are commonly used to create development and test environments from production, or to take a snapshot before a risky change. Combined with Time Travel, you can also clone an object as it was at a point in the past.

CREATE DATABASE dev_db CLONE prod_db;
CREATE TABLE orders_backup CLONE orders AT (OFFSET => -3600);  -- as of 1 hour ago

15. What is Time Travel?

Time Travel lets you access data as it was at an earlier point within a retention period. You can query historical data, clone it, and restore dropped tables, schemas and databases with UNDROP. The retention period is set with DATA_RETENTION_TIME_IN_DAYS: the default is 1 day, the maximum is 1 day on Standard Edition and 90 days for permanent objects on Enterprise Edition and above, and setting it to 0 turns Time Travel off.

SELECT * FROM orders AT (OFFSET => -60*30);          -- 30 minutes ago
SELECT * FROM orders AT (TIMESTAMP => '2026-10-14 09:00:00'::TIMESTAMP_LTZ);
SELECT * FROM orders BEFORE (STATEMENT => '<query_id>');  -- just before a bad update
UNDROP TABLE orders;

16. What is Fail-safe?

Fail-safe is a further 7-day period that starts when the Time Travel retention period ends, for permanent tables only. During Fail-safe, data can be recovered only by Snowflake Support, on a best-effort basis, after a serious event such as an operational failure. It is not something you can query yourself, and it is not meant as a regular backup. Transient and temporary tables have no Fail-safe, which is one reason they cost less to store.

Snowflake Interview Questions for Experienced Professionals

Snowflake interview questions and answers: Time Travel vs Fail-safe
Time Travel vs Fail-safe (quick reference)

17. What types of caching does Snowflake use?

  • Result cache: stored in the cloud services layer. If the same query runs again, the underlying data has not changed, and the user’s role has access, Snowflake returns the saved result without using a warehouse. Results are kept for 24 hours, and each reuse extends that, up to 31 days.
  • Warehouse (local disk) cache: each running warehouse caches the micro-partitions it has read on local SSD storage, so later queries on the same data read less from remote storage. This cache is lost when the warehouse suspends.
  • Metadata cache: the cloud services layer keeps statistics such as row counts and min and max values for each micro-partition, so queries like SELECT COUNT(*) or MAX(order_date) can often be answered without a warehouse at all.

18. What is the difference between scaling up and scaling out?

Scaling up (vertical scaling) means resizing a warehouse to a larger size, for example from Medium to Large. It helps when individual queries are slow because they are big and complex. Scaling out (horizontal scaling) means adding clusters with a multi-cluster warehouse, an Enterprise Edition feature. It helps when many users run queries at the same time and queries start queuing. You set a minimum and maximum number of clusters, and a scaling policy: STANDARD starts extra clusters quickly to avoid queuing, while ECONOMY waits until there is enough work to keep a new cluster busy, to save credits.

ALTER WAREHOUSE bi_wh SET
  MIN_CLUSTER_COUNT = 1
  MAX_CLUSTER_COUNT = 4
  SCALING_POLICY = 'STANDARD';
Snowflake interview questions and answers: Warehouse Sizes and Credits per Hour
Warehouse Sizes and Credits per Hour (quick reference)

19. What is query pruning?

Pruning is how Snowflake avoids reading data a query does not need. Because it stores the minimum and maximum value of every column for each micro-partition, it can skip any micro-partition whose range cannot match the query’s filter. For example, with orders loaded day by day, a query for one week of orders may scan only a small fraction of the table’s micro-partitions. Pruning works best when the filter column’s values are naturally grouped together in storage, which is what clustering is about.

20. What are clustering keys, and when should you use them?

A clustering key is one or more columns, or expressions, that Snowflake uses to co-locate similar rows in the same micro-partitions. Once a clustering key is defined, the Automatic Clustering service reorganizes the data in the background as it changes, which uses credits. Clustering keys are worth it mainly for very large tables (multiple terabytes) that are queried far more often than they change, and that are usually filtered on the same columns, such as a date or a customer ID. You can check how well a table is clustered with SYSTEM$CLUSTERING_INFORMATION.

ALTER TABLE events CLUSTER BY (TO_DATE(event_ts), customer_id);

21. What is Snowpipe?

Snowpipe loads data continuously, in small batches, within minutes of files arriving in a stage. You define a pipe with a COPY INTO statement. With auto-ingest, the cloud storage service sends an event notification (for example, through Amazon SQS) when a new file lands, and Snowpipe loads it automatically; alternatively, applications can call the Snowpipe REST API. Snowpipe uses Snowflake-managed serverless compute instead of your warehouses, and keeps its load history for 14 days. For row-level, low-latency ingestion from applications or Kafka, Snowpipe Streaming writes rows directly into tables without staging files.

CREATE PIPE orders_pipe AUTO_INGEST = TRUE AS
  COPY INTO orders FROM @orders_stage FILE_FORMAT = (FORMAT_NAME = 'csv_fmt');

22. What are streams and tasks?

A stream records the changes (inserts, updates and deletes) made to a table since the stream was last consumed, which is a simple form of change data capture. A task runs a SQL statement or stored procedure on a schedule or after another task, and can be set to run only when a stream has data. Together they build incremental pipelines:

CREATE STREAM raw_orders_stream ON TABLE raw_orders;

CREATE TASK merge_orders
  WAREHOUSE = etl_wh
  SCHEDULE = '5 MINUTE'
WHEN SYSTEM$STREAM_HAS_DATA('RAW_ORDERS_STREAM')
AS
  MERGE INTO orders t
  USING raw_orders_stream s ON t.id = s.id
  WHEN MATCHED THEN UPDATE SET t.status = s.status
  WHEN NOT MATCHED THEN INSERT (id, status) VALUES (s.id, s.status);

ALTER TASK merge_orders RESUME;   -- tasks are created suspended

Using the stream in a DML statement that commits advances its offset, so each change is processed once. Task history is available from the TASK_HISTORY table function and view.

23. What are dynamic tables?

A dynamic table is defined by a query, and Snowflake keeps its contents up to date automatically. Instead of writing streams, tasks and MERGE logic, you declare the result you want and a target lag, the maximum acceptable staleness, and Snowflake works out the refresh schedule, refreshing incrementally when it can. Dynamic tables can read from other dynamic tables, which makes it easy to build multi-step pipelines.

CREATE DYNAMIC TABLE daily_sales
  TARGET_LAG = '15 minutes'
  WAREHOUSE = etl_wh
AS
  SELECT order_date, region, SUM(amount) AS total
  FROM orders
  GROUP BY order_date, region;

24. What is the difference between a view, a secure view and a materialized view?

  • A view is a saved query that runs every time you select from it.
  • A secure view hides its definition from users who do not own it and prevents the optimizer from exposing underlying data through clever queries. Secure views are required when sharing data through views.
  • A materialized view (Enterprise Edition) stores the precomputed result and is kept up to date automatically by a background service, which costs credits. It speeds up frequent, expensive queries on a single table, but cannot include joins or non-deterministic functions. For multi-table logic, dynamic tables are usually the better choice.

25. How does secure data sharing work?

Secure data sharing lets one Snowflake account give another read-only access to selected databases, tables, secure views and functions without copying or moving any data. The provider creates a share, grants objects to it and adds consumer accounts; the consumer creates a read-only database from the share and queries it with its own warehouse, so the consumer pays for compute while the provider pays only for storage. Data is always live, because both sides read the same micro-partitions. Providers can create reader accounts for consumers who are not Snowflake customers, and publish data more broadly as listings, including on the Snowflake Marketplace. Sharing across regions or clouds uses replication or listing auto-fulfillment.

26. How does Snowflake handle semi-structured data?

Snowflake stores JSON, Avro, Parquet, ORC and XML in the VARIANT data type, alongside OBJECT and ARRAY. Internally, it extracts frequently used fields into columns, so queries on semi-structured data still benefit from columnar storage and pruning. You navigate fields with colon and dot notation, cast them with ::, and turn arrays into rows with FLATTEN:

SELECT
  v:customer.name::STRING  AS customer,
  item.value:sku::STRING   AS sku,
  item.value:qty::NUMBER   AS qty
FROM raw_events,
     LATERAL FLATTEN(input => v:items) item;

27. What are stored procedures and UDFs in Snowflake?

A user-defined function (UDF) returns a value, or a table for a UDTF, and is used inside SQL statements. A stored procedure runs procedural logic, such as loops, conditions, error handling and multiple SQL statements, and is run with CALL. Both can be written in SQL (Snowflake Scripting), JavaScript, Python, Java or Scala.

CREATE OR REPLACE PROCEDURE purge_old_logs(days INT)
RETURNS STRING
LANGUAGE SQL
AS
$$
BEGIN
  DELETE FROM logs
  WHERE created_at < DATEADD(day, -1 * :days, CURRENT_TIMESTAMP());
  RETURN 'Deleted logs older than ' || days || ' days';
END;
$$;

CALL purge_old_logs(30);

A stored procedure runs with either owner’s rights (the default, using the owner’s privileges) or caller’s rights, which matters for security questions.

28. What is Snowpark?

Snowpark is a set of libraries and runtimes for processing data in Snowflake with Python, Java or Scala instead of SQL. You write DataFrame code that looks similar to Spark or pandas, and Snowpark translates it into SQL that runs inside Snowflake, so the data never leaves the platform. It also runs Python UDFs and stored procedures, with access to packages from the Anaconda channel, and is used for data engineering and machine learning. Snowpark-optimized warehouses provide extra memory for memory-heavy work such as model training.

29. How does Snowflake secure data?

  • Encryption: all data is encrypted at rest with AES-256 and in transit with TLS, with keys managed and rotated automatically by Snowflake. Business Critical Edition adds Tri-Secret Secure, which combines a Snowflake-managed key with a customer-managed key, so revoking your key makes the data unreadable.
  • Access control: role-based access control, with system roles such as ACCOUNTADMIN, SECURITYADMIN, USERADMIN, SYSADMIN and PUBLIC, plus custom roles in a hierarchy.
  • Authentication: multi-factor authentication, single sign-on with SAML, key-pair authentication and OAuth.
  • Network: network policies to allow or block IP addresses, and private connectivity such as AWS PrivateLink.
  • Governance: dynamic data masking policies, row access policies, tags, object tagging and access history.

30. How do you control Snowflake costs?

  • Set short AUTO_SUSPEND times so warehouses do not run idle.
  • Right-size warehouses: start small and size up only if queries are too slow.
  • Use resource monitors to send alerts or suspend warehouses when a credit quota is reached.
  • Separate workloads into different warehouses so you can see and control what each one costs.
  • Use transient tables and shorter Time Travel for data you can rebuild, to reduce storage.
  • Watch serverless features such as Automatic Clustering, materialized views and Snowpipe, which bill separately.
  • Review usage in the SNOWFLAKE.ACCOUNT_USAGE views, such as WAREHOUSE_METERING_HISTORY and QUERY_HISTORY.

31. How do you find slow queries and query history?

Use the QUERY_HISTORY view in SNOWFLAKE.ACCOUNT_USAGE, which keeps a year of history with some delay, or the INFORMATION_SCHEMA.QUERY_HISTORY table function for recent queries with no delay. The Query Profile in Snowsight shows the execution plan with time spent per operator, the number of partitions scanned versus total, bytes spilled to local or remote storage, and exploding joins. Spilling usually means the warehouse is too small for the query, and scanning most partitions means the filters are not pruning well.

Advanced Snowflake Interview Questions

32. How would you improve the performance of a slow Snowflake query?

  • Read the Query Profile first to find the most expensive step.
  • Select only the columns you need instead of SELECT *.
  • Filter on columns that prune well, and add a clustering key for very large tables with consistent filters.
  • Size up the warehouse if the query spills to disk; scale out if queries are queuing.
  • Fix join problems such as duplicate keys that multiply rows.
  • Use the search optimization service for highly selective point lookups on large tables.
  • Use the query acceleration service to offload parts of large scans to serverless compute.
  • Precompute expensive results with dynamic tables or materialized views.

33. Is Snowflake OLTP or OLAP?

Snowflake is designed mainly for OLAP: analytical queries over large amounts of data. Its columnar, immutable micro-partitions are not suited to high volumes of single-row inserts and updates. For transactional workloads, Snowflake offers hybrid tables (part of what Snowflake calls Unistore), which use row-based storage with enforced primary and foreign keys and fast single-row operations, while still being queryable alongside analytical tables. Even so, most systems keep their main OLTP database elsewhere and load the data into Snowflake for analysis.

34. Which clouds does Snowflake run on, and how does replication work?

Snowflake runs on AWS, Microsoft Azure and Google Cloud, in many regions. Each account lives in one cloud and region that you choose. To use data in other regions or clouds, or to protect against an outage, you can replicate databases and other account objects to accounts in other regions, and with failover groups (Business Critical Edition) promote a secondary account to primary during a disaster. Client redirect lets applications reconnect to the new primary using the same connection URL.

35. Can you connect AWS Glue and other ETL tools to Snowflake?

Yes. AWS Glue has a native Snowflake connector and can also use the Snowflake Spark connector or JDBC driver, so Glue jobs can read from and write to Snowflake. Most major integration tools have native Snowflake support, including Informatica, Matillion, Fivetran, Talend, Azure Data Factory and dbt. A common pattern is to use these tools to land data in Snowflake and then do the transformations inside Snowflake with SQL or dbt.

36. What are Apache Iceberg tables in Snowflake?

Iceberg tables store data and metadata in the open Apache Iceberg table format, in your own cloud storage, configured through an external volume. Snowflake can manage the table as the catalog, with full read and write support, or use an external catalog such as AWS Glue. Because the format is open, other engines such as Spark, Trino and Flink can work with the same data, which avoids lock-in and duplicate copies while keeping most Snowflake features.

37. What is Snowflake Cortex?

Snowflake Cortex is a set of AI features that run inside Snowflake. Cortex AI functions let you call large language models directly from SQL, for example to summarize text, classify it, translate it, extract information or analyze sentiment, without moving data out of Snowflake. Other Cortex features include Cortex Search for retrieval over your documents and Cortex Analyst for answering business questions in natural language over structured data. Interviewers mostly ask about it to see whether your knowledge of the platform is current.

38. What is the difference between a star schema and a snowflake schema?

Both are data-modeling patterns, and the snowflake schema has nothing to do with Snowflake the product. In a star schema, a central fact table connects directly to denormalized dimension tables, so queries need few joins and are simple and fast. In a snowflake schema, dimensions are normalized into several related tables, for example product, then category, then department. That saves some storage and reduces redundancy, but adds joins and complexity. On columnar cloud platforms like Snowflake, star schemas are usually preferred because storage is cheap and fewer joins make queries simpler.

39. How do you handle errors when loading data?

Run COPY INTO with VALIDATION_MODE = 'RETURN_ERRORS' to check files before loading them. Choose an ON_ERROR option: ABORT_STATEMENT (the default for bulk loads), CONTINUE (skip bad rows), or SKIP_FILE (skip any file with errors). After a load, the VALIDATE table function returns the rows that were rejected, and COPY_HISTORY shows what was loaded, with error counts for each file. File format options such as NULL_IF, ERROR_ON_COLUMN_COUNT_MISMATCH and date formats prevent many errors in the first place.

40. What is the data retention period, and how do you change it?

The data retention period is the number of days Time Travel keeps historical data for an object. It defaults to 1 day and is set with the DATA_RETENTION_TIME_IN_DAYS parameter at the account, database, schema or table level, with lower levels overriding higher ones. Permanent objects can be set to up to 90 days on Enterprise Edition. Longer retention means more storage cost, because changed micro-partitions are kept for longer.

ALTER TABLE orders SET DATA_RETENTION_TIME_IN_DAYS = 30;

41. What drivers and connectors does Snowflake provide?

Snowflake provides JDBC, ODBC, Python (the Snowflake Connector for Python), Node.js, .NET, Go and PHP drivers, plus the Snowflake Connector for Spark, the Snowflake Connector for Kafka (including a Snowpipe Streaming mode), the Snowpark libraries and the SQL API. Native connectors in Snowflake’s marketplace also bring in data from sources such as databases and SaaS applications.

42. What is the difference between DELETE, TRUNCATE and DROP in Snowflake?

DELETE removes rows that match a condition and can be undone with Time Travel. TRUNCATE TABLE removes all rows but keeps the table and its privileges; it also clears the table’s load metadata, so COPY INTO will load the same files again. DROP TABLE removes the table itself, which you can restore with UNDROP TABLE within the retention period. All three are recoverable through Time Travel, which is a common follow-up question.

Conclusion

Most Snowflake interviews come back to a few ideas: separated storage and compute, how micro-partitions and pruning make queries fast, and how Time Travel, cloning and data sharing work without copying data. If you can explain those, show how you would load, secure and tune data, and keep costs under control, you will be well prepared for data engineering and analytics roles. If you were asked a Snowflake question recently that is not here, share it in the comments and we can work through it together.

Sources and further reading

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *