ExamGecko
Home Home / Snowflake / COF-C02

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

Question list
Search
Search

Which pages are included in the Activity area of Snowsight? (Select TWO).

A.
Contacts
A.
Contacts
Answers
B.
Sharing settings
B.
Sharing settings
Answers
C.
Copy History
C.
Copy History
Answers
D.
Query History
D.
Query History
Answers
E.
Automatic Clustering History
E.
Automatic Clustering History
Answers
Suggested answer: D, E

Explanation:

The Activity area of Snowsight includes the Query History page, which allows users to monitor and view details about queries executed in their account, including performance data1.It also includes the Automatic Clustering History, which provides insights into the automatic clustering operations performed on tables2.

Which kind of Snowflake table stores file-level metadata for each file in a stage?

A.
Directory
A.
Directory
Answers
B.
External
B.
External
Answers
C.
Temporary
C.
Temporary
Answers
D.
Transient
D.
Transient
Answers
Suggested answer: A

Explanation:

The kind of Snowflake table that stores file-level metadata for each file in a stage is a directory table.A directory table is an implicit object layered on a stage and stores file-level metadata about the data files in the stage3.

Which parameter prevents streams on tables from becoming stale?

A.
MAXDATAEXTENSIONTIMEINDAYS
A.
MAXDATAEXTENSIONTIMEINDAYS
Answers
B.
MTN_DATA_RETENTION_TTME_TN_DAYS
B.
MTN_DATA_RETENTION_TTME_TN_DAYS
Answers
C.
LOCK_TIMEOUT
C.
LOCK_TIMEOUT
Answers
D.
STALE_AFTER
D.
STALE_AFTER
Answers
Suggested answer: A

Explanation:

The parameter that prevents streams on tables from becoming stale is MAXDATAEXTENSIONTIMEINDAYS.This parameter specifies the maximum number of days for which Snowflake can extend the data retention period for the table to prevent streams on the table from becoming stale4.

A user needs to create a materialized view in the schema MYDB.MYSCHEM

A.
Which statements will provide this access?
A.
Which statements will provide this access?
Answers
B.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO ROLE MYROLE;
B.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO ROLE MYROLE;
Answers
C.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO USER USER1;
C.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO USER USER1;
Answers
D.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB. K'-'SCHEMA TO USER! ;
D.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB. K'-'SCHEMA TO USER! ;
Answers
E.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO MYROLE;
E.
GRANT ROLE MYROLE TO USER USER1; GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO MYROLE;
Answers
Suggested answer: A

Explanation:

To provide a user with the necessary access to create a materialized view in a schema, the user must be granted a role that has the CREATE MATERIALIZED VIEW privilege on that schema.First, the role is granted to the user, and then the privilege is granted to the role

Which objects together comprise a namespace in Snowflake? (Select TWO).

A.
Account
A.
Account
Answers
B.
Database
B.
Database
Answers
C.
Schema
C.
Schema
Answers
D.
Table
D.
Table
Answers
E.
Virtual warehouse
E.
Virtual warehouse
Answers
Suggested answer: B, C

Explanation:

In Snowflake, a namespace is comprised of a database and a schema.The combination of a database and schema uniquely identifies database objects within an account

Two users share a virtual warehouse named wh dev 01. When one of the users loads data, the other one experiences performance issues while querying data.

How does Snowflake recommend resolving this issue?

A.
Scale up the existing warehouse.
A.
Scale up the existing warehouse.
Answers
B.
Create separate warehouses for each user.
B.
Create separate warehouses for each user.
Answers
C.
Create separate warehouses for each workload.
C.
Create separate warehouses for each workload.
Answers
D.
Stop loading and querying data at the same time.
D.
Stop loading and querying data at the same time.
Answers
Suggested answer: C

Explanation:

Snowflake recommends creating separate warehouses for each workload to resolve performance issues caused by shared virtual warehouses.This ensures that the resources are not being overutilized by one user's activities, thereby affecting the performance of another user's activities4.

How long does Snowflake retain information in the ACCESS HISTORY view?

A.
7 days
A.
7 days
Answers
B.
14 days
B.
14 days
Answers
C.
28 days
C.
28 days
Answers
D.
365 days
D.
365 days
Answers
Suggested answer: D

Explanation:

Snowflake retains information in the ACCESS HISTORY view for 365 days.This allows users to query the access history of Snowflake objects within the last year1.

A view is defined on a permanent table. A temporary table with the same name is created in the same schema as the referenced table. What will the query from the view return?

A.
The data from the permanent table.
A.
The data from the permanent table.
Answers
B.
The data from the temporary table.
B.
The data from the temporary table.
Answers
C.
An error stating that the view could not be compiled.
C.
An error stating that the view could not be compiled.
Answers
D.
An error stating that the referenced object could not be uniquely identified.
D.
An error stating that the referenced object could not be uniquely identified.
Answers
Suggested answer: A

Explanation:

When a view is defined on a permanent table, and a temporary table with the same name is created in the same schema, the query from the view will return the data from the permanent table.Temporary tables are session-specific and do not affect the data returned by views defined on permanent tables2.

What is used to diagnose and troubleshoot network connections to Snowflake?

A.
SnowCD
A.
SnowCD
Answers
B.
Snowpark
B.
Snowpark
Answers
C.
Snowsight
C.
Snowsight
Answers
D.
SnowSQL
D.
SnowSQL
Answers
Suggested answer: A

Explanation:

SnowCD (Snowflake Connectivity Diagnostic Tool) is used to diagnose and troubleshoot network connections to Snowflake.It runs a series of connection checks to evaluate the network connection to Snowflake

Which REST API can be used with unstructured data?

A.
inscrtFilcs
A.
inscrtFilcs
Answers
B.
insertReport
B.
insertReport
Answers
C.
GET /api/tiles/
C.
GET /api/tiles/
Answers
D.
loadHistoryScan
D.
loadHistoryScan
Answers
Suggested answer: C

Explanation:

The REST API used with unstructured data in Snowflake is GET /api/files/, which retrieves (downloads) a data file from an internal or external stage4.

Total 716 questions
Go to page: of 72