Snowflake interview questions: data loading with COPY INTO, Snowpipe and stages

Reviewed by Mark Dickie · Last updated

6 questions on this page you can answer and see marked on the spot. Go to the first one

Snowflake data loading is the set of commands and services that move files from a stage into a table. Interviewers usually probe COPY INTO, the difference between internal and external stages, and how Snowpipe differs from a scheduled bulk load. Know the ON_ERROR options and how load metadata stops a file from loading twice, since those come up most when a pipeline fails.

Which loading method fits which Snowflake scenario?

MethodHow it startsWhat to know for interviews
COPY INTO <table>A statement you run or schedule, using a virtual warehouseON_ERROR, FORCE, and load metadata that skips files already loaded
SnowpipeCloud storage event notifications (AUTO_INGEST)Serverless compute, billed per use, with a pipe object wrapping a COPY statement
Snowpipe StreamingA client SDK sends rows directlyNo staged files, so the choice of low latency over file-based auditing

What should you practise before the interview?

  1. Load a gzipped CSV from an external stage on S3, using a named file format and a SELECT that casts columns from $1, $2 and so on.
  2. Run COPY INTO with VALIDATION_MODE = RETURN_ERRORS against a file with a bad row, then rerun with ON_ERROR = CONTINUE and compare the results.
  3. Explain why a second COPY of an unchanged file loads zero rows, then use FORCE = TRUE and say what that risks.
  4. Create a pipe with AUTO_INGEST = TRUE, then check its state with SYSTEM$PIPE_STATUS and find the rejected rows in COPY_HISTORY.

Key facts

  • Tarmac has 22 Snowflake interview questions on this topic, 10 of them on this page, at difficulty 1–5 of 5.
  • Tarmac tracked 430 job postings asking for Snowflake in November 2026.
  • Roles asking for Snowflake advertise a median base salary of £75,000, across 105 job postings as of November 2026.
  • Tarmac last reviewed these Snowflake interview questions on 16 November 2026.

At a glance

Questions10 shown · 22 in the bank
Difficulty1–5 of 5
FormatsMultiple choice, Fill in the blank, Coding exercise, True / false, Ordering, Find the bug, Multiple answer
Interactive1 run your code against tests, in the app

What you'll review

  1. copy into
  2. file formats
  3. snowpipe
  4. stages

Practice questions

Try one before you open the answer. Pick an option and press Check; it's marked on the spot.

In Snowflake, what is the primary purpose of the COPY INTO <table> command?#

Options

Show answer

COPY INTO <table> loads data from staged files into a Snowflake table. The files must already reside in an internal or external stage; COPY INTO then reads them and inserts the rows into the named target table. Table-to-table copies use INSERT … SELECT, backups use CREATE … CLONE, and exporting data uses the COPY INTO <location> variant.

Why:

COPY INTO <table> is Snowflake's bulk-loading command. It reads files that have already been staged (in an internal stage or an external cloud-storage stage) and inserts their contents into the target table. The other options describe different features: table-to-table copying uses INSERT … SELECT, cloning uses CREATE … CLONE, and exporting to external storage uses COPY INTO <location> (the external-location form, not the table-loading form).

In Snowflake, which DDL statement creates a named, reusable file format object that specifies how delimited or structured data files should be parsed during loading?#

Options

Show answer

CREATE FILE FORMAT is the Snowflake DDL that creates a named, reusable file format object for parsing delimited or structured files during data loading. The object can specify type (CSV, JSON, PARQUET, AVRO, ORC, XML), delimiters, skip-headers, and other parsing options, and it can be referenced by stages and COPY INTO commands.

Why:

Snowflake uses the CREATE FILE FORMAT DDL to define a named file format object (e.g., type = CSV, JSON, PARQUET, etc.) that can be referenced by stages, COPY INTO, or CREATE TABLE statements. The other options are not valid Snowflake DDL statements.

Snowpipe is Snowflake's continuous, serverless data ingestion service that loads new files into a table as they arrive in cloud storage. Instead of manually running COPY statements on a schedule, Snowpipe uses a _____ object to define the COPY logic and references a _____ object that points to the cloud-storage location where files land, so that files are loaded automatically, typically within seconds of arrival.#

Show answer

Snowpipe is Snowflake's continuous, serverless data ingestion service that loads new files into a table as they arrive in cloud storage. Instead of manually running COPY statements on a schedule, Snowpipe uses a pipe object to define the COPY logic and references a stage object that points to the cloud-storage location where files land, so that files are loaded automatically, typically within seconds of arrival.

Why:

Snowpipe centers on two core objects: a PIPE, which encapsulates the COPY INTO statement and defines the ingestion logic, and a STAGE, which references the cloud-storage location where files land. When a new file is detected at that location (via event notifications processed by Snowpipe's infrastructure or by polling), Snowpipe triggers the pipe's COPY to load that file into the target table without manual intervention or a scheduled warehouse.

You are investigating failed Snowpipe loads in Snowflake. The table snowpipe_load_history has one row per ingested file with these columns:#

Starter code

SELECT file_name
FROM snowpipe_load_history
WHERE status = 'LOADED';

Your solution must pass

  • visible_basic

This one is written and run, not read. Solve it in the app and your code is executed against these tests and the hidden ones.

In a COPY INTO statement, you reference a named stage by prefixing its name with the _____ symbol, for example COPY INTO sales FROM _____my_stage. To load files from cloud storage you create an external stage, whereas a stage that Snowflake manages internally on your behalf is called an _____ stage.#

Show answer

In a COPY INTO statement, you reference a named stage by prefixing its name with the **@** symbol, for example COPY INTO sales FROM **@**my_stage. To load files from cloud storage you create an external stage, whereas a stage that Snowflake manages internally on your behalf is called an **internal** stage.

Why:

Named stages in Snowflake are referenced with the @ prefix — @my_stage, or @my_stage/path/ to scope to a subfolder — which is how COPY INTO, PUT, GET, and LIST know you mean a stage rather than a table. Stages come in two flavors: an external stage points at a location in your own cloud object storage (S3, GCS, or Azure Blob) using a storage integration or credentials, while an internal stage is storage Snowflake provisions and manages for you (named, user @~, or table @%table internal stages). The PUT command uploads local files into an internal stage; external stages are loaded by landing files in the underlying bucket. Knowing the @ reference syntax and the internal-vs-external distinction is fundamental to every data-loading workflow.

In Snowflake, after COPY INTO my_table FROM @my_stage; successfully loads a staged file into my_table, a later COPY INTO my_table FROM @my_stage; (with no FILES, PATTERN, or FORCE option) skips that same file by default, as long as the load is still within the 64-day load metadata retention period.#

Options

Show answer

True. Snowflake records load metadata for each target table, so repeating a COPY INTO from the same stage into that table skips files already loaded there by default. This holds within the 64-day metadata retention window, and no extra option is needed to get this deduplication.

Why:

Snowflake stores COPY load metadata per target table, not per stage. When COPY INTO runs against a table with the default FORCE = FALSE, it checks that table's load metadata and skips any file already loaded into that table, so re-running the identical command typically reports 0 rows loaded. This deduplication happens without any extra option. The statement is limited to the 64-day retention window: after that, files whose load status can no longer be determined are skipped by default, and reloading them requires LOAD_UNCERTAIN_FILES = TRUE or FORCE = TRUE.

You are loading a CSV file that contains one header row into a Snowflake table with COPY INTO. Which file format option instructs Snowflake to skip that header row so it is not inserted as data?#

Options

Show answer

Use the SKIP_HEADER = 1 file format option. It tells Snowflake to skip the first line of each CSV file before loading, so the header row is not inserted as data. SKIP_BLANK_LINES only skips empty lines, and HEADER/IGNORE_HEADER are not valid Snowflake options.

Why:

Snowflake's file format option SKIP_HEADER = n skips the first n lines at the start of each file before loading. Setting SKIP_HEADER = 1 drops the single header row. SKIP_BLANK_LINES only skips empty lines, not headers. HEADER = FALSE and IGNORE_HEADER = 1 are not valid Snowflake file format options.

Order the steps to bulk-load a batch of CSV files from cloud storage into a Snowflake table using a named stage and COPY INTO, from first to last.#

Put these in order

Show answer

First create a FILE FORMAT so Snowflake can parse the CSV (delimiter, headers, compression). Then create a STAGE pointing at the files and referencing that format. Next stage the files — PUT to an internal stage, or land them in the bucket for an external stage. Then run COPY INTO <table> FROM @stage to load the data, which also tracks already-loaded files. Finally inspect the COPY result and COPY_HISTORY to confirm row counts and handle any rejected files.

Why:

Bulk loading in Snowflake follows a stable pipeline. First define a FILE FORMAT so Snowflake knows how to parse the files (field delimiter, header lines, compression, null handling). Next create a STAGE — a named pointer to where the files live (an internal stage Snowflake manages, or an external stage over your own S3/GCS/Azure bucket) — typically referencing that file format. Then get the files into the stage: PUT uploads local files to an internal stage, while for an external stage the files simply need to be present in the bucket. With files staged, COPY INTO <table> FROM @stage performs the actual load, parsing and inserting rows (and recording per-file load metadata so already-loaded files are skipped on re-runs). Finally, verify the load — the COPY result set and COPY_HISTORY / VALIDATE show how many rows loaded and surface any rejected files for reprocessing. Doing COPY before the stage or file format exists would simply fail.

A data engineer creates the following Snowpipe pipe on an S3 external stage to auto-ingest JSON event files. The CREATE PIPE statement fails at compilation time. Identify the buggy line.#

CREATE PIPE ingest_events
  AUTO_INGEST = TRUE
  AWS_SNS_TOPIC = 'arn:aws:sns:us-east-1:123456789012:events-topic'
AS
COPY INTO raw_events
  FROM @events_stage
  FILE_FORMAT = (TYPE = JSON, STRIP_OUTER_ARRAY = TRUE)
  FORCE = TRUE
  ON_ERROR = CONTINUE;
Show answer

The bug is on line 8.

Why:

Snowpipe does not support the FORCE copy option in the pipe's COPY INTO statement. Snowpipe manages file deduplication internally using the pipe's load history and the table's load metadata; FORCE would override that deduplication and is explicitly rejected at pipe compilation time. The other options shown — AUTO_INGEST, AWS_SNS_TOPIC, FILE_FORMAT with STRIP_OUTER_ARRAY, and ON_ERROR = CONTINUE — are all valid in a Snowpipe pipe definition. Removing FORCE = TRUE on line 8 allows the pipe to be created successfully.

In Snowflake, which of the following statements about the MATCH_BY_COLUMN_NAME copy option (used with COPY INTO <table>) are true?#

Options

Pick every one that applies.

Show answer

In Snowflake, the CSV-specific statements that hold are: MATCH_BY_COLUMN_NAME = CASE_INSENSITIVE works for CSV when PARSE_HEADER = TRUE, and CSV column-name matching needs PARSE_HEADER = TRUE. Column transformations are not allowed with this option, and PARSE_HEADER is a CSV-only setting, not required for Parquet or Avro.

Why:

Two statements are true. For CSV files, column-name matching depends on the header row: PARSE_HEADER = TRUE tells Snowflake to read the first row as column names, and without it there are no names to match, so the option cannot work. Once headers are parsed, Snowflake accepts both CASE_SENSITIVE and CASE_INSENSITIVE matching for CSV, so the CASE_INSENSITIVE statement is true. The statement that a column transformation is allowed for Parquet is false: MATCH_BY_COLUMN_NAME is not supported when COPY INTO uses a SELECT in the FROM clause, whatever the format. The statement that NONE matches by name is false because NONE is the setting that turns name matching off. The statement that PARSE_HEADER is required for Parquet and Avro is false because PARSE_HEADER is a CSV-only option, and those formats carry their own schema metadata.

Related interview questions

Job market

See snowflake salaries and hiring demand from live job postings.

The other 12 questions

This page shows 10 and marks what you pick. That's as far as a page can go. A free account opens the other 12 and keeps every answer. What you miss comes back until it's right: after a day, then at longer gaps.

Start with this topic

Free · the whole bank · 100 answers per 30 days, each marked with written feedback

Interview booked? Practise the job ad instead

What moved, monthly

One email a month when the bulletin comes out: what moved in the markets we track, and the new question topics we published. Confirm your address to join. Unsubscribe any time.