COF-C02 SnowPro Core Certification Practice Questions
COF-C02 SnowPro Core Certification Practice Questions
What's Inside:
Important Note:
For full access to the complete question bank and topic-wise explanations, visit:
CertQuestionsBank.com
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
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
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
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
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
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
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
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
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
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
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
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
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
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.