ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 20

Question list
Search
Search

Which Snowflake SQL statement would be used to determine which users and roles have access to a role called MY_ROLE?

A.
SHOW GRANTS OF ROLE MY_ROLE
A.
SHOW GRANTS OF ROLE MY_ROLE
Answers
B.
SHOW GRANTS TO ROLE MY_ROLE
B.
SHOW GRANTS TO ROLE MY_ROLE
Answers
C.
SHOW GRANTS FOR ROLE MY_ROLE
C.
SHOW GRANTS FOR ROLE MY_ROLE
Answers
D.
SHOW GRANTS ON ROLE MY_ROLE
D.
SHOW GRANTS ON ROLE MY_ROLE
Answers
Suggested answer: B

Explanation:

The SQL statementSHOW GRANTS TO ROLE MY_ROLEis used to determine which users and roles have access to a role called MY_ROLE. This statement lists all the privileges granted to the role, including which roles and users can assume MY_ROLE.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

What is the MINIMUM edition of Snowflake that is required to use a SCIM security integration?

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

Explanation:

The minimum edition of Snowflake required to use a SCIM security integration is the Enterprise Edition. SCIM integrations are used for automated management of user identities and groups, and this feature is available starting from the Enterprise Edition of Snowflake.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

A user created a transient table and made several changes to it over the course of several days. Three days after the table was created, the user would like to go back to the first version of the table.

How can this be accomplished?

A.
Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
A.
Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
Answers
B.
The transient table version cannot be retrieved after 24 hours.
B.
The transient table version cannot be retrieved after 24 hours.
Answers
C.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
C.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
Answers
D.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
D.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
Answers
Suggested answer: A

Explanation:

To go back to the first version of a transient table created three days prior, one can use Time Travel if theDATA_RETENTION_TIME_IN_DAYSwas set to at least 3 days. This allows the user to access historical data within the specified retention period.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

What is the following SQL command used for?

Select * from table(validate(t1, job_id => '_last'));

A.
To validate external table files in table t1 across all sessions
A.
To validate external table files in table t1 across all sessions
Answers
B.
To validate task SQL statements against table t1 in the last 14 days
B.
To validate task SQL statements against table t1 in the last 14 days
Answers
C.
To validate a file for errors before it gets executed using a COPY command
C.
To validate a file for errors before it gets executed using a COPY command
Answers
D.
To return errors from the last executed COPY command into table t1 in the current session
D.
To return errors from the last executed COPY command into table t1 in the current session
Answers
Suggested answer: D

Explanation:

The SQL commandSelect * from table(validate(t1, job_id => '_last'));is used to return errors from the last executed COPY command into table t1 in the current session.It checks the results of the most recent data load operation and provides details on any errors that occurred during that process1.

Which file formats are supported for unloading data from Snowflake? (Choose two.)

A.
Avro
A.
Avro
Answers
B.
JSON
B.
JSON
Answers
C.
ORC
C.
ORC
Answers
D.
XML
D.
XML
Answers
E.
Delimited (CSV, TSV, etc.)
E.
Delimited (CSV, TSV, etc.)
Answers
Suggested answer: B, E

Explanation:

Snowflake supports unloading data in JSON and delimited file formats such as CSV and TSV.These formats are commonly used for data interchange and are supported by Snowflake for unloading operations

The Snowflake Search Optimization Services supports improved performance of which kind of query?

A.
Queries against large tables where frequent DML occurs
A.
Queries against large tables where frequent DML occurs
Answers
B.
Queries against tables larger than 1 TB
B.
Queries against tables larger than 1 TB
Answers
C.
Selective point lookup queries
C.
Selective point lookup queries
Answers
D.
Queries against a subset of columns in a table
D.
Queries against a subset of columns in a table
Answers
Suggested answer: C

Explanation:

The Snowflake Search Optimization Service is designed to support improved performance for selective point lookup queries.These are queries that retrieve specific records from a database, often based on a unique identifier or a small set of criteria3.

What are common issues found by using the Query Profile? (Choose two.)

A.
Identifying queries that will likely run very slowly before executing them
A.
Identifying queries that will likely run very slowly before executing them
Answers
B.
Locating queries that consume a high amount of credits
B.
Locating queries that consume a high amount of credits
Answers
C.
Identifying logical issues with the queries
C.
Identifying logical issues with the queries
Answers
D.
Identifying inefficient micro-partition pruning
D.
Identifying inefficient micro-partition pruning
Answers
E.
Data spilling to a local or remote disk
E.
Data spilling to a local or remote disk
Answers
Suggested answer: D, E

Explanation:

The Query Profile in Snowflake is used to identify performance issues with queries. Common issues that can be found using the Query Profile include identifying inefficient micro-partition pruning (D) and data spilling to a local or remote disk (E).Micro-partition pruning is related to the efficiency of query execution, and data spilling occurs when the memory is insufficient, causing the query to write data to disk, which can slow down the query performance1.

What happens to historical data when the retention period for an object ends?

A.
The data is cloned into a historical object.
A.
The data is cloned into a historical object.
Answers
B.
The data moves to Fail-safe
B.
The data moves to Fail-safe
Answers
C.
Time Travel on the historical data is dropped.
C.
Time Travel on the historical data is dropped.
Answers
D.
The object containing the historical data is dropped.
D.
The object containing the historical data is dropped.
Answers
Suggested answer: C

Explanation:

When the retention period for an object ends in Snowflake, Time Travel on the historical data is dropped .This means that the ability to access historical data via Time Travel is no longer available once the retention period has expired2.

By default, which Snowflake role is required to create a share?

A.
ORGADMIN
A.
ORGADMIN
Answers
B.
SECURITYADMIN
B.
SECURITYADMIN
Answers
C.
SHAREADMIN
C.
SHAREADMIN
Answers
D.
ACCOUNTADMIN
D.
ACCOUNTADMIN
Answers
Suggested answer: D

Explanation:

By default, the Snowflake role required to create a share is ACCOUNTADMIN (D).This role has the necessary privileges to perform administrative tasks, including creating shares for data sharing purposes

In a Snowflake role hierarchy, what is the top-level role?

A.
SYSADMIN
A.
SYSADMIN
Answers
B.
ORGADMIN
B.
ORGADMIN
Answers
C.
ACCOUNTADMIN
C.
ACCOUNTADMIN
Answers
D.
SECURITYADMIN
D.
SECURITYADMIN
Answers
Suggested answer: C

Explanation:

In a Snowflake role hierarchy, the top-level role is ACCOUNTADMIN.This role has the highest level of privileges and is capable of performing all administrative functions within the Snowflake account

Total 627 questions
Go to page: of 63