Weekend Sale Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Snowflake DEA-C01 SnowPro Advanced: Data Engineer Certification Exam Exam Practice Test

Page: 1 / 7
Total 65 questions

SnowPro Advanced: Data Engineer Certification Exam Questions and Answers

Question 1

A stream called TRANSACTIONS_STM is created on top of a transactions table in a continuous pipeline running in Snowflake. After a couple of months, the TRANSACTIONS table is renamed transactiok3_raw to comply with new naming standards

What will happen to the TRANSACTIONS _STM object?

Options:

A.

TRANSACTIONS _STMwill keep working as expected

B.

TRANSACTIONS _STMwill be stale and will need to be re-created

C.

TRANSACTIONS _STMwill be automatically renamedTRANSACTIONS _RAW_STM.

D.

Reading from the traksactioks_3T>: stream will succeed for some time after the expected STALE_TIME.

Question 2

Which stages support external tables?

Options:

A.

Internal stages only; within a single Snowflake account

B.

internal stages only from any Snowflake account in the organization

C.

External stages only from any region, and any cloud provider

D.

External stages only, only on the same region and cloud provider as the Snowflake account

Question 3

A Data Engineer is implementing a near real-time ingestionpipeline to toad data into Snowflake using the Snowflake Kafka connector. There will be three Kafka topics created.

……snowflake objects are created automatically when the Kafka connector starts? (Select THREE)

Options:

A.

Tables

B.

Tasks

C.

Pipes

D.

internal stages

E.

External stages

F.

Materialized views

Question 4

A Data Engineer is building a pipeline to transform a 1 TD tab e by joining it with supplemental tables The Engineer is applying filters and several aggregations leveraging Common TableExpressions (CTEs) using a size Medium virtual warehouse in a single query in Snowflake.

After checking the Query Profile, what is the recommended approach to MAXIMIZE performance of this query if the Profile shows data spillage?

Options:

A.

Enable clustering on the table

B.

Increase the warehouse size

C.

Rewrite the query to remove the CTEs.

D.

Switch to a multi-cluster virtual warehouse

Question 5

How can the following relational data be transformed into semi-structured data using the LEAST amount of operational overhead?

Question # 5

Options:

A.

Use the to_json function

B.

Use the PAESE_JSON function to produce a variant value

C.

Use the OBJECT_CONSTRUCT function to return a Snowflake object

D.

Use the TO_VARIANT function to convert each of the relational columns to VARIANT.

Question 6

A Data Engineer is investigating a query that is taking a long time to return The Query Profile shows the following:

Question # 6

What step should the Engineer take to increase the query performance?

Options:

A.

Add additional virtual warehouses.

B.

increasethe size of the virtual warehouse.

C.

Rewrite the query using Common Table Expressions (CTEs)

D.

Change the order of the joins and start with smaller tables first

Question 7

A Data Engineer has created table t1 with datatype VARIANT:

create or replace table t1 (cl variant);

The Engineer has loaded the following JSON data set. which has information about 4 laptop models into the table:

Question # 7

The Engineer now wants to query that data set so that results are shown as normal structured data. The result should be 4 rows and 4 columns without the double quotes surrounding the data elements in the JSON data.

The result should be similar to the use case where the data was selected from a normal relational table z2 where t2 has string data type columns model__id. model, manufacturer, and =iccisi_r.an=. and is queried with the SQL clause select * from t2;

Which select command will produce the correct results?

A)

Question # 7

B)

Question # 7

C)

Question # 7

D)

Question # 7

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 8

What is a characteristic of the operations of streams in Snowflake?

Options:

A.

Whenever a stream is queried, the offset is automatically advanced.

B.

When a stream is used to update a target table the offset is advanced to the current time.

C.

Querying a stream returns all change records and table rows from the current offset to the current time.

D.

Each committed and uncommitted transaction on the source table automatically puts a change record in the stream.

Question 9

A database contains a table and a stored procedure defined as.

Question # 9

No other operations are affecting the log_table.

What will be the outcome of the procedure call?

Options:

A.

The Iog_table contains zero records and the stored procedure returned 1 as a return value

B.

The Iog_table contains one record and the stored procedure returned 1 as a return value

C.

The log_table contains one record and the stored procedure returned NULL as a return value

D.

The Iog_table contains zero records and the stored procedure returned NULL as a return value

Question 10

At what isolation level are Snowflake streams?

Options:

A.

Snapshot

B.

Repeatable read

C.

Read committed

D.

Read uncommitted

Question 11

The following code is executed ina Snowflake environment with the default settings:

Question # 11

What will be the result of the select statement?

Options:

A.

SQL compilation error object CUSTOMER' does not exist or is not authorized.

B.

John

C.

1

D.

1John

Question 12

A Data Engineer is evaluating the performance of a query in a development environment.

Question # 12

Based on the Query Profile what are some performance tuning options the Engineer can use? (Select TWO)

Options:

A.

Add a LIMIT to the ORDER BY If possible

B.

Use a multi-cluster virtual warehouse with the scaling policy set to standard

C.

Move the query to a larger virtual warehouse

D.

Create indexes to ensure sorted access to data

E.

Increase the max cluster count

Question 13

A company built a sales reporting system with Python, connecting to Snowflake using the Python Connector. Based on the user's selections, the system generates the SQL queries needed to fetch the data for the report First it gets the customers that meet the given query parameters (on average 1000 customer records for each report run) and then it loops the customer records sequentially Inside that loop it runs the generated SQL clause for the current customer to get the detailed data for that customer number from the sales data table

When the Data Engineer tested the individual SQL clauses they were fast enough (1 second to get the customers 0 5 second to get the sales data for one customer) but the total runtime of the report is too long

How can this situation be improved?

Options:

A.

Increase the size of the virtual warehouse

B.

Increase the number of maximum clusters of the virtual warehouse

C.

Define a clustering key for the sales data table

D.

Rewrite the report to eliminate the use of the loop construct

Question 14

What is a characteristic of the use of external tokenization?

Options:

A.

Secure data sharing can be used with external tokenization

B.

External tokenization cannot be used with database replication

C.

Pre-loading of unmasked data is supported with external tokenization

D.

External tokenization allows (he preservation of analytical values after de-identification

Question 15

What is the purpose of the BUILD_FILE_URL function in Snowflake?

Options:

A.

It generates an encrypted URL foe accessing a file in a stage.

B.

It generates a staged URL for accessing a file in a stage.

C.

It generates a permanent URL for accessing files in a stage.

D.

It generates a temporary URL for accessing a file in a stage.

Question 16

A Data Engineer wants to check the status of a pipe named my_pipe. The pipe is inside a database named test and a schema named Extract (case-sensitive).

Which querywill provide the status of the pipe?

Options:

A.

SELECT FROM SYSTEM$PIPE_STATUS (''test.'extract'.my_pipe"i:

B.

SELECT FROM SYSTEM$PIPE_STATUS (,test.,,Extracr,,.ny_pipe, i I

C.

SELE2T * FROM SYSTEM$PIPE_STATUS < ' test. "Extract", my_pipe');

D.

SELECT * FROM SYSTEM$PIPE_STATUS ("test. 'extract' .my_pipe"};

Question 17

A Data Engineer wants to create a new development database (DEV) as a clone of the permanent production database (PROD) There is a requirement to disable Fail-safe for all tables.

Which command will meet these requirements?

Options:

A.

CREATE DATABASE DEV

CLONE PROD

FAIL_SAFE=FALSE;

B.

CREATE DATABASE DEV

CLONE PROD;

C.

CREATE TRANSIENT DATABASE DEV

CLONE RPOD

D.

CREATE DATABASE DEV

CLOSE PROD

DATA_RETENTION_TIME_IN_DAYS =0L

Question 18

Which callback function is required within a JavaScript User-Defined Function (UDF) for it to execute successfully?

Options:

A.

initialize ()

B.

processRow ()

C.

handler

D.

finalize ()

Question 19

A Data Engineer needs to know the details regarding the micro-partition layout for a table named invoice using a built-in function.

Which query will provide this information?

Options:

A.

SELECT SYSTEM$CLUSTERING_INTFORMATICII (‘Invoice' ) ;

B.

SELECT $CLUSTERXNG_INFQRMATION ('Invoice')'

C.

CALL SYSTEM$CLUSTERING_INFORMATION (‘Invoice’);

D.

CALL $CLUSTERINS_INFORMATION('Invoice’);

Page: 1 / 7
Total 65 questions