ExamGecko
Home Home / Snowflake / COF-C02

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

Question list
Search
Search

Users are responsible for data storage costs until what occurs?

A.
Data expires from Time Travel
A.
Data expires from Time Travel
Answers
B.
Data expires from Fail-safe
B.
Data expires from Fail-safe
Answers
C.
Data is deleted from a table
C.
Data is deleted from a table
Answers
D.
Data is truncated from a table
D.
Data is truncated from a table
Answers
Suggested answer: B

Explanation:

Users are responsible for data storage costs in Snowflake until the data expires from the Fail-safe period. Fail-safe is the final stage in the data lifecycle, following Time Travel, and provides additional protection against accidental data loss.Once data exits the Fail-safe state, users are no longer billed for its storage

What affects whether the query results cache can be used?

A.
If the query contains a deterministic function
A.
If the query contains a deterministic function
Answers
B.
If the virtual warehouse has been suspended
B.
If the virtual warehouse has been suspended
Answers
C.
If the referenced data in the table has changed
C.
If the referenced data in the table has changed
Answers
D.
If multiple users are using the same virtual warehouse
D.
If multiple users are using the same virtual warehouse
Answers
Suggested answer: C

Explanation:

The query results cache can be used as long as the data in the table has not changed since the last time the query was run.If the underlying data has changed, Snowflake will not use the cached results and will re-execute the query1.

Which of the following is an example of an operation that can be completed without requiring compute, assuming no queries have been executed previously?

A.
SELECT SUM (ORDER_AMT) FROM SALES;
A.
SELECT SUM (ORDER_AMT) FROM SALES;
Answers
B.
SELECT AVG(ORDER_QTY) FROM SALES;
B.
SELECT AVG(ORDER_QTY) FROM SALES;
Answers
C.
SELECT MIN(ORDER_AMT) FROM SALES;
C.
SELECT MIN(ORDER_AMT) FROM SALES;
Answers
D.
SELECT ORDER_AMT * ORDER_QTY FROM SALES;
D.
SELECT ORDER_AMT * ORDER_QTY FROM SALES;
Answers
Suggested answer: B

Explanation:

Operations that do not require compute resources are typically those that can leverage previously cached results. However, if no queries have been executed previously, all the given operations would require compute to execute.It's important to note that certain operations like DDL statements and queries that hit the result cache do not consume compute credits2.

How many days is load history for Snowpipe retained?

A.
1 day
A.
1 day
Answers
B.
7 days
B.
7 days
Answers
C.
14 days
C.
14 days
Answers
D.
64 days
D.
64 days
Answers
Suggested answer: C

Explanation:

Snowpipe retains load history for 14 days.This allows users to view and audit the data that has been loaded into Snowflake using Snowpipe within this time frame3.

How can a row access policy be applied to a table or a view? (Choose two.)

A.
Within the policy DDL
A.
Within the policy DDL
Answers
B.
Within the create table or create view DDL
B.
Within the create table or create view DDL
Answers
C.
By future APPLY for all objects in a schema
C.
By future APPLY for all objects in a schema
Answers
D.
Within a control table
D.
Within a control table
Answers
E.
Using the command ALTER <object> ADD ROW ACCESS POLICY ;
E.
Using the command ALTER <object> ADD ROW ACCESS POLICY ;
Answers
Suggested answer: A, E

Explanation:

A row access policy can be applied to a table or a view within the policy DDL when defining the policy.Additionally, an existing row access policy can be applied to a table or a view using theALTER <object> ADD ROW ACCESS POLICY command

Which command can be used to load data files into a Snowflake stage?

A.
JOIN
A.
JOIN
Answers
B.
COPY INTO
B.
COPY INTO
Answers
C.
PUT
C.
PUT
Answers
D.
GET
D.
GET
Answers
Suggested answer: C

Explanation:

ThePUTcommand is used to load data files into a Snowflake stage.This command uploads data files from a local file system to a specified stage in Snowflake

What types of data listings are available in the Snowflake Data Marketplace? (Choose two.)

A.
Reader
A.
Reader
Answers
B.
Consumer
B.
Consumer
Answers
C.
Vendor
C.
Vendor
Answers
D.
Standard
D.
Standard
Answers
E.
Personalized
E.
Personalized
Answers
Suggested answer: C, E

Explanation:

In the Snowflake Data Marketplace, the types of data listings available include 'Vendor', which refers to the providers of data, and 'Personalized', which indicates customized data offerings tailored to specific consumer needs45.

What is the maximum Time Travel retention period for a temporary Snowflake table?

A.
90 days
A.
90 days
Answers
B.
1 day
B.
1 day
Answers
C.
7 days
C.
7 days
Answers
D.
45 days
D.
45 days
Answers
Suggested answer: B

Explanation:

The maximum Time Travel retention period for a temporary Snowflake table is 1 day.This is the standard retention period for temporary tables, which allows for accessing historical data within a 24-hour window

When should a multi-cluster warehouse be used in auto-scaling mode?

A.
When it is unknown how much compute power is needed
A.
When it is unknown how much compute power is needed
Answers
B.
If the select statement contains a large number of temporary tables or Common Table Expressions (CTEs)
B.
If the select statement contains a large number of temporary tables or Common Table Expressions (CTEs)
Answers
C.
If the runtime of the executed query is very slow
C.
If the runtime of the executed query is very slow
Answers
D.
When a large number of concurrent queries are run on the same warehouse
D.
When a large number of concurrent queries are run on the same warehouse
Answers
Suggested answer: D

Explanation:

A multi-cluster warehouse should be used in auto-scaling mode when there is a need to handle a large number of concurrent queries.Auto-scaling allows Snowflake to automatically add or remove compute clusters to balance the load, ensuring that performance remains consistent during varying levels of demand

Snowflake supports the use of external stages with which cloud platforms? (Choose three.)

A.
Amazon Web Services
A.
Amazon Web Services
Answers
B.
Docker
B.
Docker
Answers
C.
IBM Cloud
C.
IBM Cloud
Answers
D.
Microsoft Azure Cloud
D.
Microsoft Azure Cloud
Answers
E.
Google Cloud Platform
E.
Google Cloud Platform
Answers
F.
Oracle Cloud
F.
Oracle Cloud
Answers
Suggested answer: A, D, E

Explanation:

Snowflake supports the use of external stages with Amazon Web Services (AWS), Microsoft Azure Cloud, and Google Cloud Platform (GCP).These platforms allow users to stage data externally and integrate with Snowflake for data loading operations

Total 716 questions
Go to page: of 72