COF-C02 Dumps

COF-C02 Free Practice Test

Snowflake COF-C02: SnowPro Core Certification Exam (COF-C02)

QUESTION 161

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

Correct Answer: DE
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.

QUESTION 162

- (Topic 2)
Which of the following describes a Snowflake stored procedure?

Correct Answer: D
Snowflake stored procedures can be created to execute with the privileges of the role that owns the procedure (owner??s rights) or with the privileges of the role that calls the procedure (caller??s rights). This allows for flexibility in managing security and access control within Snowflake1.

QUESTION 163

- (Topic 3)
What MINIMUM privilege is required on the external stage for any role in the GET REST API to access unstructured data files using a file URL?

Correct Answer: A
The minimum privilege required on an external stage for any role to access unstructured data files using a file URL in the GET REST API is READ. This allows the role to retrieve or download data files from the stage.

QUESTION 164

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

Correct Answer: BC
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.

QUESTION 165

- (Topic 3)
Which kind of Snowflake table stores file-level metadata for each file in a stage?

Correct Answer: A
The kind of Snowflake table that stores file-level metadata for each file in a stage is a directory table. A directory table is an implicit object layered on a stage and stores file-level metadata about the data files in the stage3.