ExamGecko
Home Home / Snowflake / COF-C02

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

Question list
Search
Search

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. References: 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. References: 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. References: 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.

References:

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. References: 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. References: 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. References: 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. References: 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. References: Snowflake Documentation on Data Loading Considerations

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. References: Snowflake Documentation on Snowsight User Preferences

Total 716 questions
Go to page: of 72