ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 37

Question list
Search
Search

For which use cases is running a virtual warehouse required? (Select TWO).

A.
When creating a table
A.
When creating a table
Answers
B.
When loading data into a table
B.
When loading data into a table
Answers
C.
When unloading data from a table
C.
When unloading data from a table
Answers
D.
When executing a show command
D.
When executing a show command
Answers
E.
When executing a list command
E.
When executing a list command
Answers
Suggested answer: B, C

Explanation:

Running a virtual warehouse is required when loading data into a table and when unloading data from a table because these operations require compute resources that are provided by the virtual warehouse23.

What does SnowCD help Snowflake users to do?

A.
Copy data into files.
A.
Copy data into files.
Answers
B.
Manage different databases and schemas.
B.
Manage different databases and schemas.
Answers
C.
Troubleshoot network connections to Snowflake.
C.
Troubleshoot network connections to Snowflake.
Answers
D.
Write SELECT queries to retrieve data from external tables.
D.
Write SELECT queries to retrieve data from external tables.
Answers
Suggested answer: C

Explanation:

SnowCD is a connectivity diagnostic tool that helps users troubleshoot network connections to Snowflake.It performs a series of checks to evaluate the network connection and provides suggestions for resolving any issues4.

A user with which privileges can create or manage other users in a Snowflake account? (Select TWO).

A.
GRANT
A.
GRANT
Answers
B.
SELECT
B.
SELECT
Answers
C.
MODIFY
C.
MODIFY
Answers
D.
OWNERSHIP
D.
OWNERSHIP
Answers
E.
CREATE USER
E.
CREATE USER
Answers
Suggested answer: D, E

Explanation:

A user with the OWNERSHIP privilege on a user object or the CREATE USER privilege on the account can create or manage other users in a Snowflake account56.

How is unstructured data retrieved from data storage?

A.
SQL functions like the GET command can be used to copy the unstructured data to a location on the client.
A.
SQL functions like the GET command can be used to copy the unstructured data to a location on the client.
Answers
B.
SQL functions can be used to create different types of URLs pointing to the unstructured data. These URLs can be used to download the data to a client.
B.
SQL functions can be used to create different types of URLs pointing to the unstructured data. These URLs can be used to download the data to a client.
Answers
C.
SQL functions can be used to retrieve the data from the query results cache. When the query results are output to a client, the unstructured data will be output to the client as files.
C.
SQL functions can be used to retrieve the data from the query results cache. When the query results are output to a client, the unstructured data will be output to the client as files.
Answers
D.
SQL functions can call on different web extensions designed to display different types of files as a web page. The web extensions will allow the files to be downloaded to the client.
D.
SQL functions can call on different web extensions designed to display different types of files as a web page. The web extensions will allow the files to be downloaded to the client.
Answers
Suggested answer: B

Explanation:

Unstructured data stored in Snowflake can be retrieved by using SQL functions to generate URLs that point to the data.These URLs can then be used to download the data directly to a client

Which Snowflake view is used to support compliance auditing?

A.
ACCESS_HISTORY
A.
ACCESS_HISTORY
Answers
B.
COPY_HISTORY
B.
COPY_HISTORY
Answers
C.
QUERY_HISTORY
C.
QUERY_HISTORY
Answers
D.
ROW ACCESS POLICIES
D.
ROW ACCESS POLICIES
Answers
Suggested answer: A

Explanation:

TheACCESS_HISTORYview in Snowflake is utilized to support compliance auditing. It provides detailed information on data access within Snowflake, including reads and writes by user queries.This view is essential for regulatory compliance auditing as it offers insights into the usage of tables and columns, and maintains a direct link between the user, the query, and the accessed data1.

What is the purpose of the STRIP NULL_VALUES file format option when loading semi-structured data files into Snowflake?

A.
It removes null values from all columns in the data.
A.
It removes null values from all columns in the data.
Answers
B.
It converts null values to empty strings during loading.
B.
It converts null values to empty strings during loading.
Answers
C.
It skips rows with null values during the loading process.
C.
It skips rows with null values during the loading process.
Answers
D.
It removes object or array elements containing null values.
D.
It removes object or array elements containing null values.
Answers
Suggested answer: D

Explanation:

TheSTRIP NULL_VALUESfile format option, when set toTRUE, removes object or array elements that contain null values during the loading process of semi-structured data files into Snowflake.This ensures that the data loaded into Snowflake tables does not contain these null elements, which can be useful when the ''null'' values in files indicate missing values and have no other special meaning2.

Which data types can be used in Snowflake to store semi-structured data? (Select TWO)

A.
ARRAY
A.
ARRAY
Answers
B.
BLOB
B.
BLOB
Answers
C.
CLOB
C.
CLOB
Answers
D.
JSON
D.
JSON
Answers
E.
VARIANT
E.
VARIANT
Answers
Suggested answer: A, E

Explanation:

Snowflake supports the storage of semi-structured data using theARRAYandVARIANTdata types. TheARRAYdata type can directly containVARIANT, and thus indirectly contain any other data type, including itself.TheVARIANTdata type can store a value of any other type, includingOBJECTandARRAY, and is often used to represent semi-structured data formats like JSON, Avro, ORC, Parquet, or XML34.

A user wants to access files stored in a stage without authenticating into Snowflake. Which type of URL should be used?

A.
File URL
A.
File URL
Answers
B.
Staged URL
B.
Staged URL
Answers
C.
Scoped URL
C.
Scoped URL
Answers
D.
Pre-signed URL
D.
Pre-signed URL
Answers
Suggested answer: D

Explanation:

APre-signed URLshould be used to access files stored in a Snowflake stage without requiring authentication into Snowflake. Pre-signed URLs are simple HTTPS URLs that provide temporary access to a file via a web browser, using a pre-signed access token.The expiration time for the access token is configurable, and this type of URL allows users or applications to directly access or download the files without needing to authenticate into Snowflake5.

What does a Notify & Suspend action for a resource monitor do?

A.
Send an alert notification to all account users who have notifications enabled.
A.
Send an alert notification to all account users who have notifications enabled.
Answers
B.
Send an alert notification to all virtual warehouse users when thresholds over 100% have been met.
B.
Send an alert notification to all virtual warehouse users when thresholds over 100% have been met.
Answers
C.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses after all statements being executed by the warehouses have completed.
C.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses after all statements being executed by the warehouses have completed.
Answers
D.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses immediately, canceling any statements being executed by the warehouses.
D.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses immediately, canceling any statements being executed by the warehouses.
Answers
Suggested answer: C

Explanation:

The Notify & Suspend action for a resource monitor in Snowflake sends a notification to all account administrators who have notifications enabled and suspends all assigned warehouses.However, the suspension only occurs after all currently running statements in the warehouses have been completed1.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

What type of query will benefit from the query acceleration service?

A.
Queries without filters or aggregation
A.
Queries without filters or aggregation
Answers
B.
Queries with large scans and selective filters
B.
Queries with large scans and selective filters
Answers
C.
Queries where the GROUP BY has high cardinality
C.
Queries where the GROUP BY has high cardinality
Answers
D.
Queries of tables that have search optimization service enabled
D.
Queries of tables that have search optimization service enabled
Answers
Suggested answer: B

Explanation:

The query acceleration service in Snowflake is designed to benefit queries that involve large scans and selective filters.This service can offload portions of the query processing work to shared compute resources, which can handle these types of workloads more efficiently by performing more work in parallel and reducing the wall-clock time spent in scanning and filtering2.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

Total 627 questions
Go to page: of 63