New Year Special Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Snowflake > SnowPro Core Certification > COF-C02

COF-C02 SnowPro Core Certification Exam Question and Answers

Question # 4

What should be considered when deciding to use a secure view? (Select TWO).

A.

No details of the query execution plan will be available in the query profiler.

B.

Once created there is no way to determine if a view is secure or not.

C.

Secure views do not take advantage of the same internal optimizations as standard views.

D.

It is not possible to create secure materialized views.

E.

The view definition of a secure view is still visible to users by way of the information schema.

Full Access
Question # 5

Which statement describes Snowflake tables?

A.

Snowflake tables arc logical representation of underlying physical data.

B.

Snowflake tables are the physical instantiation of data loaded into Snowflake.

C.

Snowflake tables require that clustering keys be defined lo perform optimally.

D.

Snowflake tables are owned by a use.

Full Access
Question # 6

Which data types can be used in a Snowflake table that holds semi-structured data? (Select TWO).

A.

ARRAY

B.

BINARY

C.

TEXT

D.

VARIANT

E.

VARCHAK

Full Access
Question # 7

What persistent data structures are used by the search optimization service to improve the performance of point lookups?

A.

Micro-partitions

B.

Clustering keys

C.

Equality searches

D.

Search access paths

Full Access
Question # 8

Which semi-structured file format is a compressed, efficient, columnar data representation?

A.

Avro

B.

JSON

C.

TSV

D.

Parquet

Full Access
Question # 9

What is the benefit of using the STRIP_OUTER_ARRAY parameter with the COPY INTO

command when loading data from a JSON file into a table?

A.

It flattens multiple arrays into a single array.

B.

It removes the outer array structure and loads separate rows of data

C.

It transforms a pivoted table into an array.

D.

It tokenizes each data string using the defined delimiters.

Full Access
command is used when loading data from a JSON file into a table. This parameter removes the outer array structure from the JSON data and loads separate rows of data into the table.

    Understanding the STRIP_OUTER_ARRAY Parameter:

      JSON files often contain data in an array format where multiple records are nested within a single outer array.

      The STRIP_OUTER_ARRAY parameter helps in simplifying the loading process by removing this outer array, allowing each element within the array to be loaded as a separate row in the target table.

    How It Works:

      When the STRIP_OUTER_ARRAY parameter is set to TRUE, Snowflake treats each item within the outer array as an individual record.

      This eliminates the need for additional parsing or transformation steps that would otherwise be required to handle nested arrays.

    Example Usage:

FROM @my_stage/file.json

FILE_FORMAT = (TYPE = 'JSON' STRIP_OUTER_ARRAY = TRUE);

      In this example, the JSON file containing an array of objects is loaded into the table my_table.

      Each object within the array is loaded as a separate row, without the outer array structure.

    Benefits:

      Simplifies data loading: By removing the outer array, the data is directly loaded into the table without additional manipulation.

      Enhances performance: Streamlines the loading process, reducing the complexity and potential errors in handling nested JSON structures.

References:

    Snowflake Documentation: COPY INTO

Snowflake Documentation: JSON File Format Options

Question # 10

What is the default access of a securable object until other access is granted?

A.

No access

B.

Read access

C.

Write access

D.

Full access

Full Access
Question # 11

Which statements reflect valid commands when using secondary roles? (Select TWO).

A.

Use SECONDARY ROLES RESUME

B.

USE SECONDARY ROLES SUSPEND

C.

USE SECONDARY RLES ALL

D.

USE SECONDARY ROLES ADD

E.

Use SECONDARY ROLES NONE

Full Access
Question # 12

How does Snowflake utilize clustering information to improve query performance?

A.

It prunes unnecessary micro-partitions based on clustering metadata.

B.

It compresses the data within micro-partitions for faster querying.

C.

It automatically allocates additional resources to improve query execution.

D.

It organizes clustering information to speed-up data retrieval from storage

Full Access
Question # 13

What is the PRIMARY factor that determines the cost of using a virtual warehouse in Snowflake?

A.

The type of SQL statements executed

B.

The number of tables or databases queried

C.

The amount of data stored in the warehouse

D.

The length of time the compute resources in each cluster run

Full Access
Question # 14

Which Snowflake object contains all the information required to share a database?

A.

Private listing

B.

Secure view

C.

Sequence

D.

Share

Full Access
Question # 15

A Snowflake user accidentally deleted a table. The table no longer exists, but the session is within the data retention period. How can the table be restored using the LEAST amount of operational overhead?

A.

Clone the table schema as it existed before the table was dropped.

B.

Clone the database as it existed before the table was dropped.

C.

Recreate the table and reload the data.

D.

Run the UNDROP command against the table.

Full Access
Question # 16

Which function returns the URL of a stage using the stage name as the input?

A.

BUILD_STAGE_FILE_URL

B.

BUILD_SCOPED_FILE_URL

C.

GET_PRESIGNED_URL

D.

GET STAGE LOCATION

Full Access
Question # 17

Which task is supported by the use of Access History in Snowflake?

A.

Data backups

B.

Cost monitoring

C.

Compliance auditing

D.

Performance optimization

Full Access
Question # 18

Which command is used to remove files from either external cloud storage or an internal staged

A.

DELETE

B.

REMOVE

C.

TRUNCATE

D.

DROP

Full Access
Question # 19

Which Snowflake table is an implicit object layered on a stage, where the stage can be either internal or external?

A.

Directory table

B.

Temporary table

C.

Transient table

D.

A table with a materialized view

Full Access
Question # 20

Which type of workload traditionally benefits from the use of the query acceleration service?

A.

Workloads with a predictable data volume for each query

B.

Workloads that include on-demand data analyses

C.

Queries with small scans and non-selective filters

D.

Queries that do not have filters or aggregation

Full Access
Question # 21

Which privilege is needed for a SnowFlake user to see the definition of a secure view?

A.

OWNERSHIP

B.

MODIFY

C.

CREATE

D.

USAGE

Full Access
Question # 22

Which chart type is supported in Snowsight for Snowflake users to visualize data with dashboards?

A.

Area chart

B.

Box plot

C.

Heat grid

D.

Pie chart

Full Access
Question # 23

What is the MINIMUM size of a table for which Snowflake recommends considering adding a clustering key?

A.

1 Kilobyte (KB)

B.

1 Megabyte (MB)

C.

1 Gigabyte (GB)

D.

1 Terabyte (TB)

Full Access
Question # 24

Based on Snowflake recommendations, when creating a hierarchy of custom roles, the top-most custom role should be assigned to which role?

A.

ACCOUNTADMIN

B.

SECURITYADMIN

C.

SYSADMIN

D.

USERADMIN

Full Access
Question # 25

Which statistics are displayed in a Query Profile that indicate that intermediate results do not fit in memory? (Select TWO).

A.

Bytes scanned

B.

Partitions scanned

C.

Bytes spilled to local storage

D.

Bytes spilled to remote storage

E.

Percentage scanned from cache

Full Access
Question # 26

Which commands can only be executed using SnowSQL? (Select TWO).

A.

COPY INTO

B.

GET

C.

LIST

D.

PUT

E.

REMOVE

Full Access
Question # 27

A column named "Data" contains VARIANT data and stores values as follows:

How will Snowflake extract the employee's name from the column data?

A.

Data:employee.name

B.

DATA:employee.name

C.

data:Employee.name

D.

data:employee.name

Full Access
Question # 28

Which function can be used to convert semi-structured data into rows and columns?

A.

TABLE

B.

FLATTEN

C.

PARSE_JSON

D.

JSON EXTRACT PATH TEXT

Full Access
Question # 29

For which use cases is running a virtual warehouse required? (Select TWO).

A.

When creating a table

B.

When loading data into a table

C.

When unloading data from a table

D.

When executing a show command

E.

When executing a list command

Full Access
Question # 30

How can performance be optimized for a query that returns a small amount of data from a very large base table?

A.

Use clustering keys

B.

Create materialized views

C.

Use the search optimization service

D.

Use the query acceleration service

Full Access
Question # 31

Which ACCOUNT_USAGE schema database role provides visibility into policy-related information?

A.

USAGE_VIEWER

B.

GOVERNANCE_VIEWER

C.

OBJECT_VIEWER

D.

SECURITY_VIEWER

Full Access
Question # 32

Which Snowflake data types can be used to build nested hierarchical data? (Select TWO)

A.

INTEGER

B.

OBJECT

C.

VARIANT

D.

VARCHAR

E.

LIST

Full Access
Question # 33

What will prevent unauthorized access to a Snowflake account from an unknown source?

A.

Network policy

B.

End-to-end encryption

C.

Multi-Factor Authentication (MFA)

D.

Role-Based Access Control (RBAC)

Full Access
Question # 34

Which Snowflake feature provides increased login security for users connecting to Snowflake that is powered by Duo Security service?

A.

OAuth

B.

Network policies

C.

Single Sign-On (SSO)

D.

Multi-Factor Authentication (MFA)

Full Access
Question # 35

How can a Snowflake administrator determine which user has accessed a database object that contains sensitive information?

A.

Review the granted privileges to the database object.

B.

Review the row access policy for the database object.

C.

Query the ACCESS_HlSTORY view in the ACCOUNT_USAGE schema.

D.

Query the REPLICATION USAGE HISTORY view in the ORGANIZATION USAGE schema.

Full Access
Question # 36

How should clustering be used to optimize the performance of queries that run on a very large table?

A.

Manually re-cluster the table regularly.

B.

Choose one high cardinality column as the clustering key.

C.

Use the column that is most-frequently used in query select clauses as the clustering key.

D.

Assess the average table depth to identify how clustering is impacting the query.

Full Access
Question # 37

How can a Snowflake user validate data that is unloaded using the COPY INTO command?

A.

Load the data into a CSV file.

B.

Load the data into a relational table.

C.

Use the VALlDATlON_MODE - SQL statement.

D.

Use the validation mode = return rows statement.

Full Access
Question # 38

Which Snowflake database object can be used to track data changes made to table data?

A.

Tag

B.

Task

C.

Stream

D.

Stored procedure

Full Access
Question # 39

What is the minimum Snowflake Edition that supports secure storage of Protected Health Information (PHI) data?

A.

Standard Edition

B.

Enterprise Edition

C.

Business Critical Edition

D.

Virtual Private Snowflake Edition

Full Access
Question # 40

Which Snowflake feature allows a user to track sensitive data for compliance, discovery, protection, and resource usage?

A.

Tags

B.

Comments

C.

Internal tokenization

D.

Row access policies

Full Access
Question # 41

Which commands are restricted in owner's rights stored procedures? (Select TWO).

A.

SHOW

B.

MERGE

C.

INSERT

D.

DELETE

E.

DESCRIBE

Full Access
Question # 42

What does a masking policy consist of in Snowflake?

A.

A single data type, with one or more conditions, and one or more masking functions

B.

A single data type, with only one condition, and only one masking function

C.

Multiple data types, with only one condition, and one or more masking functions

D.

Multiple data types, with one or more conditions, and one or more masking functions

Full Access
Question # 43

A permanent table and temporary table have the same name, TBL1, in a schema.

What will happen if a user executes select * from TBL1 ;?

A.

The temporary table will take precedence over the permanent table.

B.

The permanent table will take precedence over the temporary table.

C.

An error will say there cannot be two tables with the same name in a schema.

D.

The table that was created most recently will take precedence over the older table.

Full Access
Question # 44

Which solution improves the performance of point lookup queries that return a small number of rows from large tables using highly selective filters?

A.

Automatic clustering

B.

Materialized views

C.

Query acceleration service

D.

Search optimization service

Full Access
Question # 45

What is the primary purpose of a directory table in Snowflake?

A.

To store actual data from external stages

B.

To automatically expire file URLs for security

C.

To manage user privileges and access control

D.

To store file-level metadata about data files in a stage

Full Access
Question # 46

While working with unstructured data, which file function generates a Snowflake-hosted file URL to a staged file using the stage name and relative file path as inputs?

A.

GET_PRESIGNED_URL

B.

GET_ABSOLUTE_PATH

C.

BUILD_STAGE_FILE_URL

D.

BUILD SCOPED FILE URL

Full Access
Question # 47

Which statistics can be used to identify queries that have inefficient pruning? (Select TWO).

A.

Bytes scanned

B.

Bytes written to result

C.

Partitions scanned

D.

Partitions total

E.

Percentage scanned from cache

Full Access
Question # 48

What step can reduce data spilling in Snowflake?

A.

Using a larger virtual warehouse

B.

Increasing the virtual warehouse maximum timeout limit

C.

Increasing the amount of remote storage for the virtual warehouse

D.

Using a common table expression (CTE) instead of a temporary table

Full Access
Question # 49

Which command is used to unload data from a Snowflake database table into one or more files in a Snowflake stage?

A.

CREATE STAGE

B.

COPY INTO

C.

COPY INTO

D.

CREATE PIPE

Full Access
Question # 50

What does a Notify & Suspend action for a resource monitor do?

A.

Send an alert notification to all account users who have notifications enabled.

B.

Send an alert notification to all virtual warehouse users when thresholds over 100% have been met.

C.

Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses after all statements being executed by the warehouses have completed.

D.

Send a notification to all account administrators who have notifications enabled, and suspend all assigned warehouses immediately, canceling any statements being executed by the warehouses.

Full Access
Question # 51

A tag object has been assigned to a table (TABLE_A) in a schema within a Snowflake database.

Which CREATE object statement will automatically assign the TABLE_A tag to a target object?

A.

CREATE TABLE LIKE TABLE_A;

B.

CREATE VIEW AS SELECT * FROM TABLE_A;

C.

CREATE TABLE AS SELECT * FROM TABLE_A;

D.

CREATE MATERIALIZED VIEW AS SELECT * FROM TABLE A;

Full Access
Question # 52

Which Snowflake view is used to support compliance auditing?

A.

ACCESS_HISTORY

B.

COPY_HISTORY

C.

QUERY_HISTORY

D.

ROW ACCESS POLICIES

Full Access
Question # 53

Which object can be used with Secure Data Sharing?

A.

View

B.

Materialized view

C.

External table

D.

User-Defined Function (UDF)

Full Access
Question # 54

Which operation can be performed on Snowflake external tables?

A.

INSERT

B.

JOIN

C.

RENAME

D.

ALTER

Full Access
Question # 55

What factors impact storage costs in Snowflake? (Select TWO).

A.

The account type

B.

The storage file format

C.

The cloud region used by the account

D.

The type of data being stored

E.

The cloud platform being used

Full Access
Question # 56

Which function unloads data from a relational table to JSON?

A.

TO_OBJECT

B.

TO_JSON

C.

TO_VARIANT

D.

OBJECT CONSTRUCT

Full Access
Question # 57

Which Snowflake function is maintained separately from the data and helps to support features such as Time Travel, Secure Data Sharing, and pruning?

A.

Column compression

B.

Data clustering

C.

Micro-partitioning

D.

Metadata management

Full Access
Question # 58

What function can be used with the recursive argument to return a list of distinct key names in all nested elements in an object?

A.

FLATTEN

B.

GET_PATH

C.

CHECK_JSON

D.

PARSE JSON

Full Access
Question # 59

What are key characteristics of virtual warehouses in Snowflake? (Select TWO).

A.

Warehouses that are multi-cluster can have nodes of different sizes.

B.

Warehouses can be started and stopped at any time.

C.

Warehouses can be resized at any time, even while running.

D.

Warehouses are billed on a per-minute usage basis.

E.

Warehouses can only be used for querying and cannot be used for data loading.

Full Access
Question # 60

Which data types can be used in Snowflake to store semi-structured data? (Select TWO)

A.

ARRAY

B.

BLOB

C.

CLOB

D.

JSON

E.

VARIANT

Full Access
Question # 61

Which operations are handled in the Cloud Services layer of Snowflake? (Select TWO).

A.

Security

B.

Data storage

C.

Data visualization

D.

Query computation

E.

Metadata management

Full Access
Question # 62

What technique does Snowflake use to limit the number of micro-partitions scanned by each query?

A.

B-tree

B.

Indexing

C.

Map reduce

D.

Pruning

Full Access
Question # 63

Which query contains a Snowflake hosted file URL in a directory table for a stage named bronzestage?

A.

list @bronzestage;

B.

select * from directory(@bronzestage);

C.

select metadata$filename from @bronzestage;

D.

select * from table(information_schema.stage_directory_file_registration_history(

stage name=>'bronzestage1));

Full Access
Question # 64

What column type does a Kafka connector store formatted information in a single column?

A.

ARRAY

B.

OBJECT

C.

VARCHAR

D.

VARIANT

Full Access
Question # 65

Which stages are used with the Snowflake PUT command to upload files from a local file system? (Choose three.)

A.

Schema Stage

B.

User Stage

C.

Database Stage

D.

Table Stage

E.

External Named Stage

F.

Internal Named Stage

Full Access
Question # 66

The first user assigned to a new account, ACCOUNTADMIN, should create at least one additional user with which administrative privilege?

A.

USERADMIN

B.

PUBLIC

C.

ORGADMIN

D.

SYSADMIN

Full Access
Question # 67

When unloading data to an external stage, what is the MAXIMUM file size supported?

A.

1 GB

B.

5 GB

C.

10 GB

D.

16 GB

Full Access
Question # 68

What is the recommended way to change the existing file format type in my format from CSV to JSON?

A.

ALTER FILE FORMAT my_format SET TYPE=JSON;

B.

ALTER FILE FORMAT my format SWAP TYPE WITH JSON;

C.

CREATE OR REPLACE FILE FORMAT my format TYPE-JSON;

D.

REPLACE FILE FORMAT my format TYPE-JSON;

Full Access
Question # 69

Using variables in Snowflake is denoted by using which SQL character?

A.

@

B.

&

C.

$

D.

#

Full Access
Question # 70

What type of columns does Snowflake recommend to be used as clustering keys? (Select TWO).

A.

A VARIANT column

B.

A column with very low cardinality

C.

A column with very high cardinality

D.

A column that is most actively used in selective filters

E.

A column that is most actively used in join predicates

Full Access
Question # 71

A user needs to create a materialized view in the schema MYDB.MYSCHEMA. Which statements will provide this access?

A.

GRANT ROLE MYROLE TO USER USER1;

GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO ROLE MYROLE;

B.

GRANT ROLE MYROLE TO USER USER1;

GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO USER USER1;

C.

GRANT ROLE MYROLE TO USER USER1;

GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB. K"-'SCHEMA TO USER! ;

D.

GRANT ROLE MYROLE TO USER USER1;

GRANT CREATE MATERIALIZED VIEW ON SCHEMA MYDB.MYSCHEMA TO MYROLE;

Full Access
Question # 72

What computer language can be selected when creating User-Defined Functions (UDFs) using the Snowpark API?

A.

Swift

B.

JavaScript

C.

Python

D.

SQL

Full Access
Question # 73

What is a characteristic of the Snowflake Query Profile?

A.

It can provide statistics on a maximum number of 100 queries per week.

B.

It provides a graphic representation of the main components of the query processing.

C.

It provides detailed statistics about which queries are using the greatest number of compute resources.

D.

It can be used by third-party software using the Query Profile API.

Full Access
Question # 74

Which privilege is required for a role to be able to resume a suspended warehouse if auto-resume is not enabled?

A.

USAGE

B.

OPERATE

C.

MONITOR

D.

MODIFY

Full Access
Question # 75

Which data type can store more than one type of data structure?

A.

JSON

B.

BINARY

C.

VARCHAR

D.

VARIANT

Full Access
Question # 76

What is used to diagnose and troubleshoot network connections to Snowflake?

A.

SnowCD

B.

Snowpark

C.

Snowsight

D.

SnowSQL

Full Access
Question # 77

How long does Snowflake retain information in the ACCESS HISTORY view?

A.

7 days

B.

14 days

C.

28 days

D.

365 days

Full Access
Question # 78

How many resource monitors can be assigned at the account level?

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 79

How would a user execute a series of SQL statements using a task?

A.

Include the SQL statements in the body of the task CREATE TASK mytask .. AS INSERT INTO target1 SELECT .. FROM stream_s1 WHERE .. INSERT INTO target2 SELECT .. FROM stream_s1

WHERE ..

B.

A stored procedure can have only one DML statement per stored procedure invocation and therefore the user should sequence stored procedure calls in the task definition CREATE TASK mytask .... AS

call stored_proc1(); call stored_proc2();

C.

Use a stored procedure executing multiple SQL statements and invoke the stored procedure from the task. CREATE TASK mytask .... AS call stored_proc_multiple_statements_inside();

D.

Create a task for each SQL statement (e.g. resulting in task1, task2, etc.) and string the series of SQL statements by having a control task calling task1, task2, etc. sequentially.

Full Access
Question # 80

Which Snowflake URL type allows users or applications to download or access files directly from Snowflake stage without authentication?

A.

Directory

B.

File

C.

Pre-signed

D.

Scoped

Full Access
Question # 81

Which Snowflake tool would be BEST to troubleshoot network connectivity?

A.

SnowCLI

B.

SnowUI

C.

SnowSQL

D.

SnowCD

Full Access
Question # 82

Two users share a virtual warehouse named wh dev 01. When one of the users loads data, the other one experiences performance issues while querying data.

How does Snowflake recommend resolving this issue?

A.

Scale up the existing warehouse.

B.

Create separate warehouses for each user.

C.

Create separate warehouses for each workload.

D.

Stop loading and querying data at the same time.

Full Access
Question # 83

How can a user improve the performance of a single large complex query in Snowflake?

A.

Scale up the virtual warehouse.

B.

Scale out the virtual warehouse.

C.

Enable standard warehouse scaling.

D.

Enable economy warehouse scaling.

Full Access
Question # 84

How does a scoped URL expire?

A.

When the data cache clears.

B.

When the persisted query result period ends.

C.

The encoded URL access is permanent.

D.

The length of time is specified in the expiration_time argument.

Full Access
Question # 85

Network policies can be applied to which of the following Snowflake objects? (Choose two.)

A.

Roles

B.

Databases

C.

Warehouses

D.

Users

E.

Accounts

Full Access
Question # 86

A data provider wants to share data with a consumer who does not have a Snowflake account. The provider creates a reader account for the consumer following these steps:

1. Created a user called "CONSUMER"

2. Created a database to hold the share and an extra-small warehouse to query the data

3. Granted the role PUBLIC the following privileges: Usage on the warehouse, database, and schema, and SELECT on all the objects in the share

Based on this configuration what is true of the reader account?

A.

The reader account will automatically use the Standard edition of Snowflake.

B.

The reader account compute will be billed to the provider account.

C.

The reader account can clone data the provider has shared, but cannot re-share it.

D.

The reader account can create a copy of the shared data using CREATE TABLE AS...

Full Access
Question # 87

When would Snowsight automatically detect if a target account is in a different region and enable cross-cloud auto-fulfillment?

A.

When using a paid listing on the Snowflake Marketplace

B.

When using a private listing on the Snowflake Marketplace

C.

When using a personalized listing on the Snowflake Marketplace

D.

When using a Direct Share with another account

Full Access
Question # 88

Which items are considered schema objects in Snowflake? (Select TWO).

A.

Pipe

B.

File format

C.

Resource monitor

D.

Storage integration

E.

Virtual warehouse

Full Access
Question # 89

A view is defined on a permanent table. A temporary table with the same name is created in the same schema as the referenced table. What will the query from the view return?

A.

The data from the permanent table.

B.

The data from the temporary table.

C.

An error stating that the view could not be compiled.

D.

An error stating that the referenced object could not be uniquely identified.

Full Access
Question # 90

How can a Snowflake user optimize query performance in Snowflake? (Select TWO).

A.

Create a view.

B.

Cluster a table.

C.

Enable the search optimization service.

D.

Enable Time Travel.

E.

Index a table.

Full Access
Question # 91

Which type of join will list a I rows in the specified table, even if those rows have no match in the other table?

A.

Cross join

B.

Inner join

C.

Natural join

D.

Outer join

Full Access
Question # 92

What is a responsibility of Snowflake’s virtual warehouses?

A.

Infrastructure management

B.

Metadata management

C.

Query execution

D.

Query parsing and optimization

E.

Permanent storage of micro-partitions

Full Access
Question # 93

Which of the following practices are recommended when creating a user in Snowflake? (Choose two.)

A.

Configure the user to be initially disabled.

B.

Force an immediate password change.

C.

Set a default role for the user.

D.

Set the number of minutes to unlock to 15 minutes.

E.

Set the user's access to expire within a specified timeframe.

Full Access
Question # 94

What are advantages clones have over tables created with CREATE TABLE AS SELECT statement? (Choose two.)

A.

The clone always stays in sync with the original table.

B.

The clone has better query performance.

C.

The clone is created almost instantly.

D.

The clone will have time travel history from the original table.

E.

The clone saves space by not duplicating storage.

Full Access
Question # 95

Which of the following can be used when unloading data from Snowflake? (Choose two.)

A.

When unloading semi-structured data, it is recommended that the STRIP_OUTER_ARRAY option be used.

B.

Use the ENCODING file format option to change the encoding from the default UTF-8.

C.

The OBJECT_CONSTRUCT function can be used to convert relational data to semi-structured data.

D.

By using the SINGLE = TRUE parameter, a single file up to 5 GB in size can be exported to the storage layer.

E.

Use the PARSE_JSON function to ensure structured data will be unloaded into the VARIANT data type.

Full Access
Question # 96

What criteria does Snowflake use to determine the current role when initiating a session? (Select TWO).

A.

If a role was specified as part of the connection and that role has been granted to the Snowflake user, the specified role becomes the current role.

B.

If no role was specified as part of the connection and a default role has been defined for the Snowflake user, that role becomes the current role.

C.

If no role was specified as part of the connection and a default role has not been set for the Snowflake user, the session will not be initiated and the log in will fail.

D.

If a role was specified as part of the connection and that role has not been granted to the Snowflake user, it will be ignored and the default role will become the current role.

E.

If a role was specified as part of the connection and that role has not been granted to the Snowflake user, the role is automatically granted and it becomes the current role.

Full Access
Question # 97

What should be used when creating a CSV file format where the columns are wrapped by single quotes or double quotes?

A.

BINARY_FORMAT

B.

ESCAPE_UNENCLOSED_FIELD

C.

FIELD_OPTIONALLY_ENCLOSED_BY

D.

SKIP BYTE ORDER MARK

Full Access
Question # 98

What is the MINIMUM permission needed to access a file URL from an external stage?

A.

MODIFY

B.

READ

C.

SELECT

D.

USAGE

Full Access
Question # 99

What are characteristic of Snowsight worksheet? (Select TWO.)

A.

Worksheets can be grouped under folder, and a folder of folders.

B.

Each worksheet is a unique Snowflake session.

C.

Users are limited to running only one on a worksheet.

D.

The Snowflake session ends when a user switches worksheets.

E.

Users can import worksheets and share them with other users.

Full Access
Question # 100

Which Snowflake edition offers the highest level of security for organizations that have the strictest requirements?

A.

Standard

B.

Enterprise

C.

Business Critical

D.

Virtual Private Snowflake (VPS)

Full Access
Question # 101

The VALIDATE table function has which parameter as an input argument for a Snowflake user?

A.

Last_QUERY_ID

B.

CURRENT_STATEMENT

C.

UUID_STRING

D.

JOB_ID

Full Access
Question # 102

How does Snowflake describe its unique architecture?

A.

A single-cluster shared data architecture using a central data repository and massively parallel processing (MPP)

B.

A multi-duster shared nothing architecture using a soloed data repository and massively parallel processing (MPP)

C.

A single-cluster shared nothing architecture using a sliced data repository and symmetric multiprocessing (SMP)

D.

A multi-cluster shared nothing architecture using a siloed data repository and symmetric multiprocessing (SMP)

Full Access
Question # 103

Which role has the ability to create a share from a shared database by default?

A.

ACCOUNTADMIN

B.

SECURITYADMIN

C.

SYSADMIN

D.

ORGADMIN

Full Access
Question # 104

Which privilege is required to use the search optimization service in Snowflake?

A.

GRANT SEARCH OPTIMIZATION ON SCHEMA TO ROLE

B.

GRANT SEARCH OPTIMIZATION ON DATABASE TO ROLE

C.

GRANT ADD SEARCH OPTIMIZATION ON SCHEMA TO ROLE

D.

GRANT ADD SEARCH OPTIMIZATION ON DATABASE TO ROLE

Full Access
Question # 105

What are characteristics of reader accounts in Snowflake? (Select TWO).

A.

Reader account users cannot add new data to the account.

B.

Reader account users can share data to other reader accounts.

C.

A single reader account can consume data from multiple provider accounts.

D.

Data consumers are responsible for reader account setup and data usage costs.

E.

Reader accounts enable data consumers to access and query data shared by the provider.

Full Access
Question # 106

What activities can a user with the ORGADMIN role perform? (Select TWO).

A.

Create an account for an organization.

B.

Edit the account data for an organization.

C.

Delete the account data for an organization.

D.

View usage information for all accounts in an organization.

E.

Select all the data in tables for all accounts in an organization.

Full Access
Question # 107

There are two Snowflake accounts in the same cloud provider region: one is production and the other is non-production. How can data be easily transferred from the production account to the non-production account?

A.

Clone the data from the production account to the non-production account.

B.

Create a data share from the production account to the non-production account.

C.

Create a subscription in the production account and have it publish to the non-production account.

D.

Create a reader account using the production account and link the reader account to the non-production account.

Full Access
Question # 108

Which use case does the search optimization service support?

A.

Disjuncts (OR) in join predicates

B.

LIKE/ILIKE/RLIKE join predicates

C.

Join predicates on VARIANT columns

D.

Conjunctions (AND) of multiple equality predicates

Full Access
Question # 109

Which view can be used to determine if a table has frequent row updates or deletes?

A.

TABLES

B.

TABLE_STORAGE_METRICS

C.

STORAGE_DAILY_HISTORY

D.

STORAGE USAGE

Full Access
Question # 110

Which command removes a role from another role or a user in Snowflak?

A.

ALTER ROLE

B.

REVOKE ROLE

C.

USE ROLE

D.

USE SECONDARY ROLES

Full Access
Question # 111

Which function is used to convert rows in a relational table to a single VARIANT column?

A.

ARRAY_AGG

B.

OBJECT_AGG

C.

ARRAY_CONSTRUCT

D.

OBJECT_CONSTRUCT

Full Access
Question # 112

Why would a Snowflake user decide to use a materialized view instead of a regular view?

A.

The base tables do not change frequently.

B.

The results of the view change often.

C.

The query is not resource intensive.

D.

The query results are not used frequently.

Full Access
Question # 113

A Snowflake user wants to temporarily bypass a network policy by configuring the user object property MINS_TO_BYPASS_NETWORK_POLICY.

What should they do?

A.

Use the SECURITYADMIN role.

B.

Use the SYSADMIN role.

C.

Use the USERADMIN role.

D.

Contact Snowflake Support.

Full Access
Question # 114

When floating-point number columns are unloaded to CSV or JSON files, Snowflake truncates the values to approximately what?

A.

(12,2)

B.

(10,4)

C.

(14,8)

D.

(15,9)

Full Access
Question # 115

Which activities are included in the Cloud Services layer? {Select TWO).

A.

Data storage

B.

Dynamic data masking

C.

Partition scanning

D.

User authentication

E.

Infrastructure management

Full Access
Question # 116

Which URL provides access to files in Snowflake without authorization?

A.

File URL

B.

Scoped URL

C.

Pre-signed URL

D.

Scoped file URL

Full Access
Question # 117

Which service or feature in Snowflake is used to improve the performance of certain types of lookup and analytical queries that use an extensive set of WHERE conditions?

A.

Data classification

B.

Query acceleration service

C.

Search optimization service

D.

Tagging

Full Access
Question # 118

When using the ALLOW_CLI£NT_MFA_CACHING parameter, how long is a cached Multi-Factor Authentication (MFA) token valid for?

A.

1 hour

B.

2 hours

C.

4 hours

D.

8 hours

Full Access
Question # 119

Which Snowflake data type is used to store JSON key value pairs?

A.

TEXT

B.

BINARY

C.

STRING

D.

VARIANT

Full Access
Question # 120

By default, how long is the standard retention period for Time Travel across all Snowflake accounts?

A.

0 days

B.

1 day

C.

7 days

D.

14 days

Full Access
Question # 121

What are valid sub-clauses to the OVER clause for a window function? (Select TWO).

A.

GROUP BY

B.

LIMIT

C.

ORDER BY

D.

PARTITION BY

E.

UNION ALL

Full Access
Question # 122

What happens when a network policy includes values that appear in both the allowed and blocked IP address list?

A.

Those IP addresses are allowed access to the Snowflake account as Snowflake applies the allowed IP address list first.

B.

Those IP addresses are denied access lei the Snowflake account as Snowflake applies the blocked IP address list first.

C.

Snowflake issues an alert message and adds the duplicate IP address values lo both 'he allowed and blocked IP address lists.

D.

Snowflake issues an error message and adds the duplicate IP address values to both the allowed and blocked IP address list

Full Access
Question # 123

What does the TableScan operator represent in the Query Profile?

A.

The access to a single table

B.

The access to data stored in stage objects

C.

The list of values provided with the VALUES clause

D.

The records generated using the TABLE (GENERATOR (...)) construct

Full Access
Question # 124

Regardless of which notation is used, what are considerations for writing the column name and element names when traversing semi-structured data?

A.

The column name and element names are both case-sensitive.

B.

The column name and element names are both case-insensitive.

C.

The column name is case-sensitive but element names are case-insensitive.

D.

The column name is case-insensitive but element names are case-sensitive.

Full Access
Question # 125

What does the worksheet and database explorer feature in Snowsight allow users to do?

A.

Add or remove users from a worksheet.

B.

Move a worksheet to a folder or a dashboard.

C.

Combine multiple worksheets into a single worksheet.

D.

Tag frequently accessed worksheets for ease of access.

Full Access
Question # 126

A user wants to add additional privileges to the system-defined roles for their virtual warehouse. How does Snowflake recommend they accomplish this?

A.

Grant the additional privileges to a custom role.

B.

Grant the additional privileges to the ACCOUNTADMIN role.

C.

Grant the additional privileges to the SYSADMIN role.

D.

Grant the additional privileges to the ORGADMIN role.

Full Access
Question # 127

Which function should be used to insert JSON format string data inot a VARIANT field?

A.

FLATTEN

B.

CHECK_JSON

C.

PARSE_JSON

D.

TO_VARIANT

Full Access
Question # 128

What is the only supported character set for loading and unloading data from all supported file formats?

A.

UTF-8

B.

UTF-16

C.

ISO-8859-1

D.

WINDOWS-1253

Full Access
Question # 129

What is the default value in the Snowflake Web Interface (Ul) for auto suspending a Virtual Warehouse?

A.

1 minutes

B.

5 minutes

C.

10 minutes

D.

15 minutes

Full Access
Question # 130

Which minimum Snowflake edition allows for a dedicated metadata store?

A.

Standard

B.

Enterprise

C.

Business Critical

D.

Virtual Private Snowflake

Full Access
Question # 131

Which snowflake objects will incur both storage and cloud compute charges? (Select TWO)

A.

Materialized view

B.

Sequence

C.

Secure view

D.

Transient table

E.

Clustered table

Full Access
Question # 132

If a virtual warehouse runs for 61 seconds, shut down, and then restart and runs for 30 seconds, for how many seconds is it billed?

A.

60

B.

91

C.

120

D.

121

Full Access
Question # 133

When cloning a database, what is cloned with the database? (Choose two.)

A.

Privileges on the database

B.

Existing child objects within the database

C.

Future child objects within the database

D.

Privileges on the schemas within the database

E.

Only schemas and tables within the database

Full Access
Question # 134

The is the minimum Fail-safe retention time period for transient tables?

A.

1 day

B.

7 days

C.

12 hours

D.

0 days

Full Access
Question # 135

What type of query benefits the MOST from search optimization?

A.

A query that uses only disjunction (i.e., OR) predicates

B.

A query that includes analytical expressions

C.

A query that uses equality predicates or predicates that use IN

D.

A query that filters on semi-structured data types

Full Access
Question # 136

What are supported file formats for unloading data from Snowflake? (Choose three.)

A.

XML

B.

JSON

C.

Parquet

D.

ORC

E.

AVRO

F.

CSV

Full Access
Question # 137

When loading data into Snowflake via Snowpipe what is the compressed file size recommendation?

A.

10-50 MB

B.

100-250 MB

C.

300-500 MB

D.

1000-1500 MB

Full Access
Question # 138

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

A.

SINGLE=TRUE

B.

MULTIPLE=TRUE

C.

MULTIPLE=FALSE

D.

SINGLE=FALSE

Full Access
Question # 139

A single user of a virtual warehouse has set the warehouse to auto-resume and auto-suspend after 10 minutes. The warehouse is currently suspended and the user performs the following actions:

1. Runs a query that takes 3 minutes to complete

2. Leaves for 15 minutes

3. Returns and runs a query that takes 10 seconds to complete

4. Manually suspends the warehouse as soon as the last query was completed

When the user returns, how much billable compute time will have been consumed?

A.

4 minutes

B.

10 minutes

C.

14 minutes

D.

24 minutes

Full Access
Question # 140

Which of the following are characteristics of Snowflake virtual warehouses? (Choose two.)

A.

Auto-resume applies only to the last warehouse that was started in a multi-cluster warehouse.

B.

The ability to auto-suspend a warehouse is only available in the Enterprise edition or above.

C.

SnowSQL supports both a configuration file and a command line option for specifying a default warehouse.

D.

A user cannot specify a default warehouse when using the ODBC driver.

E.

The default virtual warehouse size can be changed at any time.

Full Access
Question # 141

What are best practice recommendations for using the ACCOUNTADMIN system-defined role in Snowflake? (Choose two.)

A.

Ensure all ACCOUNTADMIN roles use Multi-factor Authentication (MFA).

B.

All users granted ACCOUNTADMIN role must be owned by the ACCOUNTADMIN role.

C.

The ACCOUNTADMIN role must be granted to only one user.

D.

Assign the ACCOUNTADMIN role to at least two users, but as few as possible.

E.

All users granted ACCOUNTADMIN role must also be granted SECURITYADMIN role.

Full Access
Question # 142

A Snowflake Administrator needs to ensure that sensitive corporate data in Snowflake tables is not visible to end users, but is partially visible to functional managers.

How can this requirement be met?

A.

Use data encryption.

B.

Use dynamic data masking.

C.

Use secure materialized views.

D.

Revoke all roles for functional managers and end users.

Full Access
Question # 143

How long is the Fail-safe period for temporary and transient tables?

A.

There is no Fail-safe period for these tables.

B.

1 day

C.

7 days

D.

31 days

E.

90 days

Full Access
Question # 144

Why does Snowflake recommend file sizes of 100-250 MB compressed when loading data?

A.

Optimizes the virtual warehouse size and multi-cluster setting to economy mode

B.

Allows a user to import the files in a sequential order

C.

Increases the latency staging and accuracy when loading the data

D.

Allows optimization of parallel operations

Full Access
Question # 145

True or False: Snowpipe via REST API can only reference External Stages as source.

A.

True

B.

False

Full Access
Question # 146

Which of the following significantly improves the performance of selective point lookup queries on a table?

A.

Clustering

B.

Materialized Views

C.

Zero-copy Cloning

D.

Search Optimization Service

Full Access
Question # 147

When publishing a Snowflake Data Marketplace listing into a remote region what should be taken into consideration? (Choose two.)

A.

There is no need to have a Snowflake account in the target region, a share will be created for each user.

B.

The listing is replicated into all selected regions automatically, the data is not.

C.

The user must have the ORGADMIN role available in at least one account to link accounts for replication.

D.

Shares attached to listings in remote regions can be viewed from any account in an organization.

E.

For a standard listing the user can wait until the first customer requests the data before replicating it to the target region.

Full Access
Question # 148

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

A.

Tri-Secret Secure

B.

Time Travel

C.

Fail-safe

D.

Data encryption

E.

External stages

Full Access
Question # 149

Which services does the Snowflake Cloud Services layer manage? (Choose two.)

A.

Compute resources

B.

Query execution

C.

Authentication

D.

Data storage

E.

Metadata

Full Access
Question # 150

A running virtual warehouse is suspended.

What is the MINIMUM amount of time that the warehouse will incur charges for when it is restarted?

A.

1 second

B.

60 seconds

C.

5 minutes

D.

60 minutes

Full Access
Question # 151

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.

B.

The transient table version cannot be retrieved after 24 hours.

C.

Contact Snowflake Support to have the data retrieved from Fail-safe storage.

D.

Use the FAIL_SAFE parameter for Time Travel to retrieve the data from Fail-safe storage.

Full Access
Question # 152

Which of the following is an example of an operation that can be completed without requiring compute, assuming no queries have been executed previously?

A.

SELECT SUM (ORDER_AMT) FROM SALES;

B.

SELECT AVG(ORDER_QTY) FROM SALES;

C.

SELECT MIN(ORDER_AMT) FROM SALES;

D.

SELECT ORDER_AMT * ORDER_QTY FROM SALES;

Full Access
Question # 153

Files have been uploaded to a Snowflake internal stage. The files now need to be deleted.

Which SQL command should be used to delete the files?

A.

PURGE

B.

MODIFY

C.

REMOVE

D.

DELETE

Full Access
Question # 154

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.

B.

An error will occur, as views with qualified references cannot be cloned.

C.

An error will occur, as stored objects cannot be cloned.

D.

The stored procedures and views will refer to tables in the source database.

Full Access
Question # 155

How can a row access policy be applied to a table or a view? (Choose two.)

A.

Within the policy DDL

B.

Within the create table or create view DDL

C.

By future APPLY for all objects in a schema

D.

Within a control table

E.

Using the command ALTER ADD ROW ACCESS POLICY ;

Full Access

 statement within a pipe object to load data from files as soon as they are available in a stage. Snowpipe does not execute UDFs, stored procedures, or insert statements. References: Snowpipe | Snowflake Documentation

Question # 195

Which command can be used to stage local files from which Snowflake interface?

A.

SnowSQL

B.

Snowflake classic web interface (Ul)

C.

Snowsight

D.

.NET driver

Full Access
Question # 196

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

A.

A read-only copy of the cloned tables is stored.

B.

The replication will not be successful.

C.

The physical data is replicated

D.

Additional costs for storage are charged to a secondary account

E.

Metadata pointers to cloned tables are replicated

Full Access
Question # 197

During periods of warehouse contention which parameter controls the maximum length of time a warehouse will hold a query for processing?

A.

STATEMENT_TIMEOUT__IN__SECONDS

B.

STATEMENT_QUEUED_TIMEOUT_IN_SECONDS

C.

MAX_CONCURRENCY__LEVEL

D.

QUERY_TIMEOUT_IN_SECONDS

Full Access
Question # 198

What can be used to view warehouse usage over time? (Select Two).

A.

The load HISTORY view

B.

The Query history view

C.

The show warehouses command

D.

The WAREHOUSE_METERING__HISTORY View

E.

The billing and usage tab in the Snowflake web Ul

Full Access
Question # 199

What features does Snowflake Time Travel enable?

A.

Querying data-related objects that were created within the past 365 days

B.

Restoring data-related objects that have been deleted within the past 90 days

C.

Conducting point-in-time analysis for Bl reporting

D.

Analyzing data usage/manipulation over all periods of time

Full Access
Question # 200

Which Snowflake objects track DML changes made to tables, like inserts, updates, and deletes?

A.

Pipes

B.

Streams

C.

Tasks

D.

Procedures

Full Access
Question # 201

Which statement about billing applies to Snowflake credits?

A.

Credits are billed per-minute with a 60-minute minimum

B.

Credits are used to pay for cloud data storage usage

C.

Credits are consumed based on the number of credits billed for each hour that a warehouse runs

D.

Credits are consumed based on the warehouse size and the time the warehouse is running

Full Access
Question # 202

When does a materialized view get suspended in Snowflake?

A.

When a column is added to the base table

B.

When a column is dropped from the base table

C.

When a DML operation is run on the base table

D.

When the base table is reclustered

Full Access
Question # 203

Secured Data Sharing is allowed for which Snowflake database objects? (Select TWO).

A.

Tables

B.

User-Defined Table Functions (UDTFs)

C.

Secure views

D.

Stored procedures

E.

Worksheets

Full Access
Question # 204

How should a Snowflake use' configure a virtual warehouse to be in Maximized mode''

A.

Set the WAREHOUSES_SIZE to 6XL.

B.

Set the STATEMENT_TIMEOUT_1M_SECOMES to 0.

C.

Set the MAX_CONCURRENCY_LEVEL to a value of 12 or large.

D.

Set the same value for both MIN_CLUSTER_COUNT and MAX_CLUSTER_COUNT.

Full Access
Question # 205

Which function is used to unload a relational table into a JSON file*?

A.

PARSE_JSON

B.

JSON_EXTRACT_PATH_TEXT

C.

OBJECT_CONSTRUCT

D.

TO_JSON

Full Access
Question # 206

When used with the UNLOAD command, which parameter specifies the destination of unloaded data?

A.

COPY INTO

B.

COPY INTO

C.

GET

D.

PUT

Full Access
Question # 207

Which function should be used to find the query ID of the second query executed in a current session?

A.

Select LAST_QUERY_ID(-2)

B.

Select LAST_QUERY_ID(2)

C.

Select LAST_QUERY_ID(1)

D.

Select LAST_QUERY_ID(2)

Full Access