Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 11

True or False: The COPY command must specify a File Format in order to execute.

    Correct Answer: B

    The COPY command in Snowflake does not necessarily require specifying a File Format in order to execute. It can automatically infer the file format based on the file's extension or internal structure. If needed, the file format can be specified explicitly for more control, but it is not mandatory.

Discussion
jjordanOption: B

The correct answer is FALSE. The file format can be defined at the stage, table, or copy into command. Create Stage: https://docs.snowflake.com/en/sql-reference/sql/create-stage.html Create Table (STAGE_FILE_FORMAT option): https://docs.snowflake.com/en/sql-reference/sql/create-table.html Copy Into: https://docs.snowflake.com/en/sql-reference/sql/copy-into-table.html

tbridgesOption: B

False. In Snowflake, the COPY command does not necessarily require specifying a File Format in order to execute. The COPY command can be used to load data into a table from various file formats such as CSV, JSON, Avro, Parquet, etc. When a file format is not explicitly specified in the COPY command, Snowflake attempts to automatically infer the file format based on the file's extension or internal file structure. This automatic file format inference feature is known as "automatic file format detection." However, if the file format cannot be determined automatically or if you want to override the automatic detection, you can explicitly specify a File Format in the COPY command using the FILE_FORMAT parameter. So, while specifying a File Format can provide more control and customization over the data loading process, it is not mandatory for the COPY command to execute successfully.

instrideOption: B

The answer is FALSE. According to snowflake documentation, FILE FORMAT is an optional parameter. https://docs.snowflake.com/en/sql-reference/sql/copy-into-table#required-parameters

VS3497Option: A

A.The COPY command must specify a File Format in order to execute

LeinhoOption: B

FILE_FORMAT parameter is defined as an optional parameter in snowflake documentation: https://docs.snowflake.com/en/sql-reference/sql/copy-into-table#optional-parameters

Mallikharjuna452Option: A

A.True

pranaligOption: B

correct answer:B

JasMozaiOption: B

It is optional

Stevec80Option: B

In the COPY command, the File_Format is not mandatory. With the Internal Named Stage you can specify file_format during creation of the stage

AnireddySaikiranReddyOption: A

True-A

_yyuktaOption: A

A.True

KHarishOption: B

B is correct

annasriOption: B

file format is nor mandatory

ETC2Option: B

The answer is FALSE. According to snowflake documentation, FILE FORMAT is an optional parameter. https://docs.snowflake.com/en/sql-reference/sql/copy-into-table#required-parameters

SanjayROption: B

Correct Answer is B. Specifying FILE Format is not pre-requisite. see below Copy command e.g -- S3 bucket COPY INTO mytable FROM 's3://mybucket/./../a.csv'; -- Google Cloud Storage bucket COPY INTO mytable FROM 'gcs://mybucket/./../a.csv'; -- Azure container COPY INTO mytable FROM 'azure://myaccount.blob.core.windows.net/mycontainer/./../a.csv';

PoornaChandraInOption: B

Answer is B as it optional to provide in here as we can provide it later part also at stage or table level.

Mayuri917233Option: A

A is correct