Snowflake SnowPro Core Certification COF-C02 Exam Practice Test

Page: 1 / 14
Total 778 questions
Question 1

Which of the following Snowflake objects can be shared using a secure share? (Select TWO).



Answer : D, E

Secure sharing in Snowflake allows users to share specific objects with other Snowflake accounts without physically copying the data, thus not consuming additional storage. Tables and Secure User Defined Functions (UDFs) are among the objects that can be shared using this feature. Materialized views, sequences, and procedures are not shareable objects in Snowflake.

References:

[COF-C02] SnowPro Core Certification Exam Study Guide

Snowflake Documentation on Secure Data Sharing1


Question 2

A JSON object is loaded into a column named data using a Snowflake variant datatype. The root node of the object is BIKE. The child attribute for this root node is BIKEID.

Which statement will allow the user to access BIKEID?



Answer : C

In Snowflake, when accessing elements within a JSON object stored in a variant column, the correct syntax involves using a colon (:) to navigate the JSON structure. The BIKEID attribute, which is a child of the BIKE root node in the JSON object, is accessed using data:BIKE.BIKEID. This syntax correctly references the path through the JSON object, utilizing the colon for JSON field access and dot notation to traverse the hierarchy within the variant structure. References: Snowflake documentation on accessing semi-structured data, which outlines how to use the colon and dot notations for navigating JSON structures stored in variant columns.


Question 3

What is one of the characteristics of data shares?



Answer : C

Data sharing in Snowflake allows for live, read-only access to data across different Snowflake accounts without the need to copy or transfer the data. One of the characteristics of data shares is the ability to use secure views. Secure views are used within data shares to restrict the access of shared data, ensuring that consumers can only see the data that the provider intends to share, thereby preserving privacy and security.

References:

Snowflake Documentation: Understanding Secure Views in Data Sharing


Question 4

What are type predicates used for?



Answer : C

Type predicates in Snowflake are used to determine if a value in a VARIANT column is of a particular data type. This is useful when working with semi-structured data stored in VARIANT columns, as it allows for data type validation and conditional processing based on the data type.

References:

Snowflake Documentation: Type Predicates


Question 5

True or False: It is possible for a user to run a query against the query result cache without requiring an active Warehouse.



Answer : A

Snowflake's architecture allows for the use of aquery result cachethat stores the results of queries for a period of time. If the same query is run again and the underlying data has not changed, Snowflake can retrieve the result from this cache without needing to re-run the query on an active warehouse, thus saving on compute resources.


Question 6

A user is preparing to load data from an external stage

Which practice will provide the MOST efficient loading performance?



Question 7

Snowflake's hierarchical key mode includes which keys? (Select TWO).



Page:    1 / 14   
Total 778 questions