ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 29

Question list
Search
Search

How can a Snowflake user optimize query performance in Snowflake? (Select TWO).

A.
Create a view.
A.
Create a view.
Answers
B.
Cluster a table.
B.
Cluster a table.
Answers
C.
Enable the search optimization service.
C.
Enable the search optimization service.
Answers
D.
Enable Time Travel.
D.
Enable Time Travel.
Answers
E.
Index a table.
E.
Index a table.
Answers
Suggested answer: B, C

Explanation:

To optimize query performance in Snowflake, users can cluster a table, which organizes the data in a way that minimizes the amount of data scanned during queries.Additionally, enabling the search optimization service can improve the performance of selective point lookup queries on large tables34.

What can a Snowflake user do with the information included in the details section of a Query Profile?

A.
Determine the total duration of the query.
A.
Determine the total duration of the query.
Answers
B.
Determine the role of the user who ran the query.
B.
Determine the role of the user who ran the query.
Answers
C.
Determine the source system that the queried table is from.
C.
Determine the source system that the queried table is from.
Answers
D.
Determine if the query was on structured or semi-structured data.
D.
Determine if the query was on structured or semi-structured data.
Answers
Suggested answer: A

Explanation:

The details section of a Query Profile in Snowflake provides users with various statistics and information about the execution of a query. One of the key pieces of information that can be determined from this section is the total duration of the query, which helps in understanding the performance and identifying potential bottlenecks.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

How many network policies can be assigned to an account or specific user at a time?

A.
One
A.
One
Answers
B.
Two
B.
Two
Answers
C.
Three
C.
Three
Answers
D.
Unlimited
D.
Unlimited
Answers
Suggested answer: A

Explanation:

According to my knowledge, a security administrator can create multiple network policies, but only one network policy can be active for an account or specific user at any given time. This ensures that there is a clear and consistent policy being applied without conflicts.Reference:Based on my internal knowledge as of 2021.

A tabular User-Defined Function (UDF) is defined by specifying a return clause that contains which keyword?

A.
ROW_NUMBER
A.
ROW_NUMBER
Answers
B.
TABLE
B.
TABLE
Answers
C.
TABULAR
C.
TABULAR
Answers
D.
VALUES
D.
VALUES
Answers
Suggested answer: B

Explanation:

In Snowflake, a tabular User-Defined Function (UDF) is defined with a return clause that includes the keyword ''TABLE.'' This indicates that the UDF will return a set of rows, which can be used in the FROM clause of a query.Reference:Based on my internal knowledge as of 2021.

What is the recommended way to change the existing file format type in my format from CSV to JSON?

A.
ALTER FILE FORMAT my_format SET TYPE=JSON;
A.
ALTER FILE FORMAT my_format SET TYPE=JSON;
Answers
B.
ALTER FILE FORMAT my format SWAP TYPE WITH JSON;
B.
ALTER FILE FORMAT my format SWAP TYPE WITH JSON;
Answers
C.
CREATE OR REPLACE FILE FORMAT my format TYPE-JSON;
C.
CREATE OR REPLACE FILE FORMAT my format TYPE-JSON;
Answers
D.
REPLACE FILE FORMAT my format TYPE-JSON;
D.
REPLACE FILE FORMAT my format TYPE-JSON;
Answers
Suggested answer: A

Explanation:

To change the existing file format type from CSV to JSON, the recommended way is to use the ALTER FILE FORMAT command with the SET TYPE=JSON clause. This alters the file format specification to use JSON instead of CSV.Reference:Based on my internal knowledge as of 2021.

What technique does Snowflake use to limit the number of micro-partitions scanned by each query?

A.
B-tree
A.
B-tree
Answers
B.
Indexing
B.
Indexing
Answers
C.
Map reduce
C.
Map reduce
Answers
D.
Pruning
D.
Pruning
Answers
Suggested answer: D

Explanation:

Snowflake uses a technique called pruning to limit the number of micro-partitions scanned by each query.Pruning effectively filters out unnecessary micro-partitions based on the query's filter conditions, which can significantly improve query performance by reducing the amount of data scanned1.

Which command is used to unload files from an internal or external stage to a local file system?

A.
COPY INTO
A.
COPY INTO
Answers
B.
GET
B.
GET
Answers
C.
PUT
C.
PUT
Answers
D.
TRANSFER
D.
TRANSFER
Answers
Suggested answer: B

Explanation:

The command used to unload files from an internal or external stage to a local file system in Snowflake is the GET command.This command allows users to download data files that have been staged, making them available on the local file system for further use23.

Which feature is integrated to support Multi-Factor Authentication (MFA) at Snowflake?

A.
Authy
A.
Authy
Answers
B.
Duo Security
B.
Duo Security
Answers
C.
One Login
C.
One Login
Answers
D.
RSA SecurlD Access
D.
RSA SecurlD Access
Answers
Suggested answer: B

Explanation:

Snowflake integrates Duo Security to support Multi-Factor Authentication (MFA).This feature provides increased login security for users connecting to Snowflake, and it is managed completely by Snowflake without the need for users to sign up separately with Duo4.

If queries start to queue in a multi-cluster virtual warehouse, an additional compute cluster starts immediately under what setting?

A.
Auto-scale mode
A.
Auto-scale mode
Answers
B.
Maximized mode
B.
Maximized mode
Answers
C.
Economy scaling policy
C.
Economy scaling policy
Answers
D.
Standard scaling policy
D.
Standard scaling policy
Answers
Suggested answer: A

Explanation:

In Snowflake, when queries begin to queue in a multi-cluster virtual warehouse, an additional compute cluster starts immediately if the warehouse is set to auto-scale mode.This mode allows Snowflake to automatically add or resume additional clusters as soon as the workload increases, and similarly, shut down or pause the additional clusters when the load decreases

Which Snowflake object helps evaluate virtual warehouse performance impacted by query queuing?

A.
Resource monitor
A.
Resource monitor
Answers
B.
Account_usage. query_history
B.
Account_usage. query_history
Answers
C.
Information_schema.warehouse_load_history
C.
Information_schema.warehouse_load_history
Answers
D.
Information schema.warehouse metering history
D.
Information schema.warehouse metering history
Answers
Suggested answer: C

Explanation:

The Snowflake object that helps evaluate virtual warehouse performance impacted by query queuing is the Information_schema.warehouse_load_history.This view provides historical data about the load on a warehouse, including the average number of queries that were running or queued within a specific interval, which can be used to assess performance and identify potential issues with query queuing3.

Total 627 questions
Go to page: of 63