ExamGecko
Home Home / Snowflake / COF-C02

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

Question list
Search
Search

Which data protection feature should only be used when all other data recovery options have been attempted?

A.

Time Travel

A.

Time Travel

Answers
B.

Cloning

B.

Cloning

Answers
C.

Replication

C.

Replication

Answers
D.

Fail-safe

D.

Fail-safe

Answers
Suggested answer: D

Explanation:

The Fail-safe feature in Snowflake is the last-resort data recovery option that should only be used when all other options, such as Time Travel or Cloning, have been exhausted. Fail-safe provides a 7-day recovery period after the Time Travel window has expired but requires Snowflake Support intervention for data recovery. It is intended for disaster recovery and carries additional storage costs.

What virtual warehouse configuration should be used when processing a large number of complex queries?

A.

Use the auto-resume feature.

A.

Use the auto-resume feature.

Answers
B.

Run the warehouse in auto-scale mode.

B.

Run the warehouse in auto-scale mode.

Answers
C.

Increase the size of the warehouse.

C.

Increase the size of the warehouse.

Answers
D.

Increase the number of warehouse clusters.

D.

Increase the number of warehouse clusters.

Answers
Suggested answer: D

Explanation:

To handle a large number of complex queries, configuring the warehouse in auto-scale mode by increasing the number of warehouse clusters is recommended. This setup allows Snowflake to dynamically add clusters as demand increases, ensuring better performance and concurrency. Increasing the number of clusters provides scalability for concurrent users and heavy workloads, improving response times without impacting individual query performance.


What best practice recommendations will help prevent timeouts when using the PUT command to load large data sets? (Select TWO).

A.

Compress the files before loading.

A.

Compress the files before loading.

Answers
B.

Use a semi-structured file format.

B.

Use a semi-structured file format.

Answers
C.

Increase the PARALLEL option value.

C.

Increase the PARALLEL option value.

Answers
D.

Load the data into a table stage.

D.

Load the data into a table stage.

Answers
E.

Enable the overwrite option.

E.

Enable the overwrite option.

Answers
Suggested answer: A, C

Explanation:

To avoid timeouts during large data uploads with the PUT command in Snowflake, it is recommended to:

Compress files before loading: Compressed files are smaller and upload faster, reducing the risk of timeouts.

Increase the PARALLEL option value: This option allows more simultaneous upload threads, improving upload speed and efficiency for large datasets.

Semi-structured file formats and table staging do not directly impact timeouts, while enabling overwrite does not prevent timeouts but rather controls overwriting of existing files.

What are characteristics of the ownership privilege when it is granted on a regular Snowflake schema? (Select TWO).

A.

It is automatically granted to the role that creates a database object within the schema.

A.

It is automatically granted to the role that creates a database object within the schema.

Answers
B.

It allows a role to manage grants on the schema.

B.

It allows a role to manage grants on the schema.

Answers
C.

It can be transferred from one role to another for a specific schema.

C.

It can be transferred from one role to another for a specific schema.

Answers
D.

It grants the ability to query data from the schema.

D.

It grants the ability to query data from the schema.

Answers
E.

It must be granted to a role in order to alter warehouse settings.

E.

It must be granted to a role in order to alter warehouse settings.

Answers
Suggested answer: A, B

Explanation:

In Snowflake, the ownership privilege for a schema includes:

Automatic granting to the creator's role: The role that creates a database object within the schema automatically receives ownership of that object.

Ability to manage grants: Ownership enables the role to manage permissions and grants on the schema and its objects, allowing them to control access at the schema level.

Ownership does not directly confer query privileges or the ability to alter warehouse settings, nor is it transferable without specific privilege management actions.

Who can access the data published in a Data Exchange?

A.

Only the data provider who published the data

A.

Only the data provider who published the data

Answers
B.

Any Snowflake user, regardless of their role or permissions

B.

Any Snowflake user, regardless of their role or permissions

Answers
C.

Any user who has been provided with a unique Data Exchange URL

C.

Any user who has been provided with a unique Data Exchange URL

Answers
D.

Only the users that the data provider has invited to the Data Exchange

D.

Only the users that the data provider has invited to the Data Exchange

Answers
Suggested answer: D

Explanation:

Snowflake's Data Exchange allows data providers to publish data that is accessible only to users they explicitly invite. This mechanism ensures that only approved users or Snowflake accounts have access, adding a layer of security and control. Invited users can query the shared data directly within their Snowflake account without requiring data copies, reducing redundancy and enhancing data accessibility within controlled boundaries. This selective sharing feature is part of Snowflake's secure data-sharing capabilities.

A Snowflake user accidentally deleted a table. The table no longer exists, but the session is within the data retention period. How can the table be restored using the LEAST amount of operational overhead?

A.

Clone the table schema as it existed before the table was dropped.

A.

Clone the table schema as it existed before the table was dropped.

Answers
B.

Clone the database as it existed before the table was dropped.

B.

Clone the database as it existed before the table was dropped.

Answers
C.

Recreate the table and reload the data.

C.

Recreate the table and reload the data.

Answers
D.

Run the UNDROP command against the table.

D.

Run the UNDROP command against the table.

Answers
Suggested answer: D

Explanation:

In Snowflake, if a table is accidentally dropped but still within the data retention period (also known as 'Time Travel'), the simplest and most efficient recovery method is the UNDROP command. This command restores the deleted table to its previous state with minimal operational effort. Since Snowflake retains dropped table data for a specific retention period (up to 90 days for the Enterprise edition), UNDROP can quickly recover the table without the need for complex cloning or data reloading processes, making it ideal for accidental deletions.

Total 716 questions
Go to page: of 72