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

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

List of questions

Question 241

Report
Export
Collapse

Which feature allows a user the ability to control the organization of data in a micro-partition?

Range Partitioning
Range Partitioning
Search Optimization Service
Search Optimization Service
Automatic Clustering
Automatic Clustering
Horizontal Partitioning
Horizontal Partitioning
Suggested answer: C

Explanation:

Automatic Clustering is a feature that allows users to control the organization of data within micro-partitions in Snowflake.By defining clustering keys, Snowflake can automatically reorganize the data in micro-partitions to optimize query performance1.

asked 23/09/2024
Nenad Celikovic
38 questions

Question 242

Report
Export
Collapse

A Snowflake user executed a query and received the results. Another user executed the same query 4 hours later. The data had not changed.

What will occur?

No virtual warehouse will be used, data will be read from the result cache.
No virtual warehouse will be used, data will be read from the result cache.
No virtual warehouse will be used, data will be read from the local disk cache.
No virtual warehouse will be used, data will be read from the local disk cache.
The default virtual warehouse will be used to read all data.
The default virtual warehouse will be used to read all data.
The virtual warehouse that is defined at the session level will be used to read all data.
The virtual warehouse that is defined at the session level will be used to read all data.
Suggested answer: A

Explanation:

Snowflake maintains a result cache that stores the results of every query for 24 hours.If the same query is executed again within this time frame and the data has not changed, Snowflake will retrieve the data from the result cache instead of using a virtual warehouse to recompute the results2.

asked 23/09/2024
Chan Man Wong
43 questions

Question 243

Report
Export
Collapse

Which statements reflect key functionalities of a Snowflake Data Exchange? (Choose two.)

If an account is enrolled with a Data Exchange, it will lose its access to the Snowflake Marketplace.
If an account is enrolled with a Data Exchange, it will lose its access to the Snowflake Marketplace.
A Data Exchange allows groups of accounts to share data privately among the accounts.
A Data Exchange allows groups of accounts to share data privately among the accounts.
A Data Exchange allows accounts to share data with third, non-Snowflake parties.
A Data Exchange allows accounts to share data with third, non-Snowflake parties.
Data Exchange functionality is available by default in accounts using the Enterprise edition or higher.
Data Exchange functionality is available by default in accounts using the Enterprise edition or higher.
The sharing of data in a Data Exchange is bidirectional. An account can be a provider for some datasets and a consumer for others.
The sharing of data in a Data Exchange is bidirectional. An account can be a provider for some datasets and a consumer for others.
Suggested answer: B, E

Explanation:

A Snowflake Data Exchange allows groups of accounts to share data privately among the accounts (B), and it supports bidirectional sharing, meaning an account can be both a provider and a consumer of data (E).This facilitates secure and governed data collaboration within a selected group3.

asked 23/09/2024
Srinivasan Krishnamoorthy
39 questions

Question 244

Report
Export
Collapse

Which database objects can be shared with the Snowflake secure data sharing feature? (Choose two.)

Files
Files
External tables
External tables
Secure User-Defined Functions (UDFs)
Secure User-Defined Functions (UDFs)
Sequences
Sequences
Streams
Streams
Suggested answer: B, C

Explanation:

Snowflake's secure data sharing feature allows sharing of certain database objects with other Snowflake accounts.Among the options provided, external tables and secure UDFs can be shared

asked 23/09/2024
Brant McGurk
35 questions

Question 245

Report
Export
Collapse

Query parsing and compilation occurs in which architecture layer of the Snowflake Cloud Data Platform?

Cloud services layer
Cloud services layer
Compute layer
Compute layer
Storage layer
Storage layer
Cloud agnostic layer
Cloud agnostic layer
Suggested answer: A

Explanation:

Query parsing and compilation in Snowflake occur within the cloud services layer.This layer is responsible for various management tasks, including query compilation and optimization

asked 23/09/2024
Nicos Chamberlain
34 questions

Question 246

Report
Export
Collapse

Which of the following is the Snowflake Account_Usage.Metering_History view used for?

Gathering the hourly credit usage for an account
Gathering the hourly credit usage for an account
Compiling an account's average cloud services cost over the previous month
Compiling an account's average cloud services cost over the previous month
Summarizing the throughput of Snowpipe costs for an account
Summarizing the throughput of Snowpipe costs for an account
Calculating the funds left on an account's contract
Calculating the funds left on an account's contract
Suggested answer: A

Explanation:

The Snowflake Account_Usage.Metering_History view is used to gather the hourly credit usage for an account.This view provides details on the credits consumed by various services within Snowflake for the last 365 days1.

asked 23/09/2024
Sankalp Wadiwa
34 questions

Question 247

Report
Export
Collapse

Which SQL command can be used to see the CREATE definition of a masking policy?

SHOW MASKING POLICIES
SHOW MASKING POLICIES
DESCRIBE MASKING POLICY
DESCRIBE MASKING POLICY
GET_DDL
GET_DDL
LIST MASKING POLICIES
LIST MASKING POLICIES
Suggested answer: C

Explanation:

The SQL command GET_DDL can be used to retrieve the CREATE definition of a masking policy in Snowflake.This command generates the DDL statement required to recreate the masking policy

asked 23/09/2024
Krishnan S Sridhar
32 questions

Question 248

Report
Export
Collapse

Which statement describes pruning?

The filtering or disregarding of micro-partitions that are not needed to return a query.
The filtering or disregarding of micro-partitions that are not needed to return a query.
The return of micro-partitions values that overlap with each other to reduce a query's runtime.
The return of micro-partitions values that overlap with each other to reduce a query's runtime.
A service that is handled by the Snowflake Cloud Services layer to optimize caching.
A service that is handled by the Snowflake Cloud Services layer to optimize caching.
The ability to allow the result of a query to be accessed as if it were a table.
The ability to allow the result of a query to be accessed as if it were a table.
Suggested answer: A

Explanation:

Pruning in Snowflake refers to the process of filtering or disregarding micro-partitions that are not needed to satisfy the conditions of a query.This optimization technique helps reduce the amount of data scanned, thereby improving query performance

asked 23/09/2024
Ntombifuthi Shabangu
28 questions

Question 249

Report
Export
Collapse

How can a user change which columns are referenced in a view?

Modify the columns in the underlying table
Modify the columns in the underlying table
Use the ALTER VIEW command to update the view
Use the ALTER VIEW command to update the view
Recreate the view with the required changes
Recreate the view with the required changes
Materialize the view to perform the changes
Materialize the view to perform the changes
Suggested answer: C

Explanation:

In Snowflake, to change the columns referenced in a view, the view must be recreated with the required changes. TheALTER VIEWcommand does not allow changing the definition of a view; it can only be used to rename a view, convert it to or from a secure view, or add, overwrite, or remove a comment for a view.Therefore, the correct approach is to drop the existing view and create a new one with the desired column references.

asked 23/09/2024
Edgar Santiago
47 questions

Question 250

Report
Export
Collapse

Which commands should be used to grant the privilege allowing a role to select data from all current tables and any tables that will be created later in a schema? (Choose two.)

grant USAGE on all tables in schema DB1.SCHEMA to role MYROLE;
grant USAGE on all tables in schema DB1.SCHEMA to role MYROLE;
grant USAGE on future tables in schema DB1.SCHEMA to role MYROLE;
grant USAGE on future tables in schema DB1.SCHEMA to role MYROLE;
grant SELECT on all tables in schema DB1.SCHEMA to role MYROLE;
grant SELECT on all tables in schema DB1.SCHEMA to role MYROLE;
grant SELECT on future tables in schema DB1.SCHEMA to role MYROLE;
grant SELECT on future tables in schema DB1.SCHEMA to role MYROLE;
grant SELECT on all tables in database DB1 to role MYROLE;
grant SELECT on all tables in database DB1 to role MYROLE;
grant SELECT on future tables in database DB1 to role MYROLE;
grant SELECT on future tables in database DB1 to role MYROLE;
Suggested answer: C, D

Explanation:

To grant a role the privilege to select data from all current and future tables in a schema, two separate commands are needed.The first command grants theSELECTprivilege on all existing tables within the schema, and the second command grants theSELECTprivilege on all tables that will be created in the future within the same schema.

asked 23/09/2024
Dean Pillay
47 questions
Total 716 questions
Go to page: of 72