ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 15

Question list
Search
Search

Network policies can be set at which Snowflake levels? (Choose two.)

A.
Role
A.
Role
Answers
B.
Schema
B.
Schema
Answers
C.
User
C.
User
Answers
D.
Database
D.
Database
Answers
E.
Account
E.
Account
Answers
F.
Tables
F.
Tables
Answers
Suggested answer: C, E

Explanation:

Network policies in Snowflake can be set at the user level and at the account level2.

What are the correct parameters for time travel and fail-safe in the Snowflake Enterprise Edition?

A.
Default Time Travel Retention is set to 0 days. Maximum Time Travel Retention is 30 days. Fail Safe retention time is 1 day.
A.
Default Time Travel Retention is set to 0 days. Maximum Time Travel Retention is 30 days. Fail Safe retention time is 1 day.
Answers
B.
Default Time Travel Retention is set to 1 day. Maximum Time Travel Retention is 365 days. Fail Safe retention time is 7 days.
B.
Default Time Travel Retention is set to 1 day. Maximum Time Travel Retention is 365 days. Fail Safe retention time is 7 days.
Answers
C.
Default Time Travel Retention is set to 0 days. Maximum Time Travel Retention is 90 days. Fail Safe retention time is 7 days.
C.
Default Time Travel Retention is set to 0 days. Maximum Time Travel Retention is 90 days. Fail Safe retention time is 7 days.
Answers
D.
Default Time Travel Retention is set to 1 day. Maximum Time Travel Retention is 90 days. Fail Safe retention time is 7 days.
D.
Default Time Travel Retention is set to 1 day. Maximum Time Travel Retention is 90 days. Fail Safe retention time is 7 days.
Answers
E.
Default Time Travel Retention is set to 7 days. Maximum Time Travel Retention is 1 day. Fail Safe retention time is 90 days.
E.
Default Time Travel Retention is set to 7 days. Maximum Time Travel Retention is 1 day. Fail Safe retention time is 90 days.
Answers
F.
Default Time Travel Retention is set to 90 days. Maximum Time Travel Retention is 7 days. Fail Safe retention time is 356 days.
F.
Default Time Travel Retention is set to 90 days. Maximum Time Travel Retention is 7 days. Fail Safe retention time is 356 days.
Answers
Suggested answer: D

Explanation:

In the Snowflake Enterprise Edition, the default Time Travel retention is set to 1 day, the maximum Time Travel retention can be set up to 90 days, and the Fail-safe retention time is 7 days3.

Which of the following objects are contained within a schema? (Choose two.)

A.
Role
A.
Role
Answers
B.
Stream
B.
Stream
Answers
C.
Warehouse
C.
Warehouse
Answers
D.
External table
D.
External table
Answers
E.
User
E.
User
Answers
F.
Share
F.
Share
Answers
Suggested answer: B, D

Explanation:

In Snowflake, a schema is a logical grouping of database objects, which can include streams and external tables. A stream is an object that allows users to query data that has changed in specified tables or views, and an external table is a table that references data stored outside of Snowflake. Roles, warehouses, users, and shares are not contained within a schema.

Reference:SHOW OBJECTS,Database, Schema, & Share DDL

Which of the following statements describe features of Snowflake data caching? (Choose two.)

A.
When a virtual warehouse is suspended, the data cache is saved on the remote storage layer.
A.
When a virtual warehouse is suspended, the data cache is saved on the remote storage layer.
Answers
B.
When the data cache is full, the least-recently used data will be cleared to make room.
B.
When the data cache is full, the least-recently used data will be cleared to make room.
Answers
C.
A user can only access their own queries from the query result cache.
C.
A user can only access their own queries from the query result cache.
Answers
D.
A user must set USE_METADATA_CACHE to TRUE to use the metadata cache in queries.
D.
A user must set USE_METADATA_CACHE to TRUE to use the metadata cache in queries.
Answers
E.
The RESULT_SCAN table function can access and filter the contents of the query result cache.
E.
The RESULT_SCAN table function can access and filter the contents of the query result cache.
Answers
Suggested answer: B, E

Explanation:

Snowflake's data caching features include the ability to clear the least-recently used data when the data cache is full to make room for new data. Additionally, the RESULT_SCAN table function can access and filter the contents of the query result cache, allowing users to retrieve and work with the results of previous queries. The other statements are incorrect: the data cache is not saved on the remote storage layer when a virtual warehouse is suspended, users can access queries from the query result cache that were run by other users, and there is no setting called USE_METADATA_CACHE in Snowflake.

Reference:Caching in the Snowflake Cloud Data Platform,Optimizing the warehouse cache

A table needs to be loaded. The input data is in JSON format and is a concatenation of multiple JSON documents. The file size is 3 GB. A warehouse size small is being used. The following COPY INTO command was executed:

COPY INTO SAMPLE FROM @~/SAMPLE.JSON (TYPE=JSON)

The load failed with this error:

Max LOB size (16777216) exceeded, actual size of parsed column is 17894470.

How can this issue be resolved?

A.
Compress the file and load the compressed file.
A.
Compress the file and load the compressed file.
Answers
B.
Split the file into multiple files in the recommended size range (100 MB - 250 MB).
B.
Split the file into multiple files in the recommended size range (100 MB - 250 MB).
Answers
C.
Use a larger-sized warehouse.
C.
Use a larger-sized warehouse.
Answers
D.
Set STRIP_OUTER_ARRAY=TRUE in the COPY INTO command.
D.
Set STRIP_OUTER_ARRAY=TRUE in the COPY INTO command.
Answers
Suggested answer: B

Explanation:

The error ''Max LOB size (16777216) exceeded'' indicates that the size of the parsed column exceeds the maximum size allowed for a single column value in Snowflake, which is 16 MB. To resolve this issue, the file should be split into multiple smaller files that are within the recommended size range of 100 MB to 250 MB. This will ensure that each JSON document within the files is smaller than the maximum LOB size allowed. Compressing the file, using a larger-sized warehouse, or setting STRIP_OUTER_ARRAY=TRUE will not resolve the issue of the column size exceeding the maximum allowed.

Reference:COPY INTO Error during Structured Data Load: ''Max LOB size (16777216) exceeded...''

Which of the following features, associated with Continuous Data Protection (CDP), require additional Snowflake-provided data storage? (Choose two.)

A.
Tri-Secret Secure
A.
Tri-Secret Secure
Answers
B.
Time Travel
B.
Time Travel
Answers
C.
Fail-safe
C.
Fail-safe
Answers
D.
Data encryption
D.
Data encryption
Answers
E.
External stages
E.
External stages
Answers
Suggested answer: B, C

Explanation:

The features associated with Continuous Data Protection (CDP) that require additional Snowflake-provided data storage are Time Travel and Fail-safe. Time Travel allows users to access historical data within a defined period, while Fail-safe provides an additional layer of data protection beyond the Time Travel period.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

Where can a user find and review the failed logins of a specific user for the past 30 days?

A.
The USERS view in ACCOUNT_USAGE
A.
The USERS view in ACCOUNT_USAGE
Answers
B.
The LOGIN_HISTORY view in ACCOUNT_USAGE
B.
The LOGIN_HISTORY view in ACCOUNT_USAGE
Answers
C.
The ACCESS_HISTORY view in ACCOUNT_USAGE
C.
The ACCESS_HISTORY view in ACCOUNT_USAGE
Answers
D.
The SESSIONS view in ACCOUNT_USAGE
D.
The SESSIONS view in ACCOUNT_USAGE
Answers
Suggested answer: B

Explanation:

The LOGIN_HISTORY view in the ACCOUNT_USAGE schema provides information about login attempts, including both successful and failed logins. This view can be used to review the failed login attempts of a specific user for the past 30 days.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

Which of the following statements apply to Snowflake in terms of security? (Choose two.)

A.
Snowflake leverages a Role-Based Access Control (RBAC) model.
A.
Snowflake leverages a Role-Based Access Control (RBAC) model.
Answers
B.
Snowflake requires a user to configure an IAM user to connect to the database.
B.
Snowflake requires a user to configure an IAM user to connect to the database.
Answers
C.
All data in Snowflake is encrypted.
C.
All data in Snowflake is encrypted.
Answers
D.
Snowflake can run within a user's own Virtual Private Cloud (VPC).
D.
Snowflake can run within a user's own Virtual Private Cloud (VPC).
Answers
E.
All data in Snowflake is compressed.
E.
All data in Snowflake is compressed.
Answers
Suggested answer: A, C

Explanation:

Snowflake uses a Role-Based Access Control (RBAC) model to manage access to data and resources. Additionally, Snowflake ensures that all data is encrypted, both at rest and in transit, to provide a high level of security for data stored within the platform.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

A single user of a virtual warehouse has set the warehouse to auto-resume and auto-suspend after 10 minutes. The warehouse is currently suspended and the user performs the following actions:

1. Runs a query that takes 3 minutes to complete

2. Leaves for 15 minutes

3. Returns and runs a query that takes 10 seconds to complete

4. Manually suspends the warehouse as soon as the last query was completed

When the user returns, how much billable compute time will have been consumed?

A.
4 minutes
A.
4 minutes
Answers
B.
10 minutes
B.
10 minutes
Answers
C.
14 minutes
C.
14 minutes
Answers
D.
24 minutes
D.
24 minutes
Answers
Suggested answer: C

Explanation:

The billable compute time includes the time the warehouse is running queries plus the auto-suspend time after the last query if the warehouse is not manually suspended. In this scenario, the warehouse runs for 3 minutes, suspends after 10 minutes of inactivity, resumes for a 10-second query, and then is manually suspended. The total billable time is the sum of the initial 3 minutes, the 10 minutes of auto-suspend time, and the brief period for the 10-second query, which is rounded up to the next full minute due to Snowflake's billing practices.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

What actions will prevent leveraging of the ResultSet cache? (Choose two.)

A.
Removing a column from the query SELECT list
A.
Removing a column from the query SELECT list
Answers
B.
Stopping the virtual warehouse that the query is running against
B.
Stopping the virtual warehouse that the query is running against
Answers
C.
Clustering of the data used by the query
C.
Clustering of the data used by the query
Answers
D.
Executing the RESULTS_SCAN() table function
D.
Executing the RESULTS_SCAN() table function
Answers
E.
Changing a column that is not in the cached query
E.
Changing a column that is not in the cached query
Answers
Suggested answer: B, D

Explanation:

The ResultSet cache is leveraged to quickly return results for repeated queries. Actions that prevent leveraging this cache include stopping the virtual warehouse that the query is running against (B) and executing the RESULTS_SCAN() table function (D).Stopping the warehouse clears the local disk cache, including the ResultSet cache1. The RESULTS_SCAN() function is used to retrieve the result of a previously executed query, which bypasses the need for the ResultSet cache.

Total 627 questions
Go to page: of 63