Snowflake SnowPro Core Certification COF-C02 Exam Questions

Page: 1 / 14
Total 778 questions
Question 1

Which categories are included in the execution time summary in a Query Profile? (Select TWO).



Answer : A, C

In the execution time summary of a Query Profile in Snowflake, the categories included provide insights into various aspects of query execution. 'Pruning' refers to the process by which Snowflake reduces the amount of data scanned by eliminating partitions of data that are not relevant to the query, thus improving performance. 'Initialization' represents the time taken for query planning and setup before actual execution begins. These metrics are crucial for understanding and optimizing query performance.


Question 2

Which Snowflake feature enables loading data from cloud storage as soon as files ate available in a stage?



Answer : C


Question 3

What can be used to view warehouse usage over time? (Select Two).



Answer : B, D

To view warehouse usage over time, the Query history view and the WAREHOUSE_METERING__HISTORY View can be utilized.The Query history view allows users to monitor the performance of their queries and the load on their warehouses over a specified period1.The WAREHOUSE_METERING__HISTORY View provides detailed information about the workload on a warehouse within a specified date range, including average running and queued loads2.References:[COF-C02] SnowPro Core Certification Exam Study Guide


Question 4

A user is preparing to load data from an external stage

Which practice will provide the MOST efficient loading performance?



Answer : A

Organizing files into logical paths can significantly improve the efficiency of data loading from an external stage.This practice helps in managing and locating files easily, which can be particularly beneficial when dealing with large datasets or complex directory structures1.


Question 5

Which transformation is supported by a COPY INTO

command?



Answer : C

The COPY INTO <table> command in Snowflake supports transformations such as casting using a SELECT statement.This allows for the transformation of data types as the data is being loaded into the table, which can be particularly useful when the data types in the source files do not match the data types in the target table


Question 6

Which Snowflake object can be accessed in he FROM clause of a query, returning a set of rows having one or more columns?



Answer : A

In Snowflake, a User-Defined Table Function (UDTF) can be accessed in theFROMclause of a query.UDTFs return a set of rows with one or more columns, which can be queried like a regular table


Question 7

How can a Snowflake user post-process the result of SHOW FILE FORMATS?



Answer : A

first run SHOW FILE FORMATS

then SELECT * FROM TABLE(RESULT_SCAN(LAST_QUERY_ID(-1)))

https://docs.snowflake.com/en/sql-reference/functions/result_scan#usage-notes


Page:    1 / 14   
Total 778 questions