ExamGecko
Home / Snowflake / COF-C02
Ask Question

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

Question list
Search

Question 361

Report
Export
Collapse

Which command is used to unload data from a Snowflake database table into one or more files in a Snowflake stage?

CREATE STAGE
CREATE STAGE
COPY INTO <table>
COPY INTO <table>
COPY INTO <location>
COPY INTO <location>
CREATE PIPE
CREATE PIPE
Suggested answer: C

Explanation:

TheCOPY INTO <location>command is used to unload data from a Snowflake database table into one or more files in a Snowflake stage1.

asked 23/09/2024
Phanel Xavier
46 questions

Question 362

Report
Export
Collapse

Which metadata table will store the storage utilization information even for dropped tables?

DATABASE_STORAGE_USAGE_HISTORY
DATABASE_STORAGE_USAGE_HISTORY
TABLE_STORAGE_METRICS
TABLE_STORAGE_METRICS
STORAGE_DAILY_HISTORY
STORAGE_DAILY_HISTORY
STAGE STORAGE USAGE HISTORY
STAGE STORAGE USAGE HISTORY
Suggested answer: B

Explanation:

TheTABLE_STORAGE_METRICSmetadata table stores the storage utilization information, including for tables that have been dropped but are still incurring storage costs2.

asked 23/09/2024
Umesh Hirji
28 questions

Question 363

Report
Export
Collapse

What does a masking policy consist of in Snowflake?

A single data type, with one or more conditions, and one or more masking functions
A single data type, with one or more conditions, and one or more masking functions
A single data type, with only one condition, and only one masking function
A single data type, with only one condition, and only one masking function
Multiple data types, with only one condition, and one or more masking functions
Multiple data types, with only one condition, and one or more masking functions
Multiple data types, with one or more conditions, and one or more masking functions
Multiple data types, with one or more conditions, and one or more masking functions
Suggested answer: A

Explanation:

A masking policy in Snowflake consists of a single data type, with one or more conditions, and one or more masking functions.These components define how the data is masked based on the specified conditions3.

asked 23/09/2024
Sjoerd Kruit
32 questions

Question 364

Report
Export
Collapse

What feature of Snowflake Continuous Data Protection can be used for maintenance of historical data?

Access control
Access control
Fail-safe
Fail-safe
Network policies
Network policies
Time Travel
Time Travel
Suggested answer: D

Explanation:

Snowflake's Time Travel feature is used for the maintenance of historical data, allowing users to access and restore data that has been changed or deleted within a defined period4.

asked 23/09/2024
Takenobu Tanida
36 questions

Question 365

Report
Export
Collapse

A JSON file, that contains lots of dates and arrays, needs to be processed in Snowflake. The user wants to ensure optimal performance while querying the data.

How can this be achieved?

Flatten the data and store it in structured data types in a flattened table. Query the table.
Flatten the data and store it in structured data types in a flattened table. Query the table.
Store the data in a table with a variant data type. Query the table.
Store the data in a table with a variant data type. Query the table.
Store the data in a table with a vai : ant data type and include STRIP_NULL_VALUES while loading the table. Query the table.
Store the data in a table with a vai : ant data type and include STRIP_NULL_VALUES while loading the table. Query the table.
Store the data in an external stage and create views on top of it. Query the views.
Store the data in an external stage and create views on top of it. Query the views.
Suggested answer: B

Explanation:

Storing JSON data in a table with a VARIANT data type is optimal for querying because it allows Snowflake to leverage its semi-structured data capabilities.This approach enables efficient storage and querying without the need for flattening the data, which can be performance-intensive1.

asked 23/09/2024
Walter van der Heijden
42 questions

Question 366

Report
Export
Collapse

For which use cases is running a virtual warehouse required? (Select TWO).

When creating a table
When creating a table
When loading data into a table
When loading data into a table
When unloading data from a table
When unloading data from a table
When executing a show command
When executing a show command
When executing a list command
When executing a list command
Suggested answer: B, C

Explanation:

Running a virtual warehouse is required when loading data into a table and when unloading data from a table because these operations require compute resources that are provided by the virtual warehouse23.

asked 23/09/2024
Juan Manuel Lopez Ortega
27 questions

Question 367

Report
Export
Collapse

What does SnowCD help Snowflake users to do?

Copy data into files.
Copy data into files.
Manage different databases and schemas.
Manage different databases and schemas.
Troubleshoot network connections to Snowflake.
Troubleshoot network connections to Snowflake.
Write SELECT queries to retrieve data from external tables.
Write SELECT queries to retrieve data from external tables.
Suggested answer: C

Explanation:

SnowCD is a connectivity diagnostic tool that helps users troubleshoot network connections to Snowflake.It performs a series of checks to evaluate the network connection and provides suggestions for resolving any issues4.

asked 23/09/2024
Jessy Kevin NGANE OBAME
32 questions

Question 368

Report
Export
Collapse

A user with which privileges can create or manage other users in a Snowflake account? (Select TWO).

GRANT
GRANT
SELECT
SELECT
MODIFY
MODIFY
OWNERSHIP
OWNERSHIP
CREATE USER
CREATE USER
Suggested answer: D, E

Explanation:

A user with the OWNERSHIP privilege on a user object or the CREATE USER privilege on the account can create or manage other users in a Snowflake account56.

asked 23/09/2024
Jose ESPINOZA
41 questions

Question 369

Report
Export
Collapse

How is unstructured data retrieved from data storage?

SQL functions like the GET command can be used to copy the unstructured data to a location on the client.
SQL functions like the GET command can be used to copy the unstructured data to a location on the client.
SQL functions can be used to create different types of URLs pointing to the unstructured data. These URLs can be used to download the data to a client.
SQL functions can be used to create different types of URLs pointing to the unstructured data. These URLs can be used to download the data to a client.
SQL functions can be used to retrieve the data from the query results cache. When the query results are output to a client, the unstructured data will be output to the client as files.
SQL functions can be used to retrieve the data from the query results cache. When the query results are output to a client, the unstructured data will be output to the client as files.
SQL functions can call on different web extensions designed to display different types of files as a web page. The web extensions will allow the files to be downloaded to the client.
SQL functions can call on different web extensions designed to display different types of files as a web page. The web extensions will allow the files to be downloaded to the client.
Suggested answer: B

Explanation:

Unstructured data stored in Snowflake can be retrieved by using SQL functions to generate URLs that point to the data.These URLs can then be used to download the data directly to a client

asked 23/09/2024
Penny Chang
47 questions

Question 370

Report
Export
Collapse

Which Snowflake view is used to support compliance auditing?

ACCESS_HISTORY
ACCESS_HISTORY
COPY_HISTORY
COPY_HISTORY
QUERY_HISTORY
QUERY_HISTORY
ROW ACCESS POLICIES
ROW ACCESS POLICIES
Suggested answer: A

Explanation:

TheACCESS_HISTORYview in Snowflake is utilized to support compliance auditing. It provides detailed information on data access within Snowflake, including reads and writes by user queries.This view is essential for regulatory compliance auditing as it offers insights into the usage of tables and columns, and maintains a direct link between the user, the query, and the accessed data1.

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

asked 23/09/2024
Paul Pinero
31 questions
Total 716 questions
Go to page: of 72