ExamGecko
Home Home / Snowflake / COF-C02

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

Question list
Search
Search

What COPY INTO SQL command should be used to unload data into multiple files?

A.
SINGLE=TRUE
A.
SINGLE=TRUE
Answers
B.
MULTIPLE=TRUE
B.
MULTIPLE=TRUE
Answers
C.
MULTIPLE=FALSE
C.
MULTIPLE=FALSE
Answers
D.
SINGLE=FALSE
D.
SINGLE=FALSE
Answers
Suggested answer: D

Explanation:

The COPY INTO SQL command with the optionSINGLE=FALSEis used to unload data into multiple files. This option allows the data to be split into multiple files during the unload process.References:SnowPro Core Certification COPY INTO SQL command unload multiple files

When cloning a database containing stored procedures and regular views, that have fully qualified table references, which of the following will occur?

A.
The cloned views and the stored procedures will reference the cloned tables in the cloned database.
A.
The cloned views and the stored procedures will reference the cloned tables in the cloned database.
Answers
B.
An error will occur, as views with qualified references cannot be cloned.
B.
An error will occur, as views with qualified references cannot be cloned.
Answers
C.
An error will occur, as stored objects cannot be cloned.
C.
An error will occur, as stored objects cannot be cloned.
Answers
D.
The stored procedures and views will refer to tables in the source database.
D.
The stored procedures and views will refer to tables in the source database.
Answers
Suggested answer: A

Explanation:

When cloning a database containing stored procedures and regular views with fully qualified table references, the cloned views and stored procedures will reference the cloned tables in the cloned database (A). This ensures that the cloned database is a self-contained copy of the original, with all references pointing to objects within the same cloned database.References:SnowPro Core Certification cloning database stored procedures views

When loading data into Snowflake, how should the data be organized?

A.
Into single files with 100-250 MB of compressed data per file
A.
Into single files with 100-250 MB of compressed data per file
Answers
B.
Into single files with 1-100 MB of compressed data per file
B.
Into single files with 1-100 MB of compressed data per file
Answers
C.
Into files of maximum size of 1 GB of compressed data per file
C.
Into files of maximum size of 1 GB of compressed data per file
Answers
D.
Into files of maximum size of 4 GB of compressed data per file
D.
Into files of maximum size of 4 GB of compressed data per file
Answers
Suggested answer: A

Explanation:

When loading data into Snowflake, it is recommended to organize the data into single files with 100-250 MB of compressed data per file. This size range is optimal for parallel processing and can help in achieving better performance during data loading operations.References:[COF-C02] SnowPro Core Certification Exam Study Guide

Which of the following objects can be directly restored using the UNDROP command? (Choose two.)

A.
Schema
A.
Schema
Answers
B.
View
B.
View
Answers
C.
Internal stage
C.
Internal stage
Answers
D.
Table
D.
Table
Answers
E.
User
E.
User
Answers
F.
Role
F.
Role
Answers
Suggested answer: B, D

Explanation:

The UNDROP command in Snowflake can be used to directly restore Views and Tables. These objects, when dropped, are moved to a 'Recycle Bin' where they can be restored within a time limit before they are permanently deleted.References:[COF-C02] SnowPro Core Certification Exam Study Guide

Which Snowflake SQL statement would be used to determine which users and roles have access to a role called MY_ROLE?

A.
SHOW GRANTS OF ROLE MY_ROLE
A.
SHOW GRANTS OF ROLE MY_ROLE
Answers
B.
SHOW GRANTS TO ROLE MY_ROLE
B.
SHOW GRANTS TO ROLE MY_ROLE
Answers
C.
SHOW GRANTS FOR ROLE MY_ROLE
C.
SHOW GRANTS FOR ROLE MY_ROLE
Answers
D.
SHOW GRANTS ON ROLE MY_ROLE
D.
SHOW GRANTS ON ROLE MY_ROLE
Answers
Suggested answer: B

Explanation:

The SQL statementSHOW GRANTS TO ROLE MY_ROLEis used to determine which users and roles have access to a role called MY_ROLE. This statement lists all the privileges granted to the role, including which roles and users can assume MY_ROLE.References:[COF-C02] SnowPro Core Certification Exam Study Guide

What is the MINIMUM edition of Snowflake that is required to use a SCIM security integration?

A.
Business Critical Edition
A.
Business Critical Edition
Answers
B.
Standard Edition
B.
Standard Edition
Answers
C.
Virtual Private Snowflake (VPS)
C.
Virtual Private Snowflake (VPS)
Answers
D.
Enterprise Edition
D.
Enterprise Edition
Answers
Suggested answer: D

Explanation:

The minimum edition of Snowflake required to use a SCIM security integration is the Enterprise Edition. SCIM integrations are used for automated management of user identities and groups, and this feature is available starting from the Enterprise Edition of Snowflake.References:[COF-C02] SnowPro Core Certification Exam Study Guide

A user created a transient table and made several changes to it over the course of several days. Three days after the table was created, the user would like to go back to the first version of the table.

How can this be accomplished?

A.
Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
A.
Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
Answers
B.
The transient table version cannot be retrieved after 24 hours.
B.
The transient table version cannot be retrieved after 24 hours.
Answers
C.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
C.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
Answers
D.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
D.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
Answers
Suggested answer: A

Explanation:

To go back to the first version of a transient table created three days prior, one can use Time Travel if theDATA_RETENTION_TIME_IN_DAYSwas set to at least 3 days. This allows the user to access historical data within the specified retention period.References:[COF-C02] SnowPro Core Certification Exam Study Guide

Which of the following features, associated with Continuous Data Protection (CDP), require additional Snowflake-provided data storage? (Choose two.)

A.
Tri-Secret Secure
A.
Tri-Secret Secure
Answers
B.
Time Travel
B.
Time Travel
Answers
C.
Fail-safe
C.
Fail-safe
Answers
D.
Data encryption
D.
Data encryption
Answers
E.
External stages
E.
External stages
Answers
Suggested answer: B, C

Explanation:

The features associated with Continuous Data Protection (CDP) that require additional Snowflake-provided data storage are Time Travel and Fail-safe. Time Travel allows users to access historical data within a defined period, while Fail-safe provides an additional layer of data protection beyond the Time Travel period.References:[COF-C02] SnowPro Core Certification Exam Study Guide

Where can a user find and review the failed logins of a specific user for the past 30 days?

A.
The USERS view in ACCOUNT_USAGE
A.
The USERS view in ACCOUNT_USAGE
Answers
B.
The LOGIN_HISTORY view in ACCOUNT_USAGE
B.
The LOGIN_HISTORY view in ACCOUNT_USAGE
Answers
C.
The ACCESS_HISTORY view in ACCOUNT_USAGE
C.
The ACCESS_HISTORY view in ACCOUNT_USAGE
Answers
D.
The SESSIONS view in ACCOUNT_USAGE
D.
The SESSIONS view in ACCOUNT_USAGE
Answers
Suggested answer: B

Explanation:

The LOGIN_HISTORY view in the ACCOUNT_USAGE schema provides information about login attempts, including both successful and failed logins. This view can be used to review the failed login attempts of a specific user for the past 30 days.References:[COF-C02] SnowPro Core Certification Exam Study Guide

Which of the following statements apply to Snowflake in terms of security? (Choose two.)

A.
Snowflake leverages a Role-Based Access Control (RBAC) model.
A.
Snowflake leverages a Role-Based Access Control (RBAC) model.
Answers
B.
Snowflake requires a user to configure an IAM user to connect to the database.
B.
Snowflake requires a user to configure an IAM user to connect to the database.
Answers
C.
All data in Snowflake is encrypted.
C.
All data in Snowflake is encrypted.
Answers
D.
Snowflake can run within a user's own Virtual Private Cloud (VPC).
D.
Snowflake can run within a user's own Virtual Private Cloud (VPC).
Answers
E.
All data in Snowflake is compressed.
E.
All data in Snowflake is compressed.
Answers
Suggested answer: A, C

Explanation:

Snowflake uses a Role-Based Access Control (RBAC) model to manage access to data and resources. Additionally, Snowflake ensures that all data is encrypted, both at rest and in transit, to provide a high level of security for data stored within the platform.References:[COF-C02] SnowPro Core Certification Exam Study Guide

Total 716 questions
Go to page: of 72