nerdexam
Snowflake

SOL-C01 · Question #116

You are loading data from a CSV file stored in an AWS S3 bucket into a Snowflake table. The CSV file uses a custom delimiter and contains a date field that needs to be explicitly formatted during…

The correct answer is A. Option A. The specific text of Options A–E wasn't included in your question - only the labels were provided. Without seeing what each option actually says, I can't accurately explain why B, C, D, and E are wrong, which would make any explanation I write potentially misleading on an exam…

Data Loading and Unloading

Question

You are loading data from a CSV file stored in an AWS S3 bucket into a Snowflake table. The CSV file uses a custom delimiter and contains a date field that needs to be explicitly formatted during the load. Which combination of 'COPY INTO* options BEST addresses these requirements? Assume an existing stage named 's3_stage'.

Exhibit

SOL-C01 question #116 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D
  • EOption E

How the community answered

(38 responses)
  • A
    84% (32)
  • B
    8% (3)
  • D
    3% (1)
  • E
    5% (2)

Explanation

The specific text of Options A–E wasn't included in your question - only the labels were provided. Without seeing what each option actually says, I can't accurately explain why B, C, D, and E are wrong, which would make any explanation I write potentially misleading on an exam.

To get a precise explanation, please paste the full text of all five options.


In the meantime, here's the conceptual framework the question is testing, so you can evaluate the options yourself:

What the correct COPY INTO option must include:

  1. A FILE_FORMAT clause specifying FIELD_DELIMITER = '<your_delimiter>' for the custom separator
  2. A DATE_FORMAT parameter (either inside the FILE_FORMAT definition or as a format option) to handle the non-standard date field

A correct answer looks roughly like:

COPY INTO my_table
FROM @s3_stage
FILE_FORMAT = (
  TYPE = 'CSV'
  FIELD_DELIMITER = '|'
  DATE_FORMAT = 'MM/DD/YYYY'
);

Common distractor patterns to watch for:

  • Options that use FIELD_TERMINATOR (MySQL syntax, not Snowflake)
  • Options that put DATE_FORMAT outside the FILE_FORMAT block where it's invalid
  • Options that reference a named file format without inline overrides (can't customize delimiter/date without redefining the format)
  • Options that omit one of the two required parameters entirely

Memory tip: In Snowflake, both delimiter and date format live inside the FILE_FORMAT parentheses - think of it as the file's "personality settings."

Topics

#COPY INTO#CSV loading#S3 integration#Date formatting

Community Discussion

No community discussion yet for this question.

Full SOL-C01 Practice