Data Loading/Functions - 7

Data Loading/Functions - 7

Professional Development

7 Qs

quiz-placeholder

Similar activities

Photo rights

Photo rights

Professional Development

9 Qs

AWS ML - Clase 9

AWS ML - Clase 9

Professional Development

11 Qs

Grading Assignment in Moodle LMS

Grading Assignment in Moodle LMS

Professional Development

10 Qs

Linux Fundamentals

Linux Fundamentals

Professional Development

7 Qs

Python Intermediate Final Test

Python Intermediate Final Test

Professional Development

7 Qs

TECNALOGY

TECNALOGY

Professional Development

8 Qs

Instructional Materials

Instructional Materials

Professional Development

10 Qs

Ağ Güvenliği

Ağ Güvenliği

Professional Development

10 Qs

Data Loading/Functions - 7

Data Loading/Functions - 7

Assessment

Quiz

Instructional Technology

Professional Development

Medium

Created by

Sydney Cucchiara

Used 5+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

●You are loading a table named my_table

●The files you want to load are on the TABLE stage

●You've created a file format called my_csv

What COPY INTO command will you use?

COPY INTO

  my_table

FROM

  @%my_table

FILE_FORMAT =

  (FORMAT_NAME = my_csv);

COPY INTO

  my_table

FROM

  @my_table

FILE_FORMAT =

CSV

COPY INTO

  table

FROM

  @%my_table

FILE_FORMAT =

  (FORMAT_NAME = my_csv);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a file format do?

Format the data as it is being written to the table.

Describe how to read the input file.

Read the file into Snowflake

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

TRUE OR FALSE?

Metadata for micro-partitions is created only when you load data from an internal stage.

TRUE

FALSE

Answer explanation

Metadata for micro-partitions is always created, even if you load data from an external stage, or use other methods (such as INSERT or CTAS) to add data to a table.

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements about stages are TRUE?

A stage is a cloud file repository.

A stage can be internal or external.

Stages disappear as soon as all their files are loaded.

You can manually create named stages, user stages, or table stages.

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements about file formats are TRUE?

File formats store data of a particular type

A file format stores information needed to parse input files for loading.

You must specify a file format as part of every COPY INTO command.

The default file format is CSV.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Does this command use an internal stage, or an external stage?

COPY INTO

  my_table

FROM

  @my_stage

internal

external

neither

you can't tell!

Answer explanation

You can't tell.  It's a named stage, which could be either external or internal

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

TRUE OR FALSE?

This command will load data from a named stage:

COPY INTO my_table

FROM @%my_table;

Answer explanation

The command is loading data from a table stage.  You can tell from the prefix:

@<stage name> = named stage

@%<table name> = table stage

@~ = user stage