ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 36

Question list
Search
Search

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

A.
CREATE STAGE
A.
CREATE STAGE
Answers
B.
COPY INTO <table>
B.
COPY INTO <table>
Answers
C.
COPY INTO <location>
C.
COPY INTO <location>
Answers
D.
CREATE PIPE
D.
CREATE PIPE
Answers
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.

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

A.
DATABASE_STORAGE_USAGE_HISTORY
A.
DATABASE_STORAGE_USAGE_HISTORY
Answers
B.
TABLE_STORAGE_METRICS
B.
TABLE_STORAGE_METRICS
Answers
C.
STORAGE_DAILY_HISTORY
C.
STORAGE_DAILY_HISTORY
Answers
D.
STAGE STORAGE USAGE HISTORY
D.
STAGE STORAGE USAGE HISTORY
Answers
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.

What does a masking policy consist of in Snowflake?

A.
A single data type, with one or more conditions, and one or more masking functions
A.
A single data type, with one or more conditions, and one or more masking functions
Answers
B.
A single data type, with only one condition, and only one masking function
B.
A single data type, with only one condition, and only one masking function
Answers
C.
Multiple data types, with only one condition, and one or more masking functions
C.
Multiple data types, with only one condition, and one or more masking functions
Answers
D.
Multiple data types, with one or more conditions, and one or more masking functions
D.
Multiple data types, with one or more conditions, and one or more masking functions
Answers
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.

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

A.
Access control
A.
Access control
Answers
B.
Fail-safe
B.
Fail-safe
Answers
C.
Network policies
C.
Network policies
Answers
D.
Time Travel
D.
Time Travel
Answers
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.

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?

A.
Flatten the data and store it in structured data types in a flattened table. Query the table.
A.
Flatten the data and store it in structured data types in a flattened table. Query the table.
Answers
B.
Store the data in a table with a variant data type. Query the table.
B.
Store the data in a table with a variant data type. Query the table.
Answers
C.
Store the data in a table with a vai : ant data type and include STRIP_NULL_VALUES while loading the table. Query the table.
C.
Store the data in a table with a vai : ant data type and include STRIP_NULL_VALUES while loading the table. Query the table.
Answers
D.
Store the data in an external stage and create views on top of it. Query the views.
D.
Store the data in an external stage and create views on top of it. Query the views.
Answers
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.

What MINIMUM privilege is required on the external stage for any role in the GET REST API to access unstructured data files using a file URL?

A.
READ
A.
READ
Answers
B.
OWNERSHIP
B.
OWNERSHIP
Answers
C.
USAGK
C.
USAGK
Answers
D.
WRTTF
D.
WRTTF
Answers
Suggested answer: A

Explanation:

The minimum privilege required on an external stage for any role to access unstructured data files using a file URL in the GET REST API is READ. This allows the role to retrieve or download data files from the stage.

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
A.
Search optimization service
Answers
B.
Automatic clustering
B.
Automatic clustering
Answers
C.
Row access policies
C.
Row access policies
Answers
D.
Multi-cluster virtual warehouses
D.
Multi-cluster virtual warehouses
Answers
E.
Secure views
E.
Secure views
Answers
Suggested answer: A, B

Explanation:

The search optimization service and automatic clustering are features that can improve the performance of queries returning a small subset of rows from a large table. The search optimization service is designed for low-latency point lookup queries, while automatic clustering organizes data in micro-partitions based on specific dimensions to reduce the amount of data scanned during queries.

Which Snowflake URL type allows users or applications to download or access files directly from Snowflake stage without authentication?

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

Explanation:

The pre-signed URL type allows users or applications to download or access files directly from a Snowflake stage without authentication. This URL type is open and can be used without needing to authenticate into Snowflake or pass an authorization token.

At what levels can a resource monitor be configured? (Select TWO).

A.
Account
A.
Account
Answers
B.
Database
B.
Database
Answers
C.
Organization
C.
Organization
Answers
D.
Schema
D.
Schema
Answers
E.
Virtual warehouse
E.
Virtual warehouse
Answers
Suggested answer: A, E

Explanation:

Resource monitors in Snowflake can be configured at the account and virtual warehouse levels. They are used to track credit usage and control costs associated with running virtual warehouses. When certain thresholds are reached, resource monitors can trigger actions such as sending alerts or suspending warehouses to prevent excessive credit consumption.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

How do Snowflake data providers share data that resides in different databases?

A.
External tables
A.
External tables
Answers
B.
Secure views
B.
Secure views
Answers
C.
Materialized views
C.
Materialized views
Answers
D.
User-Defined Functions (UDFs)
D.
User-Defined Functions (UDFs)
Answers
Suggested answer: B

Explanation:

Snowflake data providers can share data residing in different databases through secure views. Secure views allow for the referencing of objects such as schemas, tables, and other views contained in one or more databases, as long as those databases belong to the same account. This enables providers to share data securely and efficiently with consumers.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

Total 627 questions
Go to page: of 63