SnowPro Core Certification Exam Questions and Answers
Which data types are supported by Snowflake when using semi-structured data? (Choose two.)
Options:
VARIANT
VARRAY
STRUCT
ARRAY
QUEUE
Answer:
A, DExplanation:
Snowflake supports the VARIANT and ARRAY data types for semi-structured data. VARIANT can store values of any other type, including OBJECT and ARRAY, making it suitable for semi-structured data formats like JSON. ARRAY is used to store an ordered list of elements
What is an advantage of using an explain plan instead of the query profiler to evaluate the performance of a query?
Options:
The explain plan output is available graphically.
An explain plan can be used to conduct performance analysis without executing a query.
An explain plan will handle queries with temporary tables and the query profiler will not.
An explain plan's output will display automatic data skew optimization information.
Answer:
BExplanation:
An explain plan is beneficial because it allows for the evaluation of how a query will be processed without the need to actually execute the query. This can help in understanding the query’s performance implications and potential bottlenecks without consuming resources that would be used if the query were run
Snowflake supports the use of external stages with which cloud platforms? (Choose three.)
Options:
Amazon Web Services
Docker
IBM Cloud
Microsoft Azure Cloud
Google Cloud Platform
Oracle Cloud
Answer:
A, D, EExplanation:
Snowflake supports the use of external stages with Amazon Web Services (AWS), Microsoft Azure Cloud, and Google Cloud Platform (GCP). These platforms allow users to stage data externally and integrate with Snowflake for data loading operations
What is the following SQL command used for?
Select * from table(validate(t1, job_id => '_last'));
Options:
To validate external table files in table t1 across all sessions
To validate task SQL statements against table t1 in the last 14 days
To validate a file for errors before it gets executed using a COPY command
To return errors from the last executed COPY command into table t1 in the current session
Answer:
DExplanation:
The SQL command Select * from table(validate(t1, job_id => '_last')); is used to return errors from the last executed COPY command into table t1 in the current session. It checks the results of the most recent data load operation and provides details on any errors that occurred during that process1.
Which methods can be used to delete staged files from a Snowflake stage? (Choose two.)
Options:
Use the DROP
Specify the TEMPORARY option when creating the file format.
Specify the PURGE copy option in the COPY INTO