ExamGecko
Home Home / Snowflake / SnowPro Core

Snowflake SnowPro Core Practice Test - Questions Answers, Page 25

Question list
Search
Search

User INQUISITIVE_PERSON has been granted the role DATA_SCIENCE. The role DATA_SCIENCE has privileges OWNERSHIP on the schema MARKETING of the database ANALYTICS_DW.

Which command will show all privileges granted to that schema?

A.
SHOW GRANTS ON ROLE DATA_SCIENCE
A.
SHOW GRANTS ON ROLE DATA_SCIENCE
Answers
B.
SHOW GRANTS ON SCHEMA ANALYTICS_DW.MARKETING
B.
SHOW GRANTS ON SCHEMA ANALYTICS_DW.MARKETING
Answers
C.
SHOW GRANTS TO USER INQUISITIVE_PERSON
C.
SHOW GRANTS TO USER INQUISITIVE_PERSON
Answers
D.
SHOW GRANTS OF ROLE DATA_SCIENCE
D.
SHOW GRANTS OF ROLE DATA_SCIENCE
Answers
Suggested answer: B

Explanation:

To show all privileges granted to a specific schema, the commandSHOW GRANTS ON SCHEMA <schema_name>should be used3. In this case, it would beSHOW GRANTS ON SCHEMA ANALYTICS_DW.MARKETING.

Reference: [COF-C02] SnowPro Core Certification Exam Study Guide

The bulk data load history that is available upon completion of the COPY statement is stored where and for how long?

A.
In the metadata of the target table for 14 days
A.
In the metadata of the target table for 14 days
Answers
B.
In the metadata of the pipe for 14 days
B.
In the metadata of the pipe for 14 days
Answers
C.
In the metadata of the target table for 64 days
C.
In the metadata of the target table for 64 days
Answers
D.
In the metadata of the pipe for 64 days
D.
In the metadata of the pipe for 64 days
Answers
Suggested answer: D

Explanation:

The bulk data load history available after a COPY statement is stored in the metadata of the pipe and is retained for 64 days1.

For non-materialized views, what column in Information Schema and Account Usage identifies whether a view is secure or not?

A.
CHECK_OPTION
A.
CHECK_OPTION
Answers
B.
IS_SECURE
B.
IS_SECURE
Answers
C.
IS_UPDATEABLE
C.
IS_UPDATEABLE
Answers
D.
TABLE_NAME
D.
TABLE_NAME
Answers
Suggested answer: B

Explanation:

In the Information Schema and Account Usage, the column that identifies whether a view is secure or not isIS_SECURE2.

A company needs to read multiple terabytes of data for an initial load as part of a Snowflake migration. The company can control the number and size of CSV extract files.

How does Snowflake recommend maximizing the load performance?

A.
Use auto-ingest Snowpipes to load large files in a serverless model.
A.
Use auto-ingest Snowpipes to load large files in a serverless model.
Answers
B.
Produce the largest files possible, reducing the overall number of files to process.
B.
Produce the largest files possible, reducing the overall number of files to process.
Answers
C.
Produce a larger number of smaller files and process the ingestion with size Small virtual warehouses.
C.
Produce a larger number of smaller files and process the ingestion with size Small virtual warehouses.
Answers
D.
Use an external tool to issue batched row-by-row inserts within BEGIN TRANSACTION and COMMIT commands.
D.
Use an external tool to issue batched row-by-row inserts within BEGIN TRANSACTION and COMMIT commands.
Answers
Suggested answer: B

Explanation:

Snowflake's documentation recommends producing the largest files possible for data loading, as larger files reduce the number of files to process and the overhead associated with handling many small files.This approach can maximize the load performance by leveraging Snowflake's ability to ingest large files efficiently1.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

If a Snowflake user decides a table should be clustered, what should be used as the cluster key?

A.
The columns that are queried in the select clause.
A.
The columns that are queried in the select clause.
Answers
B.
The columns with very high cardinality.
B.
The columns with very high cardinality.
Answers
C.
The columns with many different values.
C.
The columns with many different values.
Answers
D.
The columns most actively used in the select filters.
D.
The columns most actively used in the select filters.
Answers
Suggested answer: D

Explanation:

When deciding on a clustering key for a table, Snowflake recommends using the columns that are most actively used in the select filters.This is because clustering by these columns can improve the performance of queries that filter on these values, leading to more efficient scans and better overall query performance2.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

What is the MINIMUM Snowflake edition required to use the periodic rekeying of micro-partitions?

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

Explanation:

Periodic rekeying of micro-partitions is a feature that requires the Enterprise Edition of Snowflake or higher.This feature is part of Snowflake's comprehensive approach to encryption key management, ensuring data security through regular rekeying1.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

What privilege should a user be granted to change permissions for new objects in a managed access schema?

A.
Grant the OWNERSHIP privilege on the schema.
A.
Grant the OWNERSHIP privilege on the schema.
Answers
B.
Grant the OWNERSHIP privilege on the database.
B.
Grant the OWNERSHIP privilege on the database.
Answers
C.
Grant the MANAGE GRANTS global privilege.
C.
Grant the MANAGE GRANTS global privilege.
Answers
D.
Grant ALL privileges on the schema.
D.
Grant ALL privileges on the schema.
Answers
Suggested answer: C

Explanation:

To change permissions for new objects in a managed access schema, a user should be granted the MANAGE GRANTS global privilege.This privilege allows the user to manage access control through grants on all securable objects within Snowflake2.Reference:[COF-C02] SnowPro Core Certification Exam Study Guide

A materialized view should be created when which of the following occurs? (Choose two.)

A.
There is minimal cost associated with running the query.
A.
There is minimal cost associated with running the query.
Answers
B.
The query consumes many compute resources every time it runs.
B.
The query consumes many compute resources every time it runs.
Answers
C.
The base table gets updated frequently.
C.
The base table gets updated frequently.
Answers
D.
The query is highly optimized and does not consume many compute resources.
D.
The query is highly optimized and does not consume many compute resources.
Answers
E.
The results of the query do not change often and are used frequently.
E.
The results of the query do not change often and are used frequently.
Answers
Suggested answer: B, E

Explanation:

A materialized view is beneficial when the query consumes many compute resources every time it runs (B), and when the results of the query do not change often and are used frequently (E).This is because materialized views store pre-computed data, which can speed up query performance for workloads that are run frequently or are complex

Which privilege must be granted to a share to allow secure views the ability to reference data in multiple databases?

A.
CREATE_SHARE on the account
A.
CREATE_SHARE on the account
Answers
B.
SHARE on databases and schemas
B.
SHARE on databases and schemas
Answers
C.
SELECT on tables used by the secure view
C.
SELECT on tables used by the secure view
Answers
D.
REFERENCE_USAGE on databases
D.
REFERENCE_USAGE on databases
Answers
Suggested answer: D

Explanation:

To allow secure views the ability to reference data in multiple databases, the REFERENCE_USAGE privilege must be granted on each database that contains objects referenced by the secure view2. This privilege is necessary before granting the SELECT privilege on a secure view to a share.

Which feature allows a user the ability to control the organization of data in a micro-partition?

A.
Range Partitioning
A.
Range Partitioning
Answers
B.
Search Optimization Service
B.
Search Optimization Service
Answers
C.
Automatic Clustering
C.
Automatic Clustering
Answers
D.
Horizontal Partitioning
D.
Horizontal Partitioning
Answers
Suggested answer: C

Explanation:

Automatic Clustering is a feature that allows users to control the organization of data within micro-partitions in Snowflake.By defining clustering keys, Snowflake can automatically reorganize the data in micro-partitions to optimize query performance1.

Total 627 questions
Go to page: of 63