ExamGecko
Home / Snowflake / SnowPro Core
Ask Question

Snowflake SnowPro Core Practice Test - Questions Answers, Page 20

Question list
Search

Question 191

Report
Export
Collapse

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

SHOW GRANTS OF ROLE MY_ROLE
SHOW GRANTS OF ROLE MY_ROLE
SHOW GRANTS TO ROLE MY_ROLE
SHOW GRANTS TO ROLE MY_ROLE
SHOW GRANTS FOR ROLE MY_ROLE
SHOW GRANTS FOR ROLE MY_ROLE
SHOW GRANTS ON ROLE MY_ROLE
SHOW GRANTS ON ROLE MY_ROLE
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

asked 23/09/2024
Asif Khan
42 questions

Question 192

Report
Export
Collapse

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

Business Critical Edition
Business Critical Edition
Standard Edition
Standard Edition
Virtual Private Snowflake (VPS)
Virtual Private Snowflake (VPS)
Enterprise Edition
Enterprise Edition
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

asked 23/09/2024
EDUARDO VIDAL
41 questions

Question 193

Report
Export
Collapse

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?

Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
The transient table version cannot be retrieved after 24 hours.
The transient table version cannot be retrieved after 24 hours.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
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

asked 23/09/2024
Paul Bryant
30 questions

Question 194

Report
Export
Collapse

What is the following SQL command used for?

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

To validate external table files in table t1 across all sessions
To validate external table files in table t1 across all sessions
To validate task SQL statements against table t1 in the last 14 days
To validate task SQL statements against table t1 in the last 14 days
To validate a file for errors before it gets executed using a COPY command
To validate a file for errors before it gets executed using a COPY command
To return errors from the last executed COPY command into table t1 in the current session
To return errors from the last executed COPY command into table t1 in the current session
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.

asked 23/09/2024
IGNACIO CHICO TORRES
37 questions

Question 195

Report
Export
Collapse

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

Avro
Avro
JSON
JSON
ORC
ORC
XML
XML
Delimited (CSV, TSV, etc.)
Delimited (CSV, TSV, etc.)
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

asked 23/09/2024
Juliet Kihonge
43 questions

Question 196

Report
Export
Collapse

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

Queries against large tables where frequent DML occurs
Queries against large tables where frequent DML occurs
Queries against tables larger than 1 TB
Queries against tables larger than 1 TB
Selective point lookup queries
Selective point lookup queries
Queries against a subset of columns in a table
Queries against a subset of columns in a table
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.

asked 23/09/2024
Grant Taylor
58 questions

Question 197

Report
Export
Collapse

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

Identifying queries that will likely run very slowly before executing them
Identifying queries that will likely run very slowly before executing them
Locating queries that consume a high amount of credits
Locating queries that consume a high amount of credits
Identifying logical issues with the queries
Identifying logical issues with the queries
Identifying inefficient micro-partition pruning
Identifying inefficient micro-partition pruning
Data spilling to a local or remote disk
Data spilling to a local or remote disk
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.

asked 23/09/2024
Mauricio de Souza Penhalver Hollanda
48 questions

Question 198

Report
Export
Collapse

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

The data is cloned into a historical object.
The data is cloned into a historical object.
The data moves to Fail-safe
The data moves to Fail-safe
Time Travel on the historical data is dropped.
Time Travel on the historical data is dropped.
The object containing the historical data is dropped.
The object containing the historical data is dropped.
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.

asked 23/09/2024
Guillaume Deterville
46 questions

Question 199

Report
Export
Collapse

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

ORGADMIN
ORGADMIN
SECURITYADMIN
SECURITYADMIN
SHAREADMIN
SHAREADMIN
ACCOUNTADMIN
ACCOUNTADMIN
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

asked 23/09/2024
MARTIN WEAVER
35 questions

Question 200

Report
Export
Collapse

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

SYSADMIN
SYSADMIN
ORGADMIN
ORGADMIN
ACCOUNTADMIN
ACCOUNTADMIN
SECURITYADMIN
SECURITYADMIN
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

asked 23/09/2024
Sanjay R Khiani
42 questions
Total 627 questions
Go to page: of 63