ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 34

Question list
Search
Search

What is the MAXIMUM Time Travel retention period for a transient table?

A.
O days
A.
O days
Answers
B.
1 day
B.
1 day
Answers
C.
7 days
C.
7 days
Answers
D.
90 days
D.
90 days
Answers
Suggested answer: B

Explanation:

The maximum Time Travel retention period for a transient table in Snowflake is 1 day.This is the default and maximum duration for which Snowflake maintains the historical data for transient tables, allowing users to query data as it appeared at any point within the past 24 hours2.

Which query contains a Snowflake hosted file URL in a directory table for a stage named bronzestage?

A.
list @bronzestage;
A.
list @bronzestage;
Answers
B.
select * from directory(@bronzestage);
B.
select * from directory(@bronzestage);
Answers
C.
select metadata$filename from @bronzestage;
C.
select metadata$filename from @bronzestage;
Answers
D.
select * from table(information_schema.stage_directory_file_registration_history( stage name=>'bronzestage1));
D.
select * from table(information_schema.stage_directory_file_registration_history( stage name=>'bronzestage1));
Answers
Suggested answer: B

Explanation:

The query that contains a Snowflake hosted file URL in a directory table for a stage named bronzestage isselect * from directory(@bronzestage).This query retrieves a list of all files on the stage along with metadata, including the Snowflake file URL for each file3.

Which Snowflake edition enables data sharing only through Snowflake Support?

A.
Virtual Private Snowflake
A.
Virtual Private Snowflake
Answers
B.
Business Critical
B.
Business Critical
Answers
C.
Enterprise
C.
Enterprise
Answers
D.
Standard
D.
Standard
Answers
Suggested answer: A

Explanation:

The Snowflake edition that enables data sharing only through Snowflake Support is the Virtual Private Snowflake (VPS).By default, VPS does not permit data sharing outside of the VPS environment, but it can be enabled through Snowflake Support4.

When would Snowsight automatically detect if a target account is in a different region and enable cross-cloud auto-fulfillment?

A.
When using a paid listing on the Snowflake Marketplace
A.
When using a paid listing on the Snowflake Marketplace
Answers
B.
When using a private listing on the Snowflake Marketplace
B.
When using a private listing on the Snowflake Marketplace
Answers
C.
When using a personalized listing on the Snowflake Marketplace
C.
When using a personalized listing on the Snowflake Marketplace
Answers
D.
When using a Direct Share with another account
D.
When using a Direct Share with another account
Answers
Suggested answer: A

Explanation:

Snowsight automatically detects if a target account is in a different region and enables cross-cloud auto-fulfillment when using a paid listing on the Snowflake Marketplace.This feature allows Snowflake to manage the replication of data products to consumer regions as needed, without manual intervention1.

Which languages requite that User-Defined Function (UDF) handlers be written inline? (Select TWO).

A.
Java
A.
Java
Answers
B.
Javascript
B.
Javascript
Answers
C.
Scala
C.
Scala
Answers
D.
Python
D.
Python
Answers
E.
SQL
E.
SQL
Answers
Suggested answer: B, E

Explanation:

User-Defined Function (UDF) handlers must be written inline for Javascript and SQL.These languages allow the UDF logic to be included directly within the SQL statement that creates the UDF2.

Which semi-structured data function interprets an input string as a JSON document that produces a VARIANT value?

A.
PARSE_JSON
A.
PARSE_JSON
Answers
B.
CHECK_JSON
B.
CHECK_JSON
Answers
C.
JSON_EXTRACT_PATH_TEXT
C.
JSON_EXTRACT_PATH_TEXT
Answers
D.
PARSE_XML
D.
PARSE_XML
Answers
Suggested answer: A

Explanation:

The semi-structured data function that interprets an input string as a JSON document and produces a VARIANT value is PARSE_JSON.This function is used to parse a JSON formatted string and return it as a VARIANT data type, which can then be used for further processing within Snowflake3.

Which items are considered schema objects in Snowflake? (Select TWO).

A.
Pipe
A.
Pipe
Answers
B.
File format
B.
File format
Answers
C.
Resource monitor
C.
Resource monitor
Answers
D.
Storage integration
D.
Storage integration
Answers
E.
Virtual warehouse
E.
Virtual warehouse
Answers
Suggested answer: A, B

Explanation:

In Snowflake, schema objects include Pipes and File formats.Pipes are used for continuous data loading, and File formats specify the format of data files used in loading and unloading operations within Snowflake

What are benefits of using Snowpark with Snowflake? (Select TWO).

A.
Snowpark uses a Spark engine to generate optimized SQL query plans.
A.
Snowpark uses a Spark engine to generate optimized SQL query plans.
Answers
B.
Snowpark automatically sets up Spark within Snowflake virtual warehouses.
B.
Snowpark automatically sets up Spark within Snowflake virtual warehouses.
Answers
C.
Snowpark does not require that a separate cluster be running outside of Snowflake.
C.
Snowpark does not require that a separate cluster be running outside of Snowflake.
Answers
D.
Snowpark allows users to run existing Spark code on virtual warehouses without the need to reconfigure the code.
D.
Snowpark allows users to run existing Spark code on virtual warehouses without the need to reconfigure the code.
Answers
E.
Snowpark executes as much work as possible in the source databases for all operations including User-Defined Functions (UDFs).
E.
Snowpark executes as much work as possible in the source databases for all operations including User-Defined Functions (UDFs).
Answers
Suggested answer: C, D

Explanation:

Snowpark is designed to bring the data programmability to Snowflake, enabling developers to write code in familiar languages like Scala, Java, and Python. It allows for the execution of these codes directly within Snowflake's virtual warehouses, eliminating the need for a separate cluster.Additionally, Snowpark's compatibility with Spark allows users to leverage their existing Spark code with minimal changes1.

If a virtual warehouse runs for 61 seconds, shuts down, and then restarts and runs for 30 seconds, for how many seconds is it billed?

A.
60
A.
60
Answers
B.
91
B.
91
Answers
C.
120
C.
120
Answers
D.
121
D.
121
Answers
Suggested answer: D

Explanation:

Snowflake's billing for virtual warehouses is per-second, with a minimum of 60 seconds for each time the warehouse is started or resumed. Therefore, if a warehouse runs for 61 seconds, it is billed for 61 seconds.If it is then shut down and restarted, running for an additional 30 seconds, it is billed for another 60 seconds (the minimum charge for a restart), totaling 121 seconds2

Which transformation is supported by a COPY INTO <table> command?

A.
Filter using a where clause
A.
Filter using a where clause
Answers
B.
Filter using a limit keyword
B.
Filter using a limit keyword
Answers
C.
Cast using a SELECT statement
C.
Cast using a SELECT statement
Answers
D.
Order using an ORDER BY clause
D.
Order using an ORDER BY clause
Answers
Suggested answer: C

Explanation:

The COPY INTO <table> command in Snowflake supports transformations such as casting using a SELECT statement.This allows for the transformation of data types as the data is being loaded into the table, which can be particularly useful when the data types in the source files do not match the data types in the target table

Total 627 questions
Go to page: of 63