ExamGecko
Home / Snowflake / COF-C02 / List of questions
Ask Question

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

Question list
Search

Question 21

Report
Export
Collapse

True or False: It is possible for a user to run a query against the query result cache without requiring an active Warehouse.

True
True
False
False
Suggested answer: A

Explanation:

Snowflake's architecture allows for the use of aquery result cachethat stores the results of queries for a period of time. If the same query is run again and the underlying data has not changed, Snowflake can retrieve the result from this cache without needing to re-run the query on an active warehouse, thus saving on compute resources.

asked 23/09/2024
Dilara Unsal
30 questions

Question 22

Report
Export
Collapse

A virtual warehouse's auto-suspend and auto-resume settings apply to which of the following?

The primary cluster in the virtual warehouse
The primary cluster in the virtual warehouse
The entire virtual warehouse
The entire virtual warehouse
The database in which the virtual warehouse resides
The database in which the virtual warehouse resides
The Queries currently being run on the virtual warehouse
The Queries currently being run on the virtual warehouse
Suggested answer: B

Explanation:

The auto-suspend and auto-resume settings in Snowflake apply to the entire virtual warehouse. These settings allow the warehouse to automatically suspend when it's not in use, helping to save on compute costs. When queries or tasks are submitted to the warehouse, it can automatically resume operation. This functionality is designed to optimize resource usage and cost-efficiency.

References:

SnowPro Core Certification Exam Study Guide (as of 2021)

Snowflake documentation on virtual warehouses and their settings (as of 2021)

asked 23/09/2024
Denis Mourghen
44 questions

Question 23

Report
Export
Collapse

Which of the following Snowflake features provide continuous data protection automatically? (Select TWO).

Internal stages
Internal stages
Incremental backups
Incremental backups
Time Travel
Time Travel
Zero-copy clones
Zero-copy clones
Fail-safe
Fail-safe
Suggested answer: C, E

Explanation:

Snowflake's Continuous Data Protection (CDP) encompasses a set of features that help protect data stored in Snowflake against human error, malicious acts, and software failure. Time Travel allows users to access historical data (i.e., data that has been changed or deleted) for a defined period, enabling querying and restoring of data. Fail-safe is an additional layer of data protection that provides a recovery option in the event of significant data loss or corruption, which can only be performed by Snowflake.

References:

Continuous Data Protection | Snowflake Documentation1

Data Storage Considerations | Snowflake Documentation2

Snowflake SnowPro Core Certification Study Guide3

Snowflake Data Cloud Glossary

https://docs.snowflake.com/en/user-guide/data-availability.html

asked 23/09/2024
Manoj Balan
44 questions

Question 24

Report
Export
Collapse

Which of the following conditions must be met in order to return results from the results cache? (Select TWO).

The user has the appropriate privileges on the objects associated with the query
The user has the appropriate privileges on the objects associated with the query
Micro-partitions have been reclustered since the query was last run
Micro-partitions have been reclustered since the query was last run
The new query is run using the same virtual warehouse as the previous query
The new query is run using the same virtual warehouse as the previous query
The query includes a User Defined Function (UDF)
The query includes a User Defined Function (UDF)
The query has been run within 24 hours of the previously-run query
The query has been run within 24 hours of the previously-run query
Suggested answer: A, E

Explanation:

To return results from the results cache in Snowflake, certain conditions must be met:

Privileges: The user must have the appropriate privileges on the objects associated with the query. This ensures that only authorized users can access cached data.

Time Frame: The query must have been run within 24 hours of the previously-run query. Snowflake's results cache is designed to store the results of queries for a short period, typically 24 hours, to improve performance for repeated queries.

asked 23/09/2024
bijay ghimire
37 questions

Question 25

Report
Export
Collapse

Which of the following are benefits of micro-partitioning? (Select TWO)

Micro-partitions cannot overlap in their range of values
Micro-partitions cannot overlap in their range of values
Micro-partitions are immutable objects that support the use of Time Travel.
Micro-partitions are immutable objects that support the use of Time Travel.
Micro-partitions can reduce the amount of I/O from object storage to virtual warehouses
Micro-partitions can reduce the amount of I/O from object storage to virtual warehouses
Rows are automatically stored in sorted order within micro-partitions
Rows are automatically stored in sorted order within micro-partitions
Micro-partitions can be defined on a schema-by-schema basis
Micro-partitions can be defined on a schema-by-schema basis
Suggested answer: B, C

Explanation:

Micro-partitions in Snowflake are immutable objects, which means once they are written, they cannot be modified. This immutability supports the use of Time Travel, allowing users to access historical data within a defined period. Additionally, micro-partitions can significantly reduce the amount of I/O from object storage to virtual warehouses. This is because Snowflake's query optimizer can skip over micro-partitions that do not contain relevant data for a query, thus reducing the amount of data that needs to be scanned and transferred.

References: [COF-C02] SnowPro Core Certification Exam Study Guide

https://docs.snowflake.com/en/user-guide/tables-clustering-micropartitions.html

asked 23/09/2024
Laura G
57 questions

Question 26

Report
Export
Collapse

What is the minimum Snowflake edition required to create a materialized view?

Standard Edition
Standard Edition
Enterprise Edition
Enterprise Edition
Business Critical Edition
Business Critical Edition
Virtual Private Snowflake Edition
Virtual Private Snowflake Edition
Suggested answer: B

Explanation:

Materialized views in Snowflake are a feature that allows for the pre-computation and storage of query results for faster query performance. This feature is available starting from the Enterprise Edition of Snowflake. It is not available in the Standard Edition, and while it is also available in higher editions like Business Critical and Virtual Private Snowflake, the Enterprise Edition is the minimum requirement.

References:

Snowflake Documentation on CREATE MATERIALIZED VIEW1.

Snowflake Documentation on Working with Materialized Views

https://docs.snowflake.com/en/sql-reference/sql/create-materialized-view.html#:~:text=Materialized%20views%20require%20Enterprise%20Edition,upgrading%2C%20please%20contact%20Snowflake%20Support.

asked 23/09/2024
Rajesh Tripathy
31 questions

Question 27

Report
Export
Collapse

What happens to the underlying table data when a CLUSTER BY clause is added to a Snowflake table?

Data is hashed by the cluster key to facilitate fast searches for common data values
Data is hashed by the cluster key to facilitate fast searches for common data values
Larger micro-partitions are created for common data values to reduce the number of partitions that must be scanned
Larger micro-partitions are created for common data values to reduce the number of partitions that must be scanned
Smaller micro-partitions are created for common data values to allow for more parallelism
Smaller micro-partitions are created for common data values to allow for more parallelism
Data may be colocated by the cluster key within the micro-partitions to improve pruning performance
Data may be colocated by the cluster key within the micro-partitions to improve pruning performance
Suggested answer: D

Explanation:

When aCLUSTER BYclause is added to a Snowflake table, it specifies one or more columns to organize the data within the table's micro-partitions. This clustering aims to colocate data with similar values in the same or adjacent micro-partitions. By doing so, it enhances the efficiency of query pruning, where the Snowflake query optimizer can skip over irrelevant micro-partitions that do not contain the data relevant to the query, thereby improving performance.

References:

Snowflake Documentation on Clustering Keys & Clustered Tables1.

Community discussions on how source data's ordering affects a table with a cluster key

asked 23/09/2024
Ahmed Alghadeer
31 questions

Question 28

Report
Export
Collapse

Which feature is only available in the Enterprise or higher editions of Snowflake?

Column-level security
Column-level security
SOC 2 type II certification
SOC 2 type II certification
Multi-factor Authentication (MFA)
Multi-factor Authentication (MFA)
Object-level access control
Object-level access control
Suggested answer: A

Explanation:

Column-level security is a feature that allows fine-grained control over access to specific columns within a table. This is particularly useful for managing sensitive data and ensuring that only authorized users can view or manipulate certain pieces of information. According to my last update, this feature was available in the Enterprise Edition or higher editions of Snowflake.

References: Based on my internal data as of 2021, column-level security is an advanced feature typically reserved for higher-tiered editions like the Enterprise Edition in data warehousing solutions such as Snowflake.

https://docs.snowflake.com/en/user-guide/intro-editions.html

asked 23/09/2024
Stefano Humphries
40 questions

Question 29

Report
Export
Collapse

Which of the following are valid methods for authenticating users for access into Snowflake? (Select THREE)

SCIM
SCIM
Federated authentication
Federated authentication
TLS 1.2
TLS 1.2
Key-pair authentication
Key-pair authentication
OAuth
OAuth
OCSP authentication
OCSP authentication
Suggested answer: B, D, E

Explanation:

Snowflake supports several methods for authenticating users, includingfederated authentication,key-pair authentication, andOAuth. Federated authentication allows users to authenticate using their organization's identity provider. Key-pair authentication uses a public-private key pair for secure login, and OAuth is an open standard for access delegation commonly used for token-based authentication.References:Authentication policies | Snowflake Documentation,Authenticating to the server | Snowflake Documentation,External API authentication and secrets | Snowflake Documentation.

asked 23/09/2024
Marcel Wienhusen
43 questions

Question 30

Report
Export
Collapse

During periods of warehouse contention which parameter controls the maximum length of time a warehouse will hold a query for processing?

STATEMENT_TIMEOUT__IN__SECONDS
STATEMENT_TIMEOUT__IN__SECONDS
STATEMENT_QUEUED_TIMEOUT_IN_SECONDS
STATEMENT_QUEUED_TIMEOUT_IN_SECONDS
MAX_CONCURRENCY__LEVEL
MAX_CONCURRENCY__LEVEL
QUERY_TIMEOUT_IN_SECONDS
QUERY_TIMEOUT_IN_SECONDS
Suggested answer: B

Explanation:

The parameterSTATEMENT_QUEUED_TIMEOUT_IN_SECONDSsets the limit for a query to wait in the queue in order to get its chance of running on the warehouse. The query will quit after reaching this limit. By default, the value of this parameter is 0 which mean the queries will wait indefinitely in the waiting queue

https://community.snowflake.com/s/article/Warehouse-Concurrency-and-Statement-Timeout-Parameters#:~:text=The%20parameter%20STATEMENT_QUEUED_TIMEOUT_IN_SECONDS%20sets%20the,indefinitely%20in%20the%20waiting%20queue.

asked 23/09/2024
PEDRO ARIAS
35 questions
Total 716 questions
Go to page: of 72