Key details for this exam, checked against the published exam outline
Each question shows the correct answer and an explanation of why it is right
Which function determines the kind of value stored in a VARIANT column?
The function used to determine the kind of value stored in a VARIANT column in Snowflake is TYPEOF.
Understanding VARIANT Data Type:
VARIANT is a flexible data type in Snowflake that can store semi-structured data, such as JSON, Avro, and XML.
This data type can hold values of different types, including strings, numbers, objects, arrays, and more.
Using TYPEOF Function:
The TYPEOF function returns the data type of the value stored in a VARIANT column.
It helps in identifying the type of data, which is crucial for processing and transforming semi-structured data accurately.
Example Usage:
SELECT TYPEOF(variant_column)
FROM my_table;
This query retrieves the type of data stored in variant_column for each row in my_table.
Possible return values include 'OBJECT', 'ARRAY', 'STRING', 'NUMBER', etc.
Benefits:
Simplifies data processing: Knowing the data type helps in applying appropriate transformations and validations.
Enhances query accuracy: Ensures that operations on VARIANT columns are performed correctly based on the data type.
References:
Snowflake Documentation: TYPEOF
Snowflake Documentation: VARIANT Data Type
How does a Snowflake user extract the URL of a directory table on an external stage for further transformation?
To extract the URL of a directory table on an external stage for further transformation in Snowflake, the GET_ABSOLUTE_PATH function can be used. This function returns the full path of a file or directory within a specified stage, enabling users to dynamically construct URLs for accessing or processing data stored in external stages.
References:
Snowflake Documentation: Working with Stages
How would you determine the size of the virtual warehouse used for a task?
The size of the virtual warehouse for a task can be configured to handle concurrency automatically using a Multi-cluster warehouse (MCW). This is because tasks are designed to run their body on a schedule, and MCW allows for scaling compute resources to match the task's execution needs without manual intervention.References: [COF-C02] SnowPro Core Certification Exam Study Guide
What does Snowflake recommend when planning virtual warehouse usage for a data load?
How can performance be optimized for a query that returns a small amount of data from a very large base table?
What COPY INTO SQL command should be used to unload data into multiple files?
Given the statement template below, which database objects can be added to a share?(Select TWO).
GRANT
In Snowflake, shares are used to share data across different Snowflake accounts securely. When you create a share, you can include various database objects that you want to share with consumers. According to Snowflake's documentation, the types of objects that can be shared include tables, secure views, secure materialized views, and streams. Secure functions and stored procedures are not shareable objects. Tasks also cannot be shared directly. Therefore, the correct answers are streams (C) and tables (D).
To share a stream or a table, you use the GRANT statement to grant privileges on these objects to a share. The syntax for sharing a table or stream involves specifying the type of object, the object name, and the share to which you are granting access. For example:
GRANT SELECT ON TABLE my_table TO SHARE my_share; GRANT SELECT ON STREAM my_stream TO SHARE my_share;
These commands grant the SELECT privilege on a table named my_table and a stream named my_stream to a share named my_share. This enables the consumer of the share to access these objects according to the granted privileges.
Exam domains verified against: Official Snowflake COF-C02 exam guide, last checked October 2026.
Covers Snowflake's elastic storage, elastic compute, and three-layer architecture. Includes data sharing through the Data Cloud and Partner Network. Also covers key tools like Snowsight, SQL scripting, and Snowpark for building solutions on the platform.
Focuses on authentication methods including MFA, federated authentication, and SSO. Covers role-based access control, privilege management, and data governance through secure views and information schemas. Access history and monitoring are key components.
Examines query analysis through the Query Profile and execution plans. Covers virtual warehouse configuration, sizing, and multi-cluster scaling. Includes performance monitoring and optimization techniques like materialized views and micro-partition pruning.
Addresses data ingestion concepts including stages, file formats, and bulk loading methods. Covers commands like COPY INTO, PIPE, and PUT. Includes unloading best practices for different file formats and handling of NULL values and empty strings.
Sample question from this domain above: Q6
Covers working with structured data through functions and sampling. Addresses semi-structured data handling using VARIANT columns and nested structure flattening. Includes unstructured data processing with directory tables and SQL file functions.
Focuses on continuous data protection through Time Travel, Fail-safe, encryption, and cloning. Covers data sharing capabilities including account types, the Data Marketplace, and private data exchanges. Access control options for shared data are emphasized.
Sample question from this domain above: Q7
Common questions about the exam itself