ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 54

Question list
Search
Search

Which user preferences can be set for a user profile in Snowsight? (Select TWO).

A.

Multi-Factor Authentication (MFA)

A.

Multi-Factor Authentication (MFA)

Answers
B.

Default database

B.

Default database

Answers
C.

Default schema

C.

Default schema

Answers
D.

Notification

D.

Notification

Answers
E.

Username

E.

Username

Answers
Suggested answer: B, C

Explanation:

In Snowsight, Snowflake's web interface, user preferences can be customized to enhance the user experience. Among these preferences, users can set a default database and default schema. These settings streamline the user experience by automatically selecting the specified database and schema when the user initiates a new session or query, reducing the need to manually specify these parameters for each operation. This feature is particularly useful for users who frequently work within a specific database or schema context.

Reference: Snowflake Documentation on Snowsight User Preferences

Which Snowflake table type persists until it is explicitly dropped. is available for all users with relevant privileges (across sessions). and has no Fail-safe period?

A.

External

A.

External

Answers
B.

Permanent

B.

Permanent

Answers
C.

Temporary

C.

Temporary

Answers
D.

Transient

D.

Transient

Answers
Suggested answer: D

Explanation:

The type of Snowflake table that persists until it is explicitly dropped, is available for all users with relevant privileges across sessions, and does not have a Fail-safe period, is a Transient table. Transient tables are designed to provide temporary storage similar to permanent tables but with some reduced storage costs and without the Fail-safe feature, which provides additional data protection for a period beyond the retention time. Transient tables are useful in scenarios where data needs to be temporarily stored for longer than a session but does not require the robust durability guarantees of permanent tables.

Which semi-structured file format is a compressed, efficient, columnar data representation?

A.

Avro

A.

Avro

Answers
B.

JSON

B.

JSON

Answers
C.

TSV

C.

TSV

Answers
D.

Parquet

D.

Parquet

Answers
Suggested answer: D

Explanation:

Parquet is a columnar storage file format that is optimized for efficiency in both storage and processing. It supports compression and encoding schemes that significantly reduce the storage space needed and speed up data retrieval operations, making it ideal for handling large volumes of data. Unlike JSON or TSV, which are row-oriented and typically uncompressed, Parquet is designed specifically for use with big data frameworks, offering advantages in terms of performance and cost when storing and querying semi-structured data.

Reference: Apache Parquet Documentation

How does the search optimization service help Snowflake users improve query performance?

A.

It scans the micro-partitions based on the joins used in the queries and scans only join columns.

A.

It scans the micro-partitions based on the joins used in the queries and scans only join columns.

Answers
B.

II maintains a persistent data structure that keeps track of the values of the table's columns m each of its micro-partitions.

B.

II maintains a persistent data structure that keeps track of the values of the table's columns m each of its micro-partitions.

Answers
C.

It scans the local disk cache to avoid scans on the tables used in the Query.

C.

It scans the local disk cache to avoid scans on the tables used in the Query.

Answers
D.

It keeps track of running queries and their results and saves those extra scans on the table.

D.

It keeps track of running queries and their results and saves those extra scans on the table.

Answers
Suggested answer: B

Explanation:

The search optimization service in Snowflake enhances query performance by maintaining a persistent data structure. This structure indexes the values of table columns across micro-partitions, allowing Snowflake to quickly identify which micro-partitions contain relevant data for a query. By efficiently narrowing down the search space, this service reduces the amount of data scanned during query execution, leading to faster response times and more efficient use of resources.

Reference: Snowflake Documentation on Search Optimization Service

How does Snowflake define i1s approach to Discretionary Access Control (DAC)?

A.

A defined level of access to an object

A.

A defined level of access to an object

Answers
B.

An entity in which access can be granted

B.

An entity in which access can be granted

Answers
C.

Each object has an owner, who can in turn grail access to that object.

C.

Each object has an owner, who can in turn grail access to that object.

Answers
D.

Access privileges are assigned to roles. which are in turn assigned to use's

D.

Access privileges are assigned to roles. which are in turn assigned to use's

Answers
Suggested answer: D

Explanation:

Snowflake implements Discretionary Access Control (DAC) by using a role-based access control model. In this model, access privileges are not directly assigned to individual objects or users but are encapsulated within roles. These roles are then assigned to users, effectively granting them the access privileges contained within the role. This approach allows for granular control over database access, making it easier to manage permissions in a scalable and flexible manner.

Reference: Snowflake Documentation on Access Control

How many credits does a size 3X-Large virtual warehouse consume if it runs continuously for 2 hours?

A.

32

A.

32

Answers
B.

64

B.

64

Answers
C.

128

C.

128

Answers
D.

256

D.

256

Answers
Suggested answer: C

Explanation:

In Snowflake, the consumption of credits by a virtual warehouse is determined by its size and the duration for which it runs. A size 3X-Large virtual warehouse consumes 128 credits if it runs continuously for 2 hours. This consumption rate is based on the principle that larger warehouses, capable of providing greater computational resources and throughput, consume more credits per hour of operation. The specific rate of consumption is defined by Snowflake's pricing model and the scale of the virtual warehouse.

Reference: Snowflake Pricing Documentation

Which command is used to lake away staged files from a Snowflake stage after a successful data ingestion?

A.

DELETE

A.

DELETE

Answers
B.

DROP

B.

DROP

Answers
C.

REMOVE

C.

REMOVE

Answers
D.

TRUNCATE

D.

TRUNCATE

Answers
Suggested answer: C

Explanation:

The REMOVE command is used in Snowflake to delete files from a stage after they have been successfully ingested into Snowflake tables. This command helps manage storage by allowing users to clean up staged files that are no longer needed, ensuring that the stage does not accumulate unnecessary data over time. Unlike DELETE, DROP, or TRUNCATE commands, which are used for managing data within Snowflake tables or dropping objects, REMOVE specifically targets the management of files in stages.

Reference: Snowflake Documentation on Stages and File Management

Which Snowflake table supports unstructured data?

A.

Directory

A.

Directory

Answers
B.

Transient

B.

Transient

Answers
C.

Temporary

C.

Temporary

Answers
D.

Permanent

D.

Permanent

Answers
Suggested answer: D

Explanation:

While Snowflake primarily deals with structured and semi-structured data, it also has the capability to handle unstructured data. Unstructured data can be stored in Snowflake using variants of SQL data types in tables, which can be permanent tables. These permanent tables, while traditionally used for structured or semi-structured data (like JSON, Avro, or Parquet), can also accommodate unstructured data in the form of binary formats or strings, offering flexibility in data storage and analysis. However, the management and querying of unstructured data in Snowflake may require additional considerations compared to structured data.

Reference: Snowflake Documentation on Data Types

If a virtual warehouse is suspended, what happens to the warehouse cache?

A.

The cache is dropped when the warehouse is suspended and is no longer available upon restart.

A.

The cache is dropped when the warehouse is suspended and is no longer available upon restart.

Answers
B.

The warehouse cache persists for as long the warehouse exists, regardless of its suspension status.

B.

The warehouse cache persists for as long the warehouse exists, regardless of its suspension status.

Answers
C.

The cache is maintained for up to two hours and can be restored If the warehouse Is restarted within this limit.

C.

The cache is maintained for up to two hours and can be restored If the warehouse Is restarted within this limit.

Answers
D.

The cache is maintained for the auto suspend duration and can be restored it the warehouse 15 restarted within this limit.

D.

The cache is maintained for the auto suspend duration and can be restored it the warehouse 15 restarted within this limit.

Answers
Suggested answer: A

Explanation:

When a virtual warehouse in Snowflake is suspended, the cache is dropped and is no longer available upon restart. This means that all cached data, including results and temporary data, are cleared from memory. The purpose of this behavior is to conserve resources while the warehouse is not active. Upon restarting the warehouse, it will need to reload any data required for queries from storage, which may result in a slower initial performance until the cache is repopulated. This is a critical consideration for managing performance and cost in Snowflake.

Who can create network policies within Snowflake? (Select TWO).

A.

SYSADMIN only

A.

SYSADMIN only

Answers
B.

ORCADMIN only

B.

ORCADMIN only

Answers
C.

SECURITYADMIN or higher roles

C.

SECURITYADMIN or higher roles

Answers
D.

A role with the CREATE NETWORK POLICY privilege

D.

A role with the CREATE NETWORK POLICY privilege

Answers
E.

A role with the CREATE SECURITY INTEGRATION privilege

E.

A role with the CREATE SECURITY INTEGRATION privilege

Answers
Suggested answer: C, D

Explanation:

In Snowflake, network policies define the allowed IP address ranges from which users can connect to Snowflake, enhancing security by restricting access based on network location. The creation and management of network policies require sufficient privileges. Specifically, a user with the SECURITYADMIN role or any role with higher privileges, such as ACCOUNTADMIN, can create network policies. Additionally, a custom role can be granted the CREATE NETWORK POLICY privilege, enabling users assigned to that role to also create network policies. This approach allows for flexible and secure management of network access to Snowflake.

Reference: Snowflake Documentation on Network Policies

Total 627 questions
Go to page: of 63