Data Loading & Unloading Quiz Flashcards

1
Q

What is the purpose of an internal stage in Snowflake? Choose one correct value.
- To permanently store table data
- To store metadata information/statistics for tables
- A place to store connector configuration files
- An area to temporarily store data used in the data loading process

A

An area to temporarily store data used in the data loading process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which symbol(s) are used when referencing a named stage object via SQL?

A

@

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A user stage must be manually created by a user via SQL. True or false?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are Stages called that store data outside of Snowflake?

A

EXTERNAL Stage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the function of the keyword OVERWRITE in the insert statement? Choose one correct value.
- OVERWRITE will append records to a table
- OVERWRITE will overwrite the latest version of a table with the new rules
- OVERWRITE will overwrite only the records which have the same ID field
- OVERWRITE will truncate before new values are inserted

A
  • OVERWRITE will truncate before new values are inserted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the function of the PUT command? Choose one correct value.
- Transfer files from a Snowflake Stage to a local file system
- Transfer files from a local file system to an external stage
- Transfer files from a local file system to an internal stage
- Load data from an internal stage to a table.

A

Transfer files from a local file system to an internal stage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

PUT cannot be executed from within worksheets. True or false?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which copy option for the COPY INTO <table> command allows you to provide a regular expression to extract files to load? Choose one correct value.
- PATTERN
- REGULAR_EXPRESSION
- REGULAR PATTERN
- REGEX

A
  • PATTERN
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

For how many days is load history stored in metadata for a pipe to prevent reloading the same files into a table?

A

14

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which type of workload does Snowpipe facilitate? Choose one correct value.
- Bulk load of smaller data files
- Continuous load of larger data file
- Continuous load of smaller data files
- Bulk lad of larger data files

A
  • Continuous load of smaller data files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly