SnowPro Core Certification Exam Questions and Answers
Question 49
Which objects together comprise a namespace in Snowflake? (Select TWO).
Options:
A.
Account
B.
Database
C.
Schema
D.
Table
E.
Virtual warehouse
Answer:
B, C
Explanation:
In Snowflake, a namespace is comprised of a database and a schema. The combination of a database and schema uniquely identifies database objects within an account
Question 50
How does a scoped URL expire?
Options:
A.
When the data cache clears.
B.
When the persisted query result period ends.
C.
The encoded URL access is permanent.
D.
The length of time is specified in the expiration_time argument.
Answer:
B
Explanation:
A scoped URL expires when the persisted query result period ends, which is typically after the results cache expires. This is currently set to 24 hours
Question 51
Which statement describes pruning?
Options:
A.
The filtering or disregarding of micro-partitions that are not needed to return a query.
B.
The return of micro-partitions values that overlap with each other to reduce a query's runtime.
C.
A service that is handled by the Snowflake Cloud Services layer to optimize caching.
D.
The ability to allow the result of a query to be accessed as if it were a table.
Answer:
A
Explanation:
Pruning in Snowflake refers to the process of filtering or disregarding micro-partitions that are not needed to satisfy the conditions of a query. This optimization technique helps reduce the amount of data scanned, thereby improving query performance
Question 52
What is the purpose of using the OBJECT_CONSTRUCT function with me COPY INTO command?
Options:
A.
Reorder the rows in a relational table and then unload the rows into a file
B.
Convert the rows in a relational table lo a single VARIANT column and then unload the rows into a file.
C.
Reorder the data columns according to a target table definition and then unload the rows into the table.
D.
Convert the rows in a source file to a single variant column and then load the rows from the file to a variant table.
Answer:
B
Explanation:
The OBJECT_CONSTRUCT function is used with the COPY INTO command to convert the rows in a relational table to a single VARIANT column, which can then be unloaded into a file. This is useful for transforming table data into a semi-structured JSON format