Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free Snowflake COF-C02 Practice Exam with Questions & Answers | Set: 14

Questions 261

Which REST API can be used with unstructured data?

Options:
A.

inscrtFilcs

B.

insertReport

C.

GET /api/tiles/

D.

loadHistoryScan

Snowflake COF-C02 Premium Access
Questions 262

What can a Snowflake user do in the Activity section in Snowsight?

Options:
A.

Create dashboards.

B.

Write and run SQL queries.

C.

Explore databases and objects.

D.

Explore executed query performance.

Questions 263

Which SQL command can be used to see the CREATE definition of a masking policy?

Options:
A.

SHOW MASKING POLICIES

B.

DESCRIBE MASKING POLICY

C.

GET_DDL

D.

LIST MASKING POLICIES

Questions 264

Which role has the ability to create and manage users and roles?

Options:
A.

ORGADMIN

B.

USERADMIN

C.

SYSADMIN

D.

SECURITYADMIN

Questions 265

How can a Snowflake user access a JSON object, given the following table? (Select TWO).

COF-C02 Question 265

Options:
A.

src:salesperson.name

B.

src:sa1esPerson. name

C.

src:salesperson.Name

D.

SRC:salesperson.name

E.

SRC:salesperson.Name

Questions 266

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

Options:
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;

Questions 267

Which Snowflake object can be accessed in he FROM clause of a query, returning a set of rows having one or more columns?

Options:
A.

A User-Defined Table Function (UDTF)

B.

A Scalar User Function (UDF)

C.

A stored procedure

D.

A task

Questions 268

Which URL type allows users to access unstructured data without authenticating into Snowflake or passing an authorization token?

Options:
A.

Pre-signed URL

B.

Scoped URL

C.

Signed URL

D.

File URL

Questions 269

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

Options:
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_s1WHERE ..

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 taskdefinition CREATE TASK mytask .... AScall 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.

Questions 270

What is the default file size when unloading data from Snowflake using the COPY command?

Options:
A.

5 MB

B.

8 GB

C.

16 MB

D.

32 MB

Questions 271

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

Options:
A.

Compute resources

B.

Query execution

C.

Authentication

D.

Data storage

E.

Metadata

Questions 272

A table needs to be loaded. The input data is in JSON format and is a concatenation of multiple JSON documents. The file size is 3 GB. A warehouse size small is being used. The following COPY INTO command was executed:

COPY INTO SAMPLE FROM @~/SAMPLE.JSON (TYPE=JSON)

The load failed with this error:

Max LOB size (16777216) exceeded, actual size of parsed column is 17894470.

How can this issue be resolved?

Options:
A.

Compress the file and load the compressed file.

B.

Split the file into multiple files in the recommended size range (100 MB - 250 MB).

C.

Use a larger-sized warehouse.

D.

Set STRIP_OUTER_ARRAY=TRUE in the COPY INTO command.

Questions 273

Which statements are true concerning Snowflake ' s underlying cloud infrastructure? (Select THREE),

Options:
A.

Snowflake data and services are deployed in a single availability zone within a cloud provider ' s region.

B.

Snowflake data and services are available in a single cloud provider and a single region, the use of multiple cloud providers is not supported.

C.

Snowflake can be deployed in a customer ' s private cloud using the customer ' s own compute and storage resources for Snowflake compute and storage

D.

Snowflake uses the core compute and storage services of each cloud provider for its own compute and storage

E.

All three layers of Snowflake ' s architecture (storage, compute, and cloud services) are deployed and managed entirely on a selected cloud platform

F.

Snowflake data and services are deployed in at least three availability zones within a cloud provider ' s region

Questions 274

What is the SNOWFLAKE.ACCOUNT_USAGE view that contains information about which objects were read by queries within the last 365 days (1 year)?

Options:
A.

VIEWS_HISTORY

B.

OBJECT_HISTORY

C.

ACCESS_HISTORY

D.

LOGIN_HISTORY

Questions 275

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

Options:
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 < object > ADD ROW ACCESS POLICY < policy > ;

Questions 276

At what level is the MIN_DATA_RETENTION_TIME_IN_DAYS parameter set?

Options:
A.

Account

B.

Database

C.

Schema

D.

Table

Questions 277

What is the purpose of the STRIP NULL_VALUES file format option when loading semi-structured data files into Snowflake?

Options:
A.

It removes null values from all columns in the data.

B.

It converts null values to empty strings during loading.

C.

It skips rows with null values during the loading process.

D.

It removes object or array elements containing null values.

Questions 278

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

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

Options:
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.

Questions 279

Which Snowflake object does not consume any storage costs?

Options:
A.

Secure view

B.

Materialized view

C.

Temporary table

D.

Transient table

Questions 280

Which function unloads data from a relational table to JSON?

Options:
A.

TO_OBJECT

B.

TO_JSON

C.

TO_VARIANT

D.

OBJECT CONSTRUCT