ExamGecko
Home / Snowflake / COF-C02
Ask Question

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

Question list
Search

Question 371

Report
Export
Collapse

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

It removes null values from all columns in the data.
It removes null values from all columns in the data.
It converts null values to empty strings during loading.
It converts null values to empty strings during loading.
It skips rows with null values during the loading process.
It skips rows with null values during the loading process.
It removes object or array elements containing null values.
It removes object or array elements containing null values.
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

asked 23/09/2024
Máté Montvai
36 questions

Question 372

Report
Export
Collapse

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

ARRAY
ARRAY
BLOB
BLOB
CLOB
CLOB
JSON
JSON
VARIANT
VARIANT
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

asked 23/09/2024
Mohamed Ismail
49 questions

Question 373

Report
Export
Collapse

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

File URL
File URL
Staged URL
Staged URL
Scoped URL
Scoped URL
Pre-signed URL
Pre-signed URL
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

asked 23/09/2024
Jordan Pfingsten
44 questions

Question 374

Report
Export
Collapse

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

Send an alert notification to all account users who have notifications enabled.
Send an alert notification to all account users who have notifications enabled.
Send an alert notification to all virtual warehouse users when thresholds over 100% have been met.
Send an alert notification to all virtual warehouse users when thresholds over 100% have been met.
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.
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.
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.
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.
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

asked 23/09/2024
Jonathan Tang
42 questions

Question 375

Report
Export
Collapse

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

Queries without filters or aggregation
Queries without filters or aggregation
Queries with large scans and selective filters
Queries with large scans and selective filters
Queries where the GROUP BY has high cardinality
Queries where the GROUP BY has high cardinality
Queries of tables that have search optimization service enabled
Queries of tables that have search optimization service enabled
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

asked 23/09/2024
Perry Schoenmaker
37 questions

Question 376

Report
Export
Collapse

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

Data Replication
Data Replication
Secure Data Sharing
Secure Data Sharing
Data Exchange
Data Exchange
Snowflake Marketplace
Snowflake Marketplace
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

asked 23/09/2024
Paul Tierney
41 questions

Question 377

Report
Export
Collapse

What is a characteristic of materialized views in Snowflake?

Materialized views do not allow joins.
Materialized views do not allow joins.
Clones of materialized views can be created directly by the user.
Clones of materialized views can be created directly by the user.
Multiple tables can be joined in the underlying query of a materialized view.
Multiple tables can be joined in the underlying query of a materialized view.
Aggregate functions can be used as window functions in materialized views.
Aggregate functions can be used as window functions in materialized views.
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

asked 23/09/2024
Alfred Macaraeg
31 questions

Question 378

Report
Export
Collapse

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

CREATE SESSION POLICY
CREATE SESSION POLICY
CREATE NETWORK RULE
CREATE NETWORK RULE
CREATE SECURITY INTEGRATION
CREATE SECURITY INTEGRATION
CREATE PASSWORD POLICY
CREATE PASSWORD POLICY
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

asked 23/09/2024
Misael E
37 questions

Question 379

Report
Export
Collapse

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

The objects are dropped.
The objects are dropped.
The objects enter the Fail-safe period.
The objects enter the Fail-safe period.
The objects enter the Time Travel period.
The objects enter the Time Travel period.
The objects are immediately moved to the provider account.
The objects are immediately moved to the provider account.
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

asked 23/09/2024
Carlos Cabezas
49 questions

Question 380

Report
Export
Collapse

Which operation can be performed on Snowflake external tables?

INSERT
INSERT
JOIN
JOIN
RENAME
RENAME
ALTER
ALTER
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

asked 23/09/2024
Anne Grethe Knutsen
30 questions
Total 716 questions
Go to page: of 72