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

Snowflake COF-R02 Practice Test - Questions Answers, Page 12

List of questions

Question 111

Report Export Collapse

A user has unloaded data from Snowflake to a stage

Which SQL command should be used to validate which data was loaded into the stage?

list @file__stage
list @file__stage
show @file__stage
show @file__stage
view @file__stage
view @file__stage
verify @file__stage
verify @file__stage
Suggested answer: A
asked 23/09/2024
Genivaldo Costa
53 questions

Question 112

Report Export Collapse

What happens when a cloned table is replicated to a secondary database? (Select TWO)

A read-only copy of the cloned tables is stored.
A read-only copy of the cloned tables is stored.
The replication will not be successful.
The replication will not be successful.
The physical data is replicated
The physical data is replicated
Additional costs for storage are charged to a secondary account
Additional costs for storage are charged to a secondary account
Metadata pointers to cloned tables are replicated
Metadata pointers to cloned tables are replicated
Suggested answer: C, D
Explanation:

Cloned objects are replicated physically rather than logically to secondary databases. That is, cloned tables in a standard database do not contribute to the overall data storage unless or until DML operations on the clone add to or modify existing data. However, when a cloned table is replicated to a secondary database, the physical data is also replicated, increasing the data storage usage for your account.

https://docs.snowflake.com/en/user-guide/database-replicationconsiderations.html#:~:text=Replication%20and%20Cloning,-Cloned%20objects%20are&text=However%2C%20when%20a%20cloned%20table,storage%20usage%20for%20your%20account.

asked 23/09/2024
Joseph Lewis
47 questions

Question 113

Report Export Collapse

Which data types does Snowflake support when querying semi-structured data? (Select TWO)

VARIANT
VARIANT
ARRAY
ARRAY
VARCHAR
VARCHAR
XML
XML
BLOB
BLOB
Suggested answer: A, B
Explanation:

https://docs.snowflake.com/en/user-guide/semistructured-intro.html#label-loading-semi-structured-data

A VARIANT stores semi-structured data in Snowflake. It can store a value of any other type, including OBJECT and ARRAY.

The maximum length of a VARIANT is 16 MB.

A Snowflake ARRAY is similar to an array in many other programming languages. An ARRAY contains 0 or more pieces of data. Each element is accessed by specifying its position in the array.

asked 23/09/2024
Dirk van der Watt
35 questions

Question 114

Report Export Collapse

Which of the following describes how multiple Snowflake accounts in a single organization relate to various cloud providers?

Each Snowflake account can be hosted in a different cloud vendor and region.
Each Snowflake account can be hosted in a different cloud vendor and region.
Each Snowflake account must be hosted in a different cloud vendor and region
Each Snowflake account must be hosted in a different cloud vendor and region
All Snowflake accounts must be hosted in the same cloud vendor and region
All Snowflake accounts must be hosted in the same cloud vendor and region
Each Snowflake account can be hosted in a different cloud vendor, but must be in the same region.
Each Snowflake account can be hosted in a different cloud vendor, but must be in the same region.
Suggested answer: B
Explanation:

https://docs.snowflake.com/en/user-guide/intro-regions.html

asked 23/09/2024
Michael Crowson
50 questions

Question 115

Report Export Collapse

A user is loading JSON documents composed of a huge array containing multiple records into Snowflake. The user enables the strip__outer_array file format option What does the STRIP_OUTER_ARRAY file format do?

It removes the last element of the outer array.
It removes the last element of the outer array.
It removes the outer array structure and loads the records into separate table rows,
It removes the outer array structure and loads the records into separate table rows,
It removes the trailing spaces in the last element of the outer array and loads the records into separate table columns
It removes the trailing spaces in the last element of the outer array and loads the records into separate table columns
It removes the NULL elements from the JSON object eliminating invalid data and enables the ability to load the records
It removes the NULL elements from the JSON object eliminating invalid data and enables the ability to load the records
Suggested answer: B
Explanation:

Data Size Limitations

The VARIANT data type imposes a 16 MB size limit on individual rows.

For some semi-structured data formats (e.g. JSON), data sets are frequently a simple concatenation of multiple documents. The JSON output from some software is composed of a single huge array containing multiple records. There is no need to separate the documents with line breaks or commas, though both are supported.

If the data exceeds 16 MB, enable the STRIP_OUTER_ARRAY file format option for the COPY INTO

<table> command to remove the outer array structure and load the records into separate table rows:

copy into <table>

from @~/<file>.json

file_format = (type = 'JSON' strip_outer_array = true);

https://docs.snowflake.com/en/user-guide/semistructured-considerations.html

asked 23/09/2024
istvan Balla
44 questions

Question 116

Report Export Collapse

What are the default Time Travel and Fail-safe retention periods for transient tables?

Time Travel - 1 day. Fail-safe - 1 day
Time Travel - 1 day. Fail-safe - 1 day
Time Travel - 0 days. Fail-safe - 1 day
Time Travel - 0 days. Fail-safe - 1 day
Time Travel - 1 day. Fail-safe - 0 days
Time Travel - 1 day. Fail-safe - 0 days
Transient tables are retained in neither Fail-safe nor Time Travel
Transient tables are retained in neither Fail-safe nor Time Travel
Suggested answer: C
Explanation:

https://docs.snowflake.com/en/user-guide/data-cdp-storagecosts.html#:~:text=Temporary%20and%20Transient%20Tables,-To%20help%20manage&text=Temporary%20tables%20can%20also%20have,have%20no%20Fail%2Dsafe%20period.

asked 23/09/2024
Son Pham Hong
52 questions

Question 117

Report Export Collapse

What is a best practice after creating a custom role?

Create the custom role using the SYSADMIN role.
Create the custom role using the SYSADMIN role.
Assign the custom role to the SYSADMIN role
Assign the custom role to the SYSADMIN role
Assign the custom role to the PUBLIC role
Assign the custom role to the PUBLIC role
Add__CUSTOM to all custom role names
Add__CUSTOM to all custom role names
Suggested answer: B
Explanation:

When creating roles that will serve as the owners of securable objects in the system, Snowflake recommends creating a hierarchy of custom roles, with the top-most custom role assigned to the system role SYSADMIN. This role structure allows system administrators to manage all objects in the account, such as warehouses and database objects, while restricting management of users and roles to the USERADMIN role.

asked 23/09/2024
Tobias Wartenweiler
36 questions

Question 118

Report Export Collapse

Which of the following Snowflake objects can be shared using a secure share? (Select TWO).

Materialized views
Materialized views
Sequences
Sequences
Procedures
Procedures
Tables
Tables
Secure User Defined Functions (UDFs)
Secure User Defined Functions (UDFs)
Suggested answer: D, E
Explanation:

Secure Data Sharing enables sharing selected objects in a database in your account with other Snowflake accounts. The following Snowflake database objects can be shared:

Tables

External tables

Secure views

Secure materialized views

Secure UDFs

https://docs.snowflake.com/en/user-guide/data-sharing-intro.html

asked 23/09/2024
Arnaud DUTEL
36 questions

Question 119

Report Export Collapse

Will data cached in a warehouse be lost when the warehouse is resized?

Possibly, if the warehouse is resized to a smaller size and the cache no longer fits.
Possibly, if the warehouse is resized to a smaller size and the cache no longer fits.
Yes. because the compute resource is replaced in its entirety with a new compute resource.
Yes. because the compute resource is replaced in its entirety with a new compute resource.
No. because the size of the cache is independent from the warehouse size
No. because the size of the cache is independent from the warehouse size
Yes. became the new compute resource will no longer have access to the cache encryption key
Yes. became the new compute resource will no longer have access to the cache encryption key
Suggested answer: A
asked 23/09/2024
Jermaine Wells
43 questions

Question 120

Report Export Collapse

Which Snowflake partner specializes in data catalog solutions?

Alation
Alation
DataRobot
DataRobot
dbt
dbt
Tableau
Tableau
Suggested answer: A
Explanation:

Alation provides Data Cataloging functionality. They state they are the 'One Place to Find, Understand, & Govern Data Across an Enterprise.

https://docs.snowflake.com/en/user-guide/ecosystem-all.html

asked 23/09/2024
Janson Chong
30 questions
Total 330 questions
Go to page: of 33