0% found this document useful (0 votes)
106 views12 pages

COF-C02 SnowPro Core Certification Practice Questions

This document provides a comprehensive set of practice questions for the COF-C02 exam, designed to reflect the actual exam's structure and topics. It includes topic-focused questions, accurate answer keys, and is intended for personal study only. Users can access the complete question bank and additional resources through the provided website and social media links.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views12 pages

COF-C02 SnowPro Core Certification Practice Questions

This document provides a comprehensive set of practice questions for the COF-C02 exam, designed to reflect the actual exam's structure and topics. It includes topic-focused questions, accurate answer keys, and is intended for personal study only. Users can access the complete question bank and additional resources through the provided website and social media links.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

This PDF contains a set of carefully selected practice questions for the

COF-C02 exam. These questions are designed to reflect the structure,


difficulty, and topics covered in the actual exam, helping you reinforce
your understanding and identify areas for improvement.

What's Inside:

1. Topic-focused questions based on the latest exam objectives


2. Accurate answer keys to support self-review
3. Designed to simulate the real test environment
4. Ideal for final review or daily practice

Important Note:

This material is for personal study purposes only. Please do not


redistribute or use for commercial purposes without permission.

For full access to the complete question bank and topic-wise explanations, visit:
CertQuestionsBank.com

Our YouTube: https://www.youtube.com/@CertQuestionsBank

FB page: https://www.facebook.com/certquestionsbank
Share some COF-C02 exam online questions below.
1.Which of the following can be used when unloading data from Snowflake? (Choose two.)
A. When unloading semi-structured data, it is recommended that the STRIP_OUTER_ARRAY option
be used.
B. Use the ENCODING file format option to change the encoding from the default UTF-8.
C. The OBJECT_CONSTRUCT function can be used to convert relational data to semi-structured
data.
D. By using the SINGLE = TRUE parameter, a single file up to 5 GB in size can be exported to the
storage layer.
E. Use the PARSE_JSON function to ensure structured data will be unloaded into the VARIANT data
type.
Answer: A, D

2.A user created a new worksheet within the Snowsight Ul and wants to share this with teammates
How can this worksheet be shared?
A. Create a zero-copy clone of the worksheet and grant permissions to teammates
B. Create a private Data Exchange so that any teammate can use the worksheet
C. Share the worksheet with teammates within Snowsight
D. Create a database and grant all permissions to teammates
Answer: C

3.Which statement is true about running tasks in Snowflake?


A. A task can be called using a CALL statement to run a set of predefined SQL commands.
B. A task allows a user to execute a single SQL statement/command using a predefined schedule.
C. A task allows a user to execute a set of SQL commands on a predefined schedule.
D. A task can be executed using a SELECT statement to run a predefined SQL command.
Answer: C

4.Which formats does Snowflake store unstructured data in? (Choose two.)
A. GeoJSON
B. Array
C. XML
D. Object
E. BLOB
Answer: D, E

5.Credit charges for Snowflake virtual warehouses are calculated based on which of the following
considerations? (Choose two.)
A. The number of queries executed
B. The number of active users assigned to the warehouse
C. The size of the virtual warehouse
D. The length of time the warehouse is running
E. The duration of the queries that are executed
Answer: A, D
6.What actions will prevent leveraging of the ResultSet cache? (Choose two.)
A. Removing a column from the query SELECT list
B. Stopping the virtual warehouse that the query is running against
C. Clustering of the data used by the query
D. Executing the RESULTS_SCAN() table function
E. Changing a column that is not in the cached query
Answer: A, D

7.Which data type can be used to store geospatial data in Snowflake?


A. Variant
B. Object
C. Geometry
D. Geography
Answer: D
Explanation:
https://docs.snowflake.com/en/sql-reference/data-types-geospatial.html#:~:text=have
SRID%3D4326.-,Geospatial Object Types,Point

8.What is the maximum Time Travel retention period for a temporary Snowflake table?
A. 90 days
B. 1 day
C. 7 days
D. 45 days
Answer: B

9.Which of the following are characteristics of Snowflake virtual warehouses? (Choose two.)
A. Auto-resume applies only to the last warehouse that was started in a multi-cluster warehouse.
B. The ability to auto-suspend a warehouse is only available in the Enterprise edition or above.
C. SnowSQL supports both a configuration file and a command line option for specifying a default
warehouse.
D. A user cannot specify a default warehouse when using the ODBC driver.
E. The default virtual warehouse size can be changed at any time.
Answer: A

10.In which use cases does Snowflake apply egress charges?


A. Data sharing within a specific region
B. Query result retrieval
C. Database replication
D. Loading data into Snowflake
Answer: A
Explanation:
Cloud providers apply data egress charges in either of the following use cases:
Data is transferred from one region to another within the same cloud platform.
Data is transferred out of the cloud platform.
https://docs.snowflake.com/en/user-guide/billing-data-transfer.html#:~:text=Cloud providers apply
data egress,out of the cloud%2 0platform.
11.Which command is used to unload data from a Snowflake table into a file in a stage?
A. COPY INTO
B. GET
C. WRITE
D. EXTRACT INTO
Answer: A
Explanation:
https://docs.snowflake.com/en/user-guide/data-unload-snowflake.html#:~:text=Your User Stage-,Use
the COPY INTO command to unload all the,more files in your stage.

12.How would a user execute a series of SQL statements using a task?


A. Include the SQL statements in the body of the task CREATE TASK mytask .. AS INSERT INTO
target1 SELECT .. FROM stream_s1 WHERE .. INSERT INTO target2 SELECT .. FROM stream_s1
WHERE ..
B. A stored procedure can have only one DML statement per stored procedure invocation and
therefore the user should sequence stored procedure calls in the task definition CREATE TASK
mytask .... AS
call stored_proc1(); call stored_proc2();
C. Use a stored procedure executing multiple SQL statements and invoke the stored procedure from
the task. CREATE TASK mytask .... AS call stored_proc_multiple_statements_inside();
D. Create a task for each SQL statement (e.g. resulting in task1, task2, etc.) and string the series of
SQL statements by having a control task calling task1, task2, etc. sequentially.
Answer: D

13.Which command can be used to stage local files from which Snowflake interface?
A. SnowSQL
B. Snowflake classic web interface (Ul)
C. Snowsight
D. .NET driver
Answer: A
Explanation:
https://docs.snowflake.com/en/user-guide/snowsql-use.html

14.What versions of Snowflake should be used to manage compliance with Personal Identifiable
Information (PII) requirements? (Choose two.)
A. Custom Edition
B. Virtual Private Snowflake
C. Business Critical Edition
D. Standard Edition
E. Enterprise Edition
Answer: B, C

15.User-level network policies can be created by which of the following roles? (Select TWO).
A. ROLEADMIN
B. ACCOUNTADMIN
C. SYSADMIN
D. SECURITYADMIN
E. USERADMIN
Answer: D, E
Explanation:
By default, Snowflake allows users to connect to the service from any computer or device IP address.
A security administrator (or higher) can create a network policy to allow or deny access to a single IP
address or a list of addresses. Network policies currently support only Internet Protocol version 4 (i.e.
IPv4) addresses.
An administrator with sufficient permissions can create any number of network policies.
https://docs.snowflake.com/en/user-guide/network-policies.html#:~:text=A security administrator (or
higher,any number of ne twork policies.

16.If a Snowflake user decides a table should be clustered, what should be used as the cluster key?
A. The columns that are queried in the select clause.
B. The columns with very high cardinality.
C. The columns with many different values.
D. The columns most actively used in the select filters.
Answer: D

17.What happens to historical data when the retention period for an object ends?
A. The data is cloned into a historical object.
B. The data moves to Fail-safe
C. Time Travel on the historical data is dropped.
D. The object containing the historical data is dropped.
Answer: D

18.Which cache type is used to cache data output from SQL queries?
A. Metadata cache
B. Result cache
C. Remote cache
D. Local file cache
Answer: B
Explanation:
https://community.snowflake.com/s/article/Caching-in-Snowflake-Data-Warehouse

19.What occurs when a pipe is recreated using the CREATE OR REPLACE PIPE command?
A. The Pipe load history is reset to empty.
B. The REFRESH command is executed.
C. The stage will be purged.
D. The destination table is truncated.
Answer: B

20.What is a characteristic of the Snowflake Query Profile?


A. It can provide statistics on a maximum number of 100 queries per week.
B. It provides a graphic representation of the main components of the query processing.
C. It provides detailed statistics about which queries are using the greatest number of compute
resources.
D. It can be used by third-party software using the Query Profile API.
Answer: B
21.How can a Snowflake user optimize query performance in Snowflake? (Select TWO).
A. Create a view.
B. Cluster a table.
C. Enable the search optimization service.
D. Enable Time Travel.
E. Index a table.
Answer: B, C

22.What happens to the shared objects for users in a consumer account from a share, once a
database has been created in that account?
A. The shared objects are transferred.
B. The shared objects are copied.
C. The shared objects become accessible.
D. The shared objects can be re-shared.
Answer: C

23.Which features make up Snowflake's column level security? (Select TWO).


A. Continuous Data Protection (CDP)
B. Dynamic Data Masking
C. External Tokenization
D. Key pair authentication
E. Row access policies
Answer: B, E

24.Which command is used to unload files from an internal or external stage to a local file system?
A. COPY INTO
B. GET
C. PUT
D. TRANSFER
Answer: A

25.Using variables in Snowflake is denoted by using which SQL character?


A. @
B. &
C. $
D. #
Answer: C

26.A Snowflake user executed a query and received the results. Another user executed the same
query 4 hours later. The data had not changed.
What will occur?
A. No virtual warehouse will be used, data will be read from the result cache.
B. No virtual warehouse will be used, data will be read from the local disk cache.
C. The default virtual warehouse will be used to read all data.
D. The virtual warehouse that is defined at the session level will be used to read all data.
Answer: A

27.How can a user change which columns are referenced in a view?


A. Modify the columns in the underlying table
B. Use the ALTER VIEW command to update the view
C. Recreate the view with the required changes
D. Materialize the view to perform the changes
Answer: B

28.Which command can be used to load data files into a Snowflake stage?
A. JOIN
B. COPY INTO
C. PUT
D. GET
Answer: C

29.Which privilege must be granted to a share to allow secure views the ability to reference data in
multiple databases?
A. CREATE_SHARE on the account
B. SHARE on databases and schemas
C. SELECT on tables used by the secure view
D. REFERENCE_USAGE on databases
Answer: D

30.Which of the following is a data tokenization integration partner?


A. Protegrity
B. Tableau
C. DBeaver
D. SAP
Answer: A

31.What types of data listings are available in the Snowflake Data Marketplace? (Choose two.)
A. Reader
B. Consumer
C. Vendor
D. Standard
E. Personalized
Answer: D, E

32.For the ALLOWED VALUES tag property, what is the MAXIMUM number of possible string values
for a single tag?
A. 10
B. 50
C. 64
D. 256
Answer: A
33.What happens when a virtual warehouse is resized?
A. When increasing the size of an active warehouse the compute resource for all running and queued
queries on the warehouse are affected
B. When reducing the size of a warehouse the compute resources are removed only when they are
no longer being used to execute any current statements.
C. The warehouse will be suspended while the new compute resource is provisioned and will resume
automatically once provisioning is complete.
D. Users who are trying to use the warehouse will receive an error message until the resizing is
complete
Answer: B

34.True or False: A Virtual Warehouse can be resized while suspended.


A. True
B. False
Answer: A
Explanation:
Reference: https://docs.snowflake.com/en/user-guide/warehouses-tasks.html#effects-of-resizing-a-
suspended-warehouse

35.In a Snowflake role hierarchy, what is the top-level role?


A. SYSADMIN
B. ORGADMIN
C. ACCOUNTADMIN
D. SECURITYADMIN
Answer: B

36.True or False: It is possible for a user to run a query against the query result cache without
requiring an active Warehouse.
A. True
B. False
Answer: A
Explanation:
Query result cache is all about fetching the data from cloud services layer and saving the cost by not
running the virtual warehouse.

37.What technique does Snowflake use to limit the number of micro-partitions scanned by each
query?
A. B-tree
B. Indexing
C. Map reduce
D. Pruning
Answer: C

38.What is a responsibility of Snowflake’s virtual warehouses?


A. Infrastructure management
B. Metadata management
C. Query execution
D. Query parsing and optimization
E. Permanent storage of micro-partitions
Answer: C
Explanation:
Reference: https://docs.snowflake.com/en/user-guide/warehouses.html#:~:text=A warehouse
provides the required,rows from tables and views)

39. Runs a query that takes 3 minutes to complete

40.Which file format will keep floating-point numbers from being truncated when data is unloaded?
A. CSV
B. JSON
C. ORC
D. Parquet
Answer: D

41.What is a limitation of a Materialized View?


A. A Materialized View cannot support any aggregate functions
B. A Materialized View can only reference up to two tables
C. A Materialized View cannot be joined with other tables
D. A Materialized View cannot be defined with a JOIN
Answer: D
Explanation:
There are several limitations to using materialized views:
A materialized view can query only a single table.
Joins, including self-joins, are not supported.

42.The following JSON is stored in a VARIANT column called src of the CAR_SALES table:
A user needs to extract the dealership information from the JSON.
How can this be accomplished?
A. select src:dealership from car_sales;
B. select src.dealership from car_sales;
C. select src:Dealership from car_sales;
D. select dealership from car_sales;
Answer: A

43.Which features could be used to improve the performance of queries that return a small subset of
rows from a large table? (Select TWO).
A. Search optimization service
B. Automatic clustering
C. Row access policies
D. Multi-cluster virtual warehouses
E. Secure views
Answer: A, B

44.Which Snowflake object helps evaluate virtual warehouse performance impacted by query
queuing?
A. Resource monitor
B. Account_usage. query_history
C. Information_schema.warehouse_load_history
D. Information schema.warehouse metering history
Answer: B

45.Which of the following commands cannot be used within a reader account?


A. CREATE SHARE
B. ALTER WAREHOUSE
C. DROP ROLE
D. SHOW SCHEMAS
E. DESCRBE TABLE
Answer: B
Explanation:
A reader account is intended primarily for querying data shared by the provider of the account. Adding
new data to the account and/or updating shared data in the account is not supported. Changing the
configuration of virtual warehouses is also not permitted as those resources are owned and managed
by the provider of the account which is sharing the data.

46.What happens when a database is cloned?


A. It does not retain any privileges granted on the source object.
B. It replicates all granted privileges on the corresponding source objects.
C. It replicates all granted privileges on the corresponding child objects.
D. It replicates all granted privileges on the corresponding child schema objects.
Answer: C

47.A user is loading JSON documents composed of a huge array containing multiple records into
Snowflake. The user enables the strip__outer_array file format option.
What does the STRIP_OUTER_ARRAY file format do?
A. It removes the last element of the outer array.
B. It removes the outer array structure and loads the records into separate table rows,
C. It removes the trailing spaces in the last element of the outer array and loads the records into
separate table columns
D. It removes the NULL elements from the JSON object eliminating invalid data and enables the
ability to load the records
Answer: B
Explanation:
Data Size Limitations
The VARIANT data type imposes a 16 MB size limit on individual rows.
For some semi-structured data formats (e.g. JSON), data sets are frequently a simple concatenation
of multiple documents. The JSON output from some software is composed of a single huge array
containing multiple records. There is no need to separate the documents with line breaks or commas,
though both are supported.
If the data exceeds 16 MB, enable the STRIP_OUTER_ARRAY file format option for the COPY INTO
<table> command to remove the outer array structure and load the records into separate table rows:
copy into <table>
from @~/<file>.json
file_format = (type = 'JSON' strip_outer_array = true);
https://docs.snowflake.com/en/user-guide/semistructured-considerations.html

48.What action can a user take to address query concurrency issues?


A. Enable the query acceleration service.
B. Enable the search optimization service.
C. Add additional clusters to the virtual warehouse
D. Resize the virtual warehouse to a larger instance size.
Answer: C

49.Which feature is integrated to support Multi-Factor Authentication (MFA) at Snowflake?


A. Authy
B. Duo Security
C. One Login
D. RSA SecurlD Access
Answer: B

50.What are advantages clones have over tables created with CREATE TABLE AS SELECT
statement? (Choose two.)
A. The clone always stays in sync with the original table.
B. The clone has better query performance.
C. The clone is created almost instantly.
D. The clone will have time travel history from the original table.
E. The clone saves space by not duplicating storage.
Answer: C, E

51.True or False: A 4X-Large Warehouse may, at times, take longer to provision than a X-Small
Warehouse.
A. True
B. False
Answer: A
Explanation:
You can experiment the same with snowflake UI.

52.Which objects together comprise a namespace in Snowflake? (Select TWO).


A. Account
B. Database
C. Schema
D. Table
E. Virtual warehouse
Answer: B, C

Get COF-C02 exam dumps full version.

Powered by TCPDF (www.tcpdf.org)

You might also like