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

Home > Snowflake > Snowflake Certification > DEA-C01

DEA-C01 SnowPro Advanced: Data Engineer Certification Exam Question and Answers

Question # 4

What is the purpose of the BUILD_FILE_URL function in Snowflake?

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.

Full Access
Question # 5

Company A and Company B both have Snowflake accounts. Company A's account is hosted on a different cloud provider and region than Company B's account Companies A and B are not in the same Snowflake organization.

How can Company A share data with Company B? (Select TWO).

A.

Create a share within Company A's account and add Company B's account as a recipient of that share

B.

Create a share within Company A's account, and create a reader account that is a recipient of the share Grant Company B access to the reader account

C.

Use database replication to replicate Company A's data into Company B's account Create a share within Company B's account and grant users within Company B's

account access to the share

D.

Create a new account within Company A's organization in the same cloud provider and region as Company B's account Use database replication to replicate Company

A's data to the new account Create a share within the new account and add Company B's account as a recipient of that share

E.

Create a separate database within Company A's account to contain only those data sets they wish to share with Company B Create a share within Company A's account

and add all the objects within this separate database to the share Add Company B's account as a recipient of the share

Full Access
Question # 6

The following chart represents the performance of a virtual warehouse over time:

A DataEngineer notices that the warehouse is queueing queries The warehouse is size X-Smallthe minimum and maximum cluster counts are set to 1 the scaling policy is set to i and auto-suspend is set to 10 minutes.

How canthe performance be improved?

A.

Change the cluster settings

B.

Increase the size of the warehouse

C.

Change the scaling policy to economy

D.

Change auto-suspend to a longer time frame

Full Access
Question # 7

What is a characteristic of the use of external tokenization?

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

Full Access
Question # 8

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

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

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

Full Access
Question # 9

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?

A.

SELECT SYSTEM$CLUSTERING_INTFORMATICII (‘Invoice' ) ;

B.

SELECT $CLUSTERXNG_INFQRMATION ('Invoice')'

C.

CALL SYSTEM$CLUSTERING_INFORMATION (‘Invoice’);

D.

CALL $CLUSTERINS_INFORMATION('Invoice’);

Full Access
Question # 10

A Data Engineer executes a complex query and wants to make use of Snowflake s query results caching capabilities to reuse the results.

Which conditions must be met? (Select THREE).

A.

The results must be reused within 72 hours.

B.

The query must be executed using the same virtual warehouse.

C.

The USED_CACHED_RESULT parameter must be included in the query.

D.

The table structure contributing to the query result cannot have changed

E.

The new query must have the same syntax as the previously executed query.

F.

The micro-partitions cannot have changed due to changes to other data in the table

Full Access
Question # 11

Which Snowflake objects does the Snowflake Kafka connector use? (Select THREE).

A.

Pipe

B.

Serverless task

C.

Internal user stage

D.

Internal table stage

E.

Internal named stage

F.

Storage integration

Full Access
Question # 12

What is a characteristic of the use of binding variables in JavaScript stored procedures in Snowflake?

A.

All types of JavaScript variables can be bound

B.

All Snowflake first-class objects can be bound

C.

Only JavaScript variables of type number, string and sf Date can be bound

D.

Users are restricted from binding JavaScript variables because they create SQL injection attack vulnerabilities

Full Access
Question # 13

A Data Engineer would like to define a file structure for loading and unloading data

Where can the file structure be defined? (Select THREE)

A.

copy command

B.

MERGE command

C.

FILE FORMAT Object

D.

pipe object

E.

stage object

F.

INSERT command

Full Access
Question # 14

A large table with 200 columns contains two years of historical data. When queried. the table is filtered on a single day Below is the Query Profile:

Using a size 2XL virtual warehouse, this query look over an hour to complete

What will improve the query performance the MOST?

A.

increase the size of the virtual warehouse.

B.

Increase the number of clusters in the virtual warehouse

C.

Implement the search optimization service on the table

D.

Add a date column as a cluster key on the table

Full Access
Question # 15

While running an external function, me following error message is received:

Error:function received the wrong number of rows

What iscausing this to occur?

A.

External functions do not support multiple rows

B.

Nested arrays are not supported in the JSON response

C.

The JSON returned by the remote service is not constructed correctly

D.

The return message did not produce the same number of rows that it received

Full Access
Question # 16

A Data Engineer has written a stored procedure that will run with caller's rights. The Engineer has granted ROLEA right to use this stored procedure.

What is a characteristic of the stored procedure being called using ROLEA?

A.

The stored procedure must run with caller's rights it cannot be converted later to run with owner's rights

B.

If the stored procedure accesses an object that ROLEA does not have access to the stored procedure will fail

C.

The stored procedure will run in the context (database and schema) where the owner created the stored procedure

D.

ROLEA will not be able to see the source code for the stored procedure even though the role has usage privileges on the stored procedure

Full Access
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?

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

Full Access
Question # 18

A Data Engineer is working on a continuous data pipeline which receives data from Amazon Kinesis Firehose and loads the data into a staging table which will later be used in the data transformation process The average file size is 300-500 MB.

The Engineer needs to ensure that Snowpipe is performant while minimizing costs.

How can this be achieved?

A.

Increase the size of the virtual warehouse used by Snowpipe.

B.

Split the files before loading them andset the SIZE_LIMIT option to 250 MB.

C.

Change the file compression size and increase the frequency of the Snowpipe loads

D.

Decrease the buffer size to trigger delivery of files sized between 100 to 250 MB in Kinesis Firehose

Full Access
Question # 19

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?

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

Full Access