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

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

List of questions

Question 171

Report Export Collapse

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

SINGLE=TRUE
SINGLE=TRUE
MULTIPLE=TRUE
MULTIPLE=TRUE
MULTIPLE=FALSE
MULTIPLE=FALSE
SINGLE=FALSE
SINGLE=FALSE
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

asked 23/09/2024
Darren Sloan
46 questions

Question 172

Report Export Collapse

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

The cloned views and the stored procedures will reference the cloned tables in the cloned database.
The cloned views and the stored procedures will reference the cloned tables in the cloned database.
An error will occur, as views with qualified references cannot be cloned.
An error will occur, as views with qualified references cannot be cloned.
An error will occur, as stored objects cannot be cloned.
An error will occur, as stored objects cannot be cloned.
The stored procedures and views will refer to tables in the source database.
The stored procedures and views will refer to tables in the source database.
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

asked 23/09/2024
Aparecido Primo
43 questions

Question 173

Report Export Collapse

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

Into single files with 100-250 MB of compressed data per file
Into single files with 100-250 MB of compressed data per file
Into single files with 1-100 MB of compressed data per file
Into single files with 1-100 MB of compressed data per file
Into files of maximum size of 1 GB of compressed data per file
Into files of maximum size of 1 GB of compressed data per file
Into files of maximum size of 4 GB of compressed data per file
Into files of maximum size of 4 GB of compressed data per file
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

asked 23/09/2024
Natcha Koopipat
45 questions

Question 174

Report Export Collapse

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

Schema
Schema
View
View
Internal stage
Internal stage
Table
Table
User
User
Role
Role
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

asked 23/09/2024
Kevin Collins
36 questions

Question 175

Report Export Collapse

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

SHOW GRANTS OF ROLE MY_ROLE
SHOW GRANTS OF ROLE MY_ROLE
SHOW GRANTS TO ROLE MY_ROLE
SHOW GRANTS TO ROLE MY_ROLE
SHOW GRANTS FOR ROLE MY_ROLE
SHOW GRANTS FOR ROLE MY_ROLE
SHOW GRANTS ON ROLE MY_ROLE
SHOW GRANTS ON ROLE MY_ROLE
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

asked 23/09/2024
Gishi Anurag
30 questions

Question 176

Report Export Collapse

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

Business Critical Edition
Business Critical Edition
Standard Edition
Standard Edition
Virtual Private Snowflake (VPS)
Virtual Private Snowflake (VPS)
Enterprise Edition
Enterprise Edition
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

asked 23/09/2024
DHANANJAY TIWARI
36 questions

Question 177

Report Export Collapse

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?

Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
Use Time Travel, as long as DATA_RETENTION_TIME_IN_DAYS was set to at least 3 days.
The transient table version cannot be retrieved after 24 hours.
The transient table version cannot be retrieved after 24 hours.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
Contact Snowflake Support to have the data retrieved from Fail-safe storage.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.
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

asked 23/09/2024
Kehinde Ifarinde
49 questions

Question 178

Report Export Collapse

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

Tri-Secret Secure
Tri-Secret Secure
Time Travel
Time Travel
Fail-safe
Fail-safe
Data encryption
Data encryption
External stages
External stages
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

asked 23/09/2024
soufiane chafik
45 questions

Question 179

Report Export Collapse

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

The USERS view in ACCOUNT_USAGE
The USERS view in ACCOUNT_USAGE
The LOGIN_HISTORY view in ACCOUNT_USAGE
The LOGIN_HISTORY view in ACCOUNT_USAGE
The ACCESS_HISTORY view in ACCOUNT_USAGE
The ACCESS_HISTORY view in ACCOUNT_USAGE
The SESSIONS view in ACCOUNT_USAGE
The SESSIONS view in ACCOUNT_USAGE
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

asked 23/09/2024
vault ghz
30 questions

Question 180

Report Export Collapse

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

Snowflake leverages a Role-Based Access Control (RBAC) model.
Snowflake leverages a Role-Based Access Control (RBAC) model.
Snowflake requires a user to configure an IAM user to connect to the database.
Snowflake requires a user to configure an IAM user to connect to the database.
All data in Snowflake is encrypted.
All data in Snowflake is encrypted.
Snowflake can run within a user's own Virtual Private Cloud (VPC).
Snowflake can run within a user's own Virtual Private Cloud (VPC).
All data in Snowflake is compressed.
All data in Snowflake is compressed.
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

asked 23/09/2024
Rakesh Sharma
41 questions
Total 716 questions
Go to page: of 72