ExamGecko
Home Home / Snowflake / COF-C02

Snowflake COF-C02 Practice Test - Questions Answers, Page 40

Question list
Search
Search

Which commands are restricted in owner's rights stored procedures? (Select TWO).

A.
SHOW
A.
SHOW
Answers
B.
MERGE
B.
MERGE
Answers
C.
INSERT
C.
INSERT
Answers
D.
DELETE
D.
DELETE
Answers
E.
DESCRIBE
E.
DESCRIBE
Answers
Suggested answer: A, E

Explanation:

In owner's rights stored procedures, certain commands are restricted to maintain security and integrity. The SHOW and DESCRIBE commands are limited because they can reveal metadata and structure information that may not be intended for all roles.

Which Snowflake feature allows administrators to identify unused data that may be archived or deleted?

A.
Access history
A.
Access history
Answers
B.
Data classification
B.
Data classification
Answers
C.
Dynamic Data Masking
C.
Dynamic Data Masking
Answers
D.
Object tagging
D.
Object tagging
Answers
Suggested answer: A

Explanation:

The Access History feature in Snowflake allows administrators to track data access patterns and identify unused data. This information can be used to make decisions about archiving or deleting data to optimize storage and reduce costs.

Which privilege must be granted by one role to another role, and cannot be revoked?

A.
MONITOR
A.
MONITOR
Answers
B.
OPERATE
B.
OPERATE
Answers
C.
OWNERSHIP
C.
OWNERSHIP
Answers
D.
ALL
D.
ALL
Answers
Suggested answer: C

Explanation:

The OWNERSHIP privilege is unique in that it must be granted by one role to another and cannot be revoked. This ensures that the transfer of ownership is deliberate and permanent, reflecting the importance of ownership in managing access and permissions.

How can performance be optimized for a query that returns a small amount of data from a very large base table?

A.
Use clustering keys
A.
Use clustering keys
Answers
B.
Create materialized views
B.
Create materialized views
Answers
C.
Use the search optimization service
C.
Use the search optimization service
Answers
D.
Use the query acceleration service
D.
Use the query acceleration service
Answers
Suggested answer: C

Explanation:

The search optimization service in Snowflake is designed to improve the performance of selective point lookup queries on large tables, which is ideal for scenarios where a query returns a small amount of data from a very large base table1. References: [COF-C02] SnowPro Core Certification Exam Study Guide

What does the LATERAL modifier for the FLATTEN function do?

A.
Casts the values of the flattened data
A.
Casts the values of the flattened data
Answers
B.
Extracts the path of the flattened data
B.
Extracts the path of the flattened data
Answers
C.
Joins information outside the object with the flattened data
C.
Joins information outside the object with the flattened data
Answers
D.
Retrieves a single instance of a repeating element in the flattened data
D.
Retrieves a single instance of a repeating element in the flattened data
Answers
Suggested answer: C

Explanation:

The LATERAL modifier for the FLATTEN function allows joining information outside the object (such as other columns in the source table) with the flattened data, creating a lateral view that correlates with the preceding tables in the FROM clause2345. References: [COF-C02] SnowPro Core Certification Exam Study Guide

Which Snowflake feature allows a user to track sensitive data for compliance, discovery, protection, and resource usage?

A.
Tags
A.
Tags
Answers
B.
Comments
B.
Comments
Answers
C.
Internal tokenization
C.
Internal tokenization
Answers
D.
Row access policies
D.
Row access policies
Answers
Suggested answer: A

Explanation:

Tags in Snowflake allow users to track sensitive data for compliance, discovery, protection, and resource usage.They enable the categorization and tracking of data, supporting compliance with privacy regulations678. References: [COF-C02] SnowPro Core Certification Exam Study Guide

What are key characteristics of virtual warehouses in Snowflake? (Select TWO).

A.
Warehouses that are multi-cluster can have nodes of different sizes.
A.
Warehouses that are multi-cluster can have nodes of different sizes.
Answers
B.
Warehouses can be started and stopped at any time.
B.
Warehouses can be started and stopped at any time.
Answers
C.
Warehouses can be resized at any time, even while running.
C.
Warehouses can be resized at any time, even while running.
Answers
D.
Warehouses are billed on a per-minute usage basis.
D.
Warehouses are billed on a per-minute usage basis.
Answers
E.
Warehouses can only be used for querying and cannot be used for data loading.
E.
Warehouses can only be used for querying and cannot be used for data loading.
Answers
Suggested answer: B, C

Explanation:

Virtual warehouses in Snowflake can be started and stopped at any time, providing flexibility in managing compute resources.They can also be resized at any time, even while running, to accommodate varying workloads910. References: [COF-C02] SnowPro Core Certification Exam Study Guide

Which parameter can be set at the account level to set the minimum number of days for which Snowflake retains historical data in Time Travel?

A.
DATA_RETENTION_TIME_IN_DAYS
A.
DATA_RETENTION_TIME_IN_DAYS
Answers
B.
MAX_DATA_EXTENSION_TIME_IN_DAYS
B.
MAX_DATA_EXTENSION_TIME_IN_DAYS
Answers
C.
MIN_DATA_RETENTION_TIME_IN_DAYS
C.
MIN_DATA_RETENTION_TIME_IN_DAYS
Answers
D.
MAX CONCURRENCY LEVEL
D.
MAX CONCURRENCY LEVEL
Answers
Suggested answer: A

Explanation:

The parameterDATA_RETENTION_TIME_IN_DAYScan be set at the account level to define the minimum number of days Snowflake retains historical data for Time Travel1.

A tag object has been assigned to a table (TABLE_A) in a schema within a Snowflake database.

Which CREATE object statement will automatically assign the TABLE_A tag to a target object?

A.
CREATE TABLE <table_name> LIKE TABLE_A;
A.
CREATE TABLE <table_name> LIKE TABLE_A;
Answers
B.
CREATE VIEW <view_name> AS SELECT * FROM TABLE_A;
B.
CREATE VIEW <view_name> AS SELECT * FROM TABLE_A;
Answers
C.
CREATE TABLE <table_name> AS SELECT * FROM TABLE_A;
C.
CREATE TABLE <table_name> AS SELECT * FROM TABLE_A;
Answers
D.
CREATE MATERIALIZED VIEW <view name> AS SELECT * FROM TABLE A;
D.
CREATE MATERIALIZED VIEW <view name> AS SELECT * FROM TABLE A;
Answers
Suggested answer: C

Explanation:

When a tag object is assigned to a table, using the statementCREATE TABLE <table_name> AS SELECT * FROM TABLE_Awill automatically assign the TABLE_A tag to the newly created table2.

What objects in Snowflake are supported by Dynamic Data Masking? (Select TWO).'

A.
Views
A.
Views
Answers
B.
Materialized views
B.
Materialized views
Answers
C.
Tables
C.
Tables
Answers
D.
External tables
D.
External tables
Answers
E.
Future grants
E.
Future grants
Answers
Suggested answer: A, C

Explanation:

Dynamic Data Masking in Snowflake supportstables and views.These objects can have masking policies applied to their columns to dynamically mask data at query time3.

Total 716 questions
Go to page: of 72