ExamGecko
Home Home / Snowflake / COF-C02

Snowflake COF-C02 Practice Test - Questions Answers, Page 38

Question list
Search
Search

What is the purpose of the STRIP NULL_VALUES file format option when loading semi-structured data files into Snowflake?

A.
It removes null values from all columns in the data.
A.
It removes null values from all columns in the data.
Answers
B.
It converts null values to empty strings during loading.
B.
It converts null values to empty strings during loading.
Answers
C.
It skips rows with null values during the loading process.
C.
It skips rows with null values during the loading process.
Answers
D.
It removes object or array elements containing null values.
D.
It removes object or array elements containing null values.
Answers
Suggested answer: D

Explanation:

TheSTRIP NULL_VALUESfile format option, when set toTRUE, removes object or array elements that contain null values during the loading process of semi-structured data files into Snowflake.This ensures that the data loaded into Snowflake tables does not contain these null elements, which can be useful when the ''null'' values in files indicate missing values and have no other special meaning2.

References:[COF-C02] SnowPro Core Certification Exam Study Guide

Which data types can be used in Snowflake to store semi-structured data? (Select TWO)

A.
ARRAY
A.
ARRAY
Answers
B.
BLOB
B.
BLOB
Answers
C.
CLOB
C.
CLOB
Answers
D.
JSON
D.
JSON
Answers
E.
VARIANT
E.
VARIANT
Answers
Suggested answer: A, E

Explanation:

Snowflake supports the storage of semi-structured data using theARRAYandVARIANTdata types. TheARRAYdata type can directly containVARIANT, and thus indirectly contain any other data type, including itself.TheVARIANTdata type can store a value of any other type, includingOBJECTandARRAY, and is often used to represent semi-structured data formats like JSON, Avro, ORC, Parquet, or XML34.

References:[COF-C02] SnowPro Core Certification Exam Study Guide

A user wants to access files stored in a stage without authenticating into Snowflake. Which type of URL should be used?

A.
File URL
A.
File URL
Answers
B.
Staged URL
B.
Staged URL
Answers
C.
Scoped URL
C.
Scoped URL
Answers
D.
Pre-signed URL
D.
Pre-signed URL
Answers
Suggested answer: D

Explanation:

APre-signed URLshould be used to access files stored in a Snowflake stage without requiring authentication into Snowflake. Pre-signed URLs are simple HTTPS URLs that provide temporary access to a file via a web browser, using a pre-signed access token.The expiration time for the access token is configurable, and this type of URL allows users or applications to directly access or download the files without needing to authenticate into Snowflake5.

References:[COF-C02] SnowPro Core Certification Exam Study Guide

What does a Notify & Suspend action for a resource monitor do?

A.
Send an alert notification to all account users who have notifications enabled.
A.
Send an alert notification to all account users who have notifications enabled.
Answers
B.
Send an alert notification to all virtual warehouse users when thresholds over 100% have been met.
B.
Send an alert notification to all virtual warehouse users when thresholds over 100% have been met.
Answers
C.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses after all statements being executed by the warehouses have completed.
C.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses after all statements being executed by the warehouses have completed.
Answers
D.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses immediately, canceling any statements being executed by the warehouses.
D.
Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses immediately, canceling any statements being executed by the warehouses.
Answers
Suggested answer: C

Explanation:

The Notify & Suspend action for a resource monitor in Snowflake sends a notification to all account administrators who have notifications enabled and suspends all assigned warehouses.However, the suspension only occurs after all currently running statements in the warehouses have been completed1.References:[COF-C02] SnowPro Core Certification Exam Study Guide

What type of query will benefit from the query acceleration service?

A.
Queries without filters or aggregation
A.
Queries without filters or aggregation
Answers
B.
Queries with large scans and selective filters
B.
Queries with large scans and selective filters
Answers
C.
Queries where the GROUP BY has high cardinality
C.
Queries where the GROUP BY has high cardinality
Answers
D.
Queries of tables that have search optimization service enabled
D.
Queries of tables that have search optimization service enabled
Answers
Suggested answer: B

Explanation:

The query acceleration service in Snowflake is designed to benefit queries that involve large scans and selective filters.This service can offload portions of the query processing work to shared compute resources, which can handle these types of workloads more efficiently by performing more work in parallel and reducing the wall-clock time spent in scanning and filtering2.References:[COF-C02] SnowPro Core Certification Exam Study Guide

What Snowflake feature provides a data hub for secure data collaboration, with a selected group of invited members?

A.
Data Replication
A.
Data Replication
Answers
B.
Secure Data Sharing
B.
Secure Data Sharing
Answers
C.
Data Exchange
C.
Data Exchange
Answers
D.
Snowflake Marketplace
D.
Snowflake Marketplace
Answers
Suggested answer: C

Explanation:

Snowflake's Data Exchange feature provides a data hub for secure data collaboration.It allows providers to publish data that can be discovered and accessed by a selected group of invited members, facilitating secure and controlled data sharing within a collaborative environment3.References:[COF-C02] SnowPro Core Certification Exam Study Guide

What is a characteristic of materialized views in Snowflake?

A.
Materialized views do not allow joins.
A.
Materialized views do not allow joins.
Answers
B.
Clones of materialized views can be created directly by the user.
B.
Clones of materialized views can be created directly by the user.
Answers
C.
Multiple tables can be joined in the underlying query of a materialized view.
C.
Multiple tables can be joined in the underlying query of a materialized view.
Answers
D.
Aggregate functions can be used as window functions in materialized views.
D.
Aggregate functions can be used as window functions in materialized views.
Answers
Suggested answer: C

Explanation:

One of the characteristics of materialized views in Snowflake is that they allow multiple tables to be joined in the underlying query.This enables the pre-computation of complex queries involving joins, which can significantly improve the performance of subsequent queries that access the materialized view4.References:[COF-C02] SnowPro Core Certification Exam Study Guide

Which command is used to start configuring Snowflake for Single Sign-On (SSO)?

A.
CREATE SESSION POLICY
A.
CREATE SESSION POLICY
Answers
B.
CREATE NETWORK RULE
B.
CREATE NETWORK RULE
Answers
C.
CREATE SECURITY INTEGRATION
C.
CREATE SECURITY INTEGRATION
Answers
D.
CREATE PASSWORD POLICY
D.
CREATE PASSWORD POLICY
Answers
Suggested answer: C

Explanation:

To start configuring Snowflake for Single Sign-On (SSO), theCREATE SECURITY INTEGRATIONcommand is used.This command sets up a security integration object in Snowflake, which is necessary for enabling SSO with external identity providers using SAML 2.01.

References:[COF-C02] SnowPro Core Certification Exam Study Guide

What happens to the objects in a reader account when the DROP MANAGED ACCOUNT command is executed?

A.
The objects are dropped.
A.
The objects are dropped.
Answers
B.
The objects enter the Fail-safe period.
B.
The objects enter the Fail-safe period.
Answers
C.
The objects enter the Time Travel period.
C.
The objects enter the Time Travel period.
Answers
D.
The objects are immediately moved to the provider account.
D.
The objects are immediately moved to the provider account.
Answers
Suggested answer: A

Explanation:

When theDROP MANAGED ACCOUNTcommand is executed in Snowflake, it removes the managed account, including all objects created within the account, and access to the account is immediately restricted2.

References:[COF-C02] SnowPro Core Certification Exam Study Guide

Which operation can be performed on Snowflake external tables?

A.
INSERT
A.
INSERT
Answers
B.
JOIN
B.
JOIN
Answers
C.
RENAME
C.
RENAME
Answers
D.
ALTER
D.
ALTER
Answers
Suggested answer: B

Explanation:

Snowflake external tables are read-only, which means data manipulation language (DML) operations like INSERT, RENAME, or ALTER cannot be performed on them.However, external tables can be used for query and join operations3.

References:[COF-C02] SnowPro Core Certification Exam Study Guide

Total 716 questions
Go to page: of 72