Exit demo DEA-C01 SnowPro Advanced: Data Engineer Certification (DEA-C01) PDF format · free preview

Snowflake DEA-C01 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/dea-c01.html

Question 1
Multiple choice

A Data Engineer needs to load JSON output from some software into Snowflake using Snowpipe.

Which recommendations apply to this scenario? (Select THREE)

A.

Load large files (1 GB or larger)

B.

Ensure that data files are 100-250 MB (or larger) in size compressed

C.

Load a single huge array containing multiple records into a single table row

D.

Verify each value of each unique element stores a single native data type (string or number)

E.

Extract semi-structured data elements containing null values into relational columns before loading

F.

Create data files that are less than 100 MB and stage them in cloud storage at a sequence greater than once each minute

Question 2
Single choice

Which use case would be BEST suited for the search optimization service?

A.

Analysts who need to perform aggregates over high cardinality columns

B.

Business users who need fast response times using highly selective filters

C.

Data Scientists who seek specific JOIN statements with large volumes of data

D.

Data Engineers who create clustered tables with frequent reads against clustering keys

Question 3
Single choice

Within a Snowflake account permissions have been defined with custom roles and role hierarchies.

To set up column-level masking using a role in the hierarchy of the current user, what command would be used?

A.

CORRECT_ROLE

B.

IKVOKER_ROLE

C.

IS_RCLE_IN_SESSION

D.

IS_GRANTED_TO_INVOKER_ROLE

Question 4
Single choice

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

Question 5
Single choice

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

Question 6
Single choice

A Data Engineer defines the following masking policy:

....

must be applied to the full_name column in the customer table:

Which query will apply the masking policy on the full_name column?

A.

ALTER TABLE customer MODIFY COLUMN full_name Set MASKING POLICY name_policy;

B.

ALTER TABLE customer MODIFY COLUMN full_nam ADD MASKING POLICY name_poiicy;

C.

ALTER TABLE customer MODIFY COLUMN first_nane SET MASKING POLICY name_policy;
lasT_name SET MASKING POLICY name_pclicy;

D.

ALTER TABLE customer MODIFY COLUMN first_name ADD MASKING POLICY name_policy,

Question 7
Multiple choice

Which methods will trigger an action that will evaluate a DataFrame? (Select TWO)

A.

DataFrame.random_split ( )

B.

DataFrame.collect ()

C.

DateFrame.select ()

D.

DataFrame.col ( )

E.

DataFrame.show ()

Question 8
Single choice

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?

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 9
Single choice

A company is using Snowpipe to bring in millions of rows every day of Change Data Capture (CDC) into a Snowflake staging table on a real-time basis The CDC needs to get processedand combined with other data in Snowflake and land in a final table as part of the full data pipeline.

How can a Data engineer MOST efficiently process the incoming CDC on an ongoing basis?

A.

Create a stream on the staging table and schedule a task that transforms data from the stream only when the stream has data.

B.

Transform the data during the data load with Snowpipe by modifying the related copy into statement to include transformation steps such as case statements andJOIN'S.

C.

Schedule a task that dynamically retrieves the last time the task was run from information_schema- rask_hiSwOry and use that timestamp to process the delta of the new rows since the last time the task was run.

D.

Use a create ok replace table as statement that references the staging table and includes all the transformation SQL. Use a task to run the full create or replace table as statement on a scheduled basis

Question 10
Single choice

Database XYZ has the data_retention_time_in_days parameter set to 7 days and table xyz.public.ABC has the data_retention_time_in_daysset to 10 days.

A Developer accidentally dropped the database containing this single table 8 days ago and just discovered the mistake.

How can the table be recovered?

A.

undrop database xyz;

B.

create -able abc_restore as select * from xyz.public.abc at {offset => -60*60*24*8};

C.

create table abc_restore clone xyz.public.abc at (offset => -30G*24*3);

D.

Create a Snowflake Support case lo restore the database and tab e from "a i-safe

Showing 10 of 65 questions · Unlock the full set