ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 53

Question list
Search
Search

Which system_defined Snowflake role has permission to rename an account and specify whether the original URL can be used to access the renamed account?

A.

ACCOUNTADMIN

A.

ACCOUNTADMIN

Answers
B.

SECURITYADMIN

B.

SECURITYADMIN

Answers
C.

SYSADMIN

C.

SYSADMIN

Answers
D.

ORGADMIN

D.

ORGADMIN

Answers
Suggested answer: A

Explanation:

The ACCOUNTADMIN role in Snowflake has the highest level of privileges, including the ability to manage accounts, users, roles, and all objects within the account. This role is specifically granted the permission to rename an account and specify whether the original URL can be used to access the renamed account. The ACCOUNTADMIN role encompasses broad administrative capabilities, ensuring that users assigned this role can perform critical account management tasks.

Reference: Snowflake Documentation on Roles and Permissions

What do temporary and transient tables have m common in Snowflake? (Select TWO).

A.

Both tables have no Fail-safe period.

A.

Both tables have no Fail-safe period.

Answers
B.

Both tables have data retention period maximums of one day.

B.

Both tables have data retention period maximums of one day.

Answers
C.

Both tables are visible only to a single user session.

C.

Both tables are visible only to a single user session.

Answers
D.

For both tables the retention period ends when the tables are dropped.

D.

For both tables the retention period ends when the tables are dropped.

Answers
E.

For both tables, the retention period does not end when the session ends

E.

For both tables, the retention period does not end when the session ends

Answers
Suggested answer: A, D

Explanation:

Temporary and transient tables in Snowflake share several characteristics, notably, neither table type has a Fail-safe period. Fail-safe is a feature that provides additional data protection beyond the Time Travel period. However, this feature does not apply to temporary or transient tables. Additionally, for both types of tables, the data retention period effectively ends when the tables are dropped. This means that once these tables are deleted, their data is not recoverable, distinguishing them from permanent tables, which benefit from Snowflake's Time Travel and Fail-safe features.

Reference: Snowflake Documentation on Table Types

What is a non-configurable feature that provides historical data that Snowflake may recover during a 7-day period?

A.

Fail-safe

A.

Fail-safe

Answers
B.

Time Travel

B.

Time Travel

Answers
C.

Cloning

C.

Cloning

Answers
D.

Account replication

D.

Account replication

Answers
Suggested answer: A

Explanation:

Fail-safe is a non-configurable feature in Snowflake that provides an additional layer of data protection beyond Time Travel. Time Travel allows users to access historical data within a configurable period (up to 90 days), while Fail-safe provides an additional 7-day period during which Snowflake retains historical data to recover from significant data loss or corruption incidents. This period is not accessible by users but can be used by Snowflake support to assist in data recovery efforts.

Reference: Snowflake Documentation on Fail-safe and Time Travel

Which activities are managed by Slowflake's Cloud Services layer? (Select TWO).

A.

Authorisation

A.

Authorisation

Answers
B.

Access delegation

B.

Access delegation

Answers
C.

Data pruning

C.

Data pruning

Answers
D.

Data compression

D.

Data compression

Answers
E.

Query parsing and optimization

E.

Query parsing and optimization

Answers
Suggested answer: A, E

Explanation:

Snowflake's Cloud Services layer is responsible for managing various aspects of the platform that are not directly related to computing or storage. Specifically, it handles authorisation, ensuring that users have appropriate access rights to perform actions or access data. Additionally, it takes care of query parsing and optimization, interpreting SQL queries and optimizing their execution plans for better performance. This layer abstracts much of the platform's complexity, allowing users to focus on their data and queries without managing the underlying infrastructure.

Reference: Snowflake Architecture Documentation

Which statements reflect valid commands when using secondary roles? (Select TWO).

A.

Use SECONDARY ROLES RESUME

A.

Use SECONDARY ROLES RESUME

Answers
B.

USE SECONDARY ROLES SUSPEND

B.

USE SECONDARY ROLES SUSPEND

Answers
C.

USE SECONDARY RLES ALL

C.

USE SECONDARY RLES ALL

Answers
D.

USE SECONDARY ROLES ADD <Role Name>

D.

USE SECONDARY ROLES ADD <Role Name>

Answers
E.

Use SECONDARY ROLES NONE

E.

Use SECONDARY ROLES NONE

Answers
Suggested answer: C, E

Explanation:

USE SECONDARY ROLES ALL: Activates all granted secondary roles for the current session.

USE SECONDARY ROLES NONE: Deactivates all active secondary roles for the current session.

Incorrect Commands: The options referencing 'RESUME', 'SUSPEND', and 'ADD' are not valid commands in the context of secondary roles.

Snowflake Documentation (USE SECONDARY ROLES):https://docs.snowflake.com/en/sql-reference/sql/use-secondary-roles.html

What does Snowflake recommend for a user assigned the ACCOUNTADMIN role?

A.

The ACCCUKTMKIN role should be set as tie user's default role.

A.

The ACCCUKTMKIN role should be set as tie user's default role.

Answers
B.

The user should use federated authentication instead of a password

B.

The user should use federated authentication instead of a password

Answers
C.

The user should be required to use Multi-Factor Authentication (MFA).

C.

The user should be required to use Multi-Factor Authentication (MFA).

Answers
D.

There should be just one user with the ACCOUNTADMIN role in each Snowflake account.

D.

There should be just one user with the ACCOUNTADMIN role in each Snowflake account.

Answers
Suggested answer: C

Explanation:

For users assigned the ACCOUNTADMIN role, Snowflake recommends enforcing Multi-Factor Authentication (MFA) to enhance security. The ACCOUNTADMIN role has extensive permissions, making it crucial to secure accounts held by such users against unauthorized access. MFA adds an additional layer of security by requiring a second form of verification beyond just the username and password, significantly reducing the risk of account compromise.

Reference: Snowflake Security Best Practices

A user wants to access stored in a stage without authenticating into Snowflake.

Which type of URL should be used?

A.

File URL

A.

File URL

Answers
B.

Staged URL

B.

Staged URL

Answers
C.

Scoped URL

C.

Scoped URL

Answers
D.

Pre-signed URL

D.

Pre-signed URL

Answers
Suggested answer: D

Explanation:

A pre-signed URL provides a way to access objects stored in a stage without requiring authentication to Snowflake. This URL contains all the necessary information for access control, including an expiration time, and it's signed by the service's credentials. This mechanism allows users or applications to access specific files stored in a cloud storage location (stage) directly, bypassing the need to authenticate into Snowflake, ensuring secure and temporary access to the data.

Reference: Snowflake Documentation on Stages and Data Loading

Which Snowflake objects can be restored using Time Travel? (Select VNO).

A.

Roles

A.

Roles

Answers
B.

Users

B.

Users

Answers
C.

Databases

C.

Databases

Answers
D.

Schemas

D.

Schemas

Answers
E.

Virtual warehouses

E.

Virtual warehouses

Answers
Suggested answer: C, D

Explanation:

Snowflake's Time Travel feature allows users to access historical data within a specific period. This feature supports the restoration of various objects, including databases and schemas, to their previous states. Time Travel can be used for recovering dropped objects, undoing accidental changes, or analyzing data changes over time. However, it does not support user or role objects like Users and Roles, or compute resources like Virtual Warehouses.

Reference: Snowflake Documentation on Time Travel

Which table function should be used to view details on a Directed Acyclic Graphic (DAG) run that is presently scheduled or is executing?

A.

TASK_HISTORY

A.

TASK_HISTORY

Answers
B.

TASK_DEPENDENTS

B.

TASK_DEPENDENTS

Answers
C.

CURRENT_TASK_GRAPHS

C.

CURRENT_TASK_GRAPHS

Answers
D.

COMPLETE_TASK_GRAPHS

D.

COMPLETE_TASK_GRAPHS

Answers
Suggested answer: C

Explanation:

The CURRENT_TASK_GRAPHS table function is designed to provide information on Directed Acyclic Graphs (DAGs) that are currently scheduled or executing within Snowflake. This function offers insights into the structure and status of task chains, enabling users to monitor and troubleshoot task executions. DAGs in Snowflake represent sequences of tasks with dependencies, and understanding their current state is crucial for managing complex workflows.

Reference: Snowflake Documentation on Task Management

A Snowflake user is trying to load a 125 GB file using SnowSQL. The file continues to load for almost an entire day. What will happen at the 2< hour mark?

A.

The file will continue to load until all contents arc loaded.

A.

The file will continue to load until all contents arc loaded.

Answers
B.

The tile will slop loading and all data up to that point will be committed.

B.

The tile will slop loading and all data up to that point will be committed.

Answers
C.

The file loading could be aborted without any portion of the file being committed.

C.

The file loading could be aborted without any portion of the file being committed.

Answers
D.

The file's number of allowable hours to load can be programmatically controlled to load easily into Snowflake

D.

The file's number of allowable hours to load can be programmatically controlled to load easily into Snowflake

Answers
Suggested answer: C

Explanation:

When attempting to load large files, such as a 125 GB file, into Snowflake using SnowSQL, the process might encounter limitations related to the maximum execution time for queries or data loading operations. If the loading process exceeds this time limit (typically around 24 hours), it could be aborted without committing any part of the file to the database. This behavior is designed to prevent indefinite resource consumption and to maintain system stability, emphasizing the need for optimizing data load operations, possibly through file segmentation or parallel loading strategies.

Reference: Snowflake Documentation on Data Loading Considerations

Total 627 questions
Go to page: of 63