Snowflake Snowpro Core
Snowflake Snowpro Core
Q1
Is re-clustering in Snowflake only triggered if the table would benefit from the
operation?
A) True
B) False
Solution:
A) True
Explanation:
DML operations (INSERT, UPDATE, DELETE, MERGE, COPY) can make the data in the table
become less clustered. To solve that, Snowflake provides periodic & automatic re-clustering
to maintain optimal clustering.
It only reclusters a clustered table if it benefits from the operation.
2
Q2
Solution:
Explanation:
A source system (like a web application) loads the data into a Snowflake Stage (for example,
an external stage like Amazon S3). Then we can copy the data into a Snowflake table. You
can see this behavior in the following image:
3
Q3
Solution:
Explanation:
Semi-structured data is saved as VARIANT type in Snowflake tables, with a maximum limit
size of 16 MB of uncompressed data, and it can be queried using JSON notation.
A VARIANT can store a value of any other type, including OBJECT and ARRAY.
For example, you can store the following JSON in a VARIANT column:
{
"a":null,
"b":"test",
"c":[null, 2,3]
}
4
Q4
A) True
B) False
Solution:
A) True
Explanation:
Fail-safe ensures historical data is protected in the event of a system failure or other
catastrophic event, providing a (NON-CONFIGURABLE) 7-day period during which
Snowflake support may recover historical data. It requires additional storage (as other
functionalities like Time Travel), that's why it incurs additional storage costs.
You can see an example of how Fail-Safe works in the following image:
5
Q5
Solution:
Explanation:
Snowpipe is a serverless service that enables loading data when the files are available in
any (internal/external) stage. It is used when you have a small volume of frequent data and
want to load it continuously (micro-batches).
Q6
A) Pruning
B) Clustering
C) Indexing
D) Computing
Solution:
A) Pruning
Explanation:
Q7
Which command will we use to download the files from the stage/location
loaded through the COPY INTO <LOCATION> command?
A) GET
B) PUT
C) UNLOAD
D) INSERT INTO
Solution:
A) GET
Explanation:
We will use the GET command to DOWNLOAD files from a Snowflake internal stage (named
internal stage, user stage, or table stage) into a directory/folder on a client machine.
The command cannot be executed from the Snowflake Web Interface; you need to use
SnowSQL. For example, if we want to download data from an internal stage called
“my_int_stage” into our “data” folder, you can run the following command:
Q8
A) True
B) False
Solution:
A) True
Explanation:
A warehouse can be resized up or down (through the web interface or using SQL) at any
time, including while it is running and processing statements.
In the following image, you can see how to resize them using the web interface: