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

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

List of questions

Question 281

Report Export Collapse

What is the recommended way to change the existing file format type in my format from CSV to JSON?

ALTER FILE FORMAT my_format SET TYPE=JSON;
ALTER FILE FORMAT my_format SET TYPE=JSON;
ALTER FILE FORMAT my format SWAP TYPE WITH JSON;
ALTER FILE FORMAT my format SWAP TYPE WITH JSON;
CREATE OR REPLACE FILE FORMAT my format TYPE-JSON;
CREATE OR REPLACE FILE FORMAT my format TYPE-JSON;
REPLACE FILE FORMAT my format TYPE-JSON;
REPLACE FILE FORMAT my format TYPE-JSON;
Suggested answer: A
Explanation:

To change the existing file format type from CSV to JSON, the recommended way is to use the ALTER FILE FORMAT command with the SET TYPE=JSON clause. This alters the file format specification to use JSON instead of CSV.References:Based on my internal knowledge as of 2021.

asked 23/09/2024
Oscar Ballabriga
35 questions

Question 282

Report Export Collapse

What technique does Snowflake use to limit the number of micro-partitions scanned by each query?

B-tree
B-tree
Indexing
Indexing
Map reduce
Map reduce
Pruning
Pruning
Suggested answer: D
Explanation:

Snowflake uses a technique called pruning to limit the number of micro-partitions scanned by each query.Pruning effectively filters out unnecessary micro-partitions based on the query's filter conditions, which can significantly improve query performance by reducing the amount of data scanned1.

asked 23/09/2024
Kyle Norton
41 questions

Question 283

Report Export Collapse

Which command is used to unload files from an internal or external stage to a local file system?

COPY INTO
COPY INTO
GET
GET
PUT
PUT
TRANSFER
TRANSFER
Suggested answer: B
Explanation:

The command used to unload files from an internal or external stage to a local file system in Snowflake is the GET command.This command allows users to download data files that have been staged, making them available on the local file system for further use23.

asked 23/09/2024
Tom Starren
47 questions

Question 284

Report Export Collapse

Which feature is integrated to support Multi-Factor Authentication (MFA) at Snowflake?

Authy
Authy
Duo Security
Duo Security
One Login
One Login
RSA SecurlD Access
RSA SecurlD Access
Suggested answer: B
Explanation:

Snowflake integrates Duo Security to support Multi-Factor Authentication (MFA).This feature provides increased login security for users connecting to Snowflake, and it is managed completely by Snowflake without the need for users to sign up separately with Duo4.

asked 23/09/2024
Mikael Klingebrant
35 questions

Question 285

Report Export Collapse

If queries start to queue in a multi-cluster virtual warehouse, an additional compute cluster starts immediately under what setting?

Auto-scale mode
Auto-scale mode
Maximized mode
Maximized mode
Economy scaling policy
Economy scaling policy
Standard scaling policy
Standard scaling policy
Suggested answer: A
Explanation:

In Snowflake, when queries begin to queue in a multi-cluster virtual warehouse, an additional compute cluster starts immediately if the warehouse is set to auto-scale mode.This mode allows Snowflake to automatically add or resume additional clusters as soon as the workload increases, and similarly, shut down or pause the additional clusters when the load decreases

asked 23/09/2024
Nestor Quintero
43 questions

Question 286

Report Export Collapse

Which Snowflake object helps evaluate virtual warehouse performance impacted by query queuing?

Resource monitor
Resource monitor
Account_usage. query_history
Account_usage. query_history
Information_schema.warehouse_load_history
Information_schema.warehouse_load_history
Information schema.warehouse metering history
Information schema.warehouse metering history
Suggested answer: C
Explanation:

The Snowflake object that helps evaluate virtual warehouse performance impacted by query queuing is the Information_schema.warehouse_load_history.This view provides historical data about the load on a warehouse, including the average number of queries that were running or queued within a specific interval, which can be used to assess performance and identify potential issues with query queuing3.

asked 23/09/2024
Marcelo Tamaki
42 questions

Question 287

Report Export Collapse

A Snowflake user has two tables that contain numeric values and is trying to find out which values are present in both tables. Which set operator should be used?

INTERSECT
INTERSECT
MFRCK
MFRCK
MINUS
MINUS
UNION
UNION
Suggested answer: A
Explanation:

To find out which numeric values are present in both tables, the INTERSECT set operator should be used.This operator returns rows from one query's result set which also appear in another query's result set, effectively finding the common elements between the two tables45.

asked 23/09/2024
Mathijn Smit
49 questions

Question 288

Report Export Collapse

What type of columns does Snowflake recommend to be used as clustering keys? (Select TWO).

A VARIANT column
A VARIANT column
A column with very low cardinality
A column with very low cardinality
A column with very high cardinality
A column with very high cardinality
A column that is most actively used in selective filters
A column that is most actively used in selective filters
A column that is most actively used in join predicates
A column that is most actively used in join predicates
Suggested answer: C, D
Explanation:

Snowflake recommends using columns with very high cardinality and those that are most actively used in selective filters as clustering keys. High cardinality columns have a wide range of unique values, which helps in evenly distributing the data across micro-partitions. Columns used in selective filters help in pruning the number of micro-partitions to scan, thus improving query performance. References: Based on general database optimization principles.

asked 23/09/2024
chanon witchajutakul
28 questions

Question 289

Report Export Collapse

Which of the following describes the Snowflake Cloud Services layer?

Coordinates activities in the Snowflake account
Coordinates activities in the Snowflake account
Executes queries submitted by the Snowflake account users
Executes queries submitted by the Snowflake account users
Manages quotas on the Snowflake account storage
Manages quotas on the Snowflake account storage
Manages the virtual warehouse cache to speed up queries
Manages the virtual warehouse cache to speed up queries
Suggested answer: A
Explanation:

The Snowflake Cloud Services layer coordinates activities within the Snowflake account. It is responsible for tasks such as authentication, infrastructure management, metadata management, query parsing and optimization, and access control. References: Based on general cloud database architecture knowledge.

asked 23/09/2024
Edgar Zapico
44 questions

Question 290

Report Export Collapse

What does Snowflake recommend regarding database object ownership? (Select TWO).

Create objects with ACCOUNTADMIN and do not reassign ownership.
Create objects with ACCOUNTADMIN and do not reassign ownership.
Create objects with SYSADMIN.
Create objects with SYSADMIN.
Create objects with SECURITYADMIN to ease granting of privileges later.
Create objects with SECURITYADMIN to ease granting of privileges later.
Create objects with a custom role and grant this role to SYSADMIN.
Create objects with a custom role and grant this role to SYSADMIN.
Use only MANAGED ACCESS SCHEMAS for66 objects owned by ACCOUNTADMIN.
Use only MANAGED ACCESS SCHEMAS for66 objects owned by ACCOUNTADMIN.
Suggested answer: B, D
Explanation:

Snowflake recommends creating objects with a role that has the necessary privileges and is not overly permissive. SYSADMIN is typically used for managing system-level objects and operations. Creating objects with a custom role and granting this role to SYSADMIN allows for more granular control and adherence to the principle of least privilege. References: Based on best practices for database object ownership and role management.

asked 23/09/2024
Sam K
33 questions
Total 716 questions
Go to page: of 72