ExamGecko
Home Home / Snowflake / COF-R02

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

Question list
Search
Search

Which of the following objects can be shared through secure data sharing?

A.
Masking policy
A.
Masking policy
Answers
B.
Stored procedure
B.
Stored procedure
Answers
C.
Task
C.
Task
Answers
D.
External table
D.
External table
Answers
Suggested answer: D

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

Snowflake enables the sharing of databases through shares, which are created by data providers and “imported” by data consumers.

https://docs.snowflake.com/en/user-guide/data-sharingintro.html#:~:text=Secure%20Data%20Sharing%20enables%20sharing,External%20tables

Which of the following commands cannot be used within a reader account?

A.
CREATE SHARE
A.
CREATE SHARE
Answers
B.
ALTER WAREHOUSE
B.
ALTER WAREHOUSE
Answers
C.
DROP ROLE
C.
DROP ROLE
Answers
D.
SHOW SCHEMAS
D.
SHOW SCHEMAS
Answers
E.
DESCRBE TABLE
E.
DESCRBE TABLE
Answers
Suggested answer: B

Explanation:

A reader account is intended primarily for querying data shared by the provider of the account.

Adding new data to the account and/or updating shared data in the account is not supported.

Changing the configuration of virtual warehouses is also not permitted as those resources are owned and managed by the provider of the account which is sharing the data.

A user unloaded a Snowflake table called mytable to an internal stage called mystage.

Which command can be used to view the list of files that has been uploaded to the staged?

A.
list @mytable;
A.
list @mytable;
Answers
B.
list @%raytable;
B.
list @%raytable;
Answers
C.
list @ %m.ystage;
C.
list @ %m.ystage;
Answers
D.
list @mystage;
D.
list @mystage;
Answers
Suggested answer: D

Which of the following Snowflake capabilities are available in all Snowflake editions? (Select TWO)

A.
Customer-managed encryption keys through Tri-Secret Secure
A.
Customer-managed encryption keys through Tri-Secret Secure
Answers
B.
Automatic encryption of all data
B.
Automatic encryption of all data
Answers
C.
Up to 90 days of data recovery through Time Travel
C.
Up to 90 days of data recovery through Time Travel
Answers
D.
Object-level access control
D.
Object-level access control
Answers
E.
Column-level security to apply data masking policies to tables and views
E.
Column-level security to apply data masking policies to tables and views
Answers
Suggested answer: B, D

Explanation:

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

Which command is used to unload data from a Snowflake table into a file in a stage?

A.
COPY INTO
A.
COPY INTO
Answers
B.
GET
B.
GET
Answers
C.
WRITE
C.
WRITE
Answers
D.
EXTRACT INTO
D.
EXTRACT INTO
Answers
Suggested answer: A

Explanation:

https://docs.snowflake.com/en/user-guide/data-unloadsnowflake.html#:~:text=Your%20User%20Stage-,Use%20the%20COPY%20INTO%20command%20to%20unload%20all%20the,more%20files%20in%20your%20stage.

How often are encryption keys automatically rotated by Snowflake?

A.
30 Days
A.
30 Days
Answers
B.
60 Days
B.
60 Days
Answers
C.
90 Days
C.
90 Days
Answers
D.
365 Days
D.
365 Days
Answers
Suggested answer: A

Explanation:

All Snowflake-managed keys are automatically rotated by Snowflake when they are more than 30 days old. Active keys are retired, and new keys are created. When Snowflake determines the retired key is no longer needed, the key is automatically destroyed.

https://docs.snowflake.com/en/user-guide/security-encryptionmanage.html#:~:text=All%20Snowflake%2Dmanaged%20keys%20are,the%20key%20is%20automatically%20destroyed.

What are value types that a VARIANT column can store? (Select TWO)

A.
STRUCT
A.
STRUCT
Answers
B.
OBJECT
B.
OBJECT
Answers
C.
BINARY
C.
BINARY
Answers
D.
ARRAY
D.
ARRAY
Answers
E.
CLOB
E.
CLOB
Answers
Suggested answer: B, D

Explanation:

Characteristics of a VARIANT

A VARIANT can store a value of any other type, including OBJECT and ARRAY. The maximum length of a VARIANT is 16 MB.

https://docs.snowflake.com/en/sql-reference/data-types-semistructured.html#:~:text=VARIANT-,Characteristics%20of%20a%20VARIANT,a%20VARIANT%20is%2016%20MB.

A user has an application that writes a new Tile to a cloud storage location every 5 minutes.

What would be the MOST efficient way to get the files into Snowflake?

A.
Create a task that runs a copy into operation from an external stage every 5 minutes
A.
Create a task that runs a copy into operation from an external stage every 5 minutes
Answers
B.
Create a task that puts the files in an internal stage and automate the data loading wizard
B.
Create a task that puts the files in an internal stage and automate the data loading wizard
Answers
C.
Create a task that runs a GET operation to intermittently check for new files
C.
Create a task that runs a GET operation to intermittently check for new files
Answers
D.
Set up cloud provider notifications on the Tile location and use Snowpipe with auto-ingest
D.
Set up cloud provider notifications on the Tile location and use Snowpipe with auto-ingest
Answers
Suggested answer: D

Explanation:

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

Which of the following are best practice recommendations that should be considered when loading data into Snowflake? (Select TWO).

A.
Load files that are approximately 25 MB or smaller.
A.
Load files that are approximately 25 MB or smaller.
Answers
B.
Remove all dates and timestamps.
B.
Remove all dates and timestamps.
Answers
C.
Load files that are approximately 100-250 MB (or larger)
C.
Load files that are approximately 100-250 MB (or larger)
Answers
D.
Avoid using embedded characters such as commas for numeric data types
D.
Avoid using embedded characters such as commas for numeric data types
Answers
E.
Remove semi-structured data types
E.
Remove semi-structured data types
Answers
Suggested answer: C, D

Explanation:

https://docs.snowflake.com/en/user-guide/data-load-considerations-prepare.html

A user has 10 files in a stage containing new customer dat a. The ingest operation completes with no errors, using the following command:

COPY INTO my__table FROM @my__stage;

The next day the user adds 10 files to the stage so that now the stage contains a mixture of new customer data and updates to the previous data. The user did not remove the 10 original files.

If the user runs the same copy into command what will happen?

A.
All data from all of the files on the stage will be appended to the table
A.
All data from all of the files on the stage will be appended to the table
Answers
B.
Only data about new customers from the new files will be appended to the table
B.
Only data about new customers from the new files will be appended to the table
Answers
C.
The operation will fail with the error uncertain files in stage.
C.
The operation will fail with the error uncertain files in stage.
Answers
D.
All data from only the newly-added files will be appended to the table.
D.
All data from only the newly-added files will be appended to the table.
Answers
Suggested answer: A
Total 330 questions
Go to page: of 33