Snowflake COF-C02 Practice Test - Questions Answers, Page 19
List of questions
Related questions
Question 181

A single user of a virtual warehouse has set the warehouse to auto-resume and auto-suspend after 10 minutes. The warehouse is currently suspended and the user performs the following actions:
1. Runs a query that takes 3 minutes to complete
2. Leaves for 15 minutes
3. Returns and runs a query that takes 10 seconds to complete
4. Manually suspends the warehouse as soon as the last query was completed
When the user returns, how much billable compute time will have been consumed?
Explanation:
The billable compute time includes the time the warehouse is running queries plus the auto-suspend time after the last query if the warehouse is not manually suspended. In this scenario, the warehouse runs for 3 minutes, suspends after 10 minutes of inactivity, resumes for a 10-second query, and then is manually suspended. The total billable time is the sum of the initial 3 minutes, the 10 minutes of auto-suspend time, and the brief period for the 10-second query, which is rounded up to the next full minute due to Snowflake's billing practices.References:[COF-C02] SnowPro Core Certification Exam Study Guide
Question 182

What actions will prevent leveraging of the ResultSet cache? (Choose two.)
Explanation:
The ResultSet cache is leveraged to quickly return results for repeated queries. Actions that prevent leveraging this cache include stopping the virtual warehouse that the query is running against (B) and executing the RESULTS_SCAN() table function (D).Stopping the warehouse clears the local disk cache, including the ResultSet cache1. The RESULTS_SCAN() function is used to retrieve the result of a previously executed query, which bypasses the need for the ResultSet cache.
Question 183

Which statement is true about running tasks in Snowflake?
Explanation:
In Snowflake, a task allows a user to execute a single SQL statement/command using a predefined schedule (B). Tasks are used to automate the execution of SQL statements at scheduled intervals.
Question 184

In an auto-scaling multi-cluster virtual warehouse with the setting SCALING_POLICY = ECONOMY enabled, when is another cluster started?
Explanation:
In an auto-scaling multi-cluster virtual warehouse with the SCALING_POLICY set to ECONOMY, another cluster is started when the system has enough load for 2 minutes (A).This policy is designed to optimize the balance between performance and cost, starting additional clusters only when the sustained load justifies it2.
Question 185

What is the following SQL command used for?
Select * from table(validate(t1, job_id => '_last'));
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.
Question 186

Which file formats are supported for unloading data from Snowflake? (Choose two.)
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
Question 187

The Snowflake Search Optimization Services supports improved performance of which kind of query?
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.
Question 188

What are common issues found by using the Query Profile? (Choose two.)
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.
Question 189

What happens to historical data when the retention period for an object ends?
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.
Question 190

By default, which Snowflake role is required to create a share?
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
Question