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

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

List of questions

Question 331

Report Export Collapse

Which semi-structured data function interprets an input string as a JSON document that produces a VARIANT value?

PARSE_JSON
PARSE_JSON
CHECK_JSON
CHECK_JSON
JSON_EXTRACT_PATH_TEXT
JSON_EXTRACT_PATH_TEXT
PARSE_XML
PARSE_XML
Suggested answer: A
Explanation:

The semi-structured data function that interprets an input string as a JSON document and produces a VARIANT value is PARSE_JSON.This function is used to parse a JSON formatted string and return it as a VARIANT data type, which can then be used for further processing within Snowflake3.

asked 23/09/2024
Petya Pavlova
44 questions

Question 332

Report Export Collapse

Which items are considered schema objects in Snowflake? (Select TWO).

Pipe
Pipe
File format
File format
Resource monitor
Resource monitor
Storage integration
Storage integration
Virtual warehouse
Virtual warehouse
Suggested answer: A, B
Explanation:

In Snowflake, schema objects include Pipes and File formats.Pipes are used for continuous data loading, and File formats specify the format of data files used in loading and unloading operations within Snowflake

asked 23/09/2024
charles ratchagaraj
49 questions

Question 333

Report Export Collapse

What are benefits of using Snowpark with Snowflake? (Select TWO).

Snowpark uses a Spark engine to generate optimized SQL query plans.
Snowpark uses a Spark engine to generate optimized SQL query plans.
Snowpark automatically sets up Spark within Snowflake virtual warehouses.
Snowpark automatically sets up Spark within Snowflake virtual warehouses.
Snowpark does not require that a separate cluster be running outside of Snowflake.
Snowpark does not require that a separate cluster be running outside of Snowflake.
Snowpark allows users to run existing Spark code on virtual warehouses without the need to reconfigure the code.
Snowpark allows users to run existing Spark code on virtual warehouses without the need to reconfigure the code.
Snowpark executes as much work as possible in the source databases for all operations including User-Defined Functions (UDFs).
Snowpark executes as much work as possible in the source databases for all operations including User-Defined Functions (UDFs).
Suggested answer: C, D
Explanation:

Snowpark is designed to bring the data programmability to Snowflake, enabling developers to write code in familiar languages like Scala, Java, and Python. It allows for the execution of these codes directly within Snowflake's virtual warehouses, eliminating the need for a separate cluster.Additionally, Snowpark's compatibility with Spark allows users to leverage their existing Spark code with minimal changes1.

asked 23/09/2024
mark anthony sampayan
38 questions

Question 334

Report Export Collapse

If a virtual warehouse runs for 61 seconds, shuts down, and then restarts and runs for 30 seconds, for how many seconds is it billed?

60
60
91
91
120
120
121
121
Suggested answer: D
Explanation:

Snowflake's billing for virtual warehouses is per-second, with a minimum of 60 seconds for each time the warehouse is started or resumed. Therefore, if a warehouse runs for 61 seconds, it is billed for 61 seconds.If it is then shut down and restarted, running for an additional 30 seconds, it is billed for another 60 seconds (the minimum charge for a restart), totaling 121 seconds2

asked 23/09/2024
Tym Dom
52 questions

Question 335

Report Export Collapse

Which transformation is supported by a COPY INTO <table> command?

Filter using a where clause
Filter using a where clause
Filter using a limit keyword
Filter using a limit keyword
Cast using a SELECT statement
Cast using a SELECT statement
Order using an ORDER BY clause
Order using an ORDER BY clause
Suggested answer: C
Explanation:

The COPY INTO <table> command in Snowflake supports transformations such as casting using a SELECT statement.This allows for the transformation of data types as the data is being loaded into the table, which can be particularly useful when the data types in the source files do not match the data types in the target table

asked 23/09/2024
Jordi Nogues
39 questions

Question 336

Report Export Collapse

Which task privilege does a Snowflake role need in order to suspend or resume a task?

USAGE
USAGE
OPERATE
OPERATE
MONITOR
MONITOR
OWNERSHIP
OWNERSHIP
Suggested answer: B
Explanation:

In Snowflake, the OPERATE privilege is required for a role to suspend or resume a task.This privilege allows the role to perform operational tasks such as starting and stopping tasks, which includes suspending and resuming them6

asked 23/09/2024
PKE Holding AG Leitgeb
40 questions

Question 337

Report Export Collapse

Which role has the ability to create and manage users and roles?

ORGADMIN
ORGADMIN
USERADMIN
USERADMIN
SYSADMIN
SYSADMIN
SECURITYADMIN
SECURITYADMIN
Suggested answer: B
Explanation:

The USERADMIN role in Snowflake has the ability to create and manage users and roles within the Snowflake environment.This role is specifically dedicated to user and role management and creation

Topic 4, Exam pool D

asked 23/09/2024
Jackes Matos
46 questions

Question 338

Report Export Collapse

Who can activate and enforce a network policy for all users in a Snowflake account? (Select TWO).

A user with an USERADMIN or higher role
A user with an USERADMIN or higher role
A user with a SECURITYADMIN or higher role
A user with a SECURITYADMIN or higher role
A role that has been granted the ATTACH POLICY privilege
A role that has been granted the ATTACH POLICY privilege
A role that has the NETWORK_POLlCY account parameter set
A role that has the NETWORK_POLlCY account parameter set
A role that has the ownership of the network policy
A role that has the ownership of the network policy
Suggested answer: B, E
Explanation:

In Snowflake, a user with the SECURITYADMIN role or higher can activate and enforce a network policy for all users in an account.Additionally, a role that has ownership of the network policy can also activate and enforce it

asked 23/09/2024
Jarrell John Garcia
46 questions

Question 339

Report Export Collapse

A permanent table and temporary table have the same name, TBL1, in a schema.

What will happen if a user executes select * from TBL1 ;?

The temporary table will take precedence over the permanent table.
The temporary table will take precedence over the permanent table.
The permanent table will take precedence over the temporary table.
The permanent table will take precedence over the temporary table.
An error will say there cannot be two tables with the same name in a schema.
An error will say there cannot be two tables with the same name in a schema.
The table that was created most recently will take precedence over the older table.
The table that was created most recently will take precedence over the older table.
Suggested answer: A
Explanation:

In Snowflake, if a temporary table and a permanent table have the same name within the same schema, the temporary table takes precedence over the permanent table within the session where the temporary table was created4.

asked 23/09/2024
Maria Deras
44 questions

Question 340

Report Export Collapse

What function can be used with the recursive argument to return a list of distinct key names in all nested elements in an object?

FLATTEN
FLATTEN
GET_PATH
GET_PATH
CHECK_JSON
CHECK_JSON
PARSE JSON
PARSE JSON
Suggested answer: A
Explanation:

The FLATTEN function can be used with the recursive argument to return a list of distinct key names in all nested elements within an object.This function is particularly useful for working with semi-structured data in Snowflake

asked 23/09/2024
William Hopson
35 questions
Total 716 questions
Go to page: of 72