ExamsTeacher
See all results for ""
Exams
CRISC ISACA CISSP ISC2 200-301 Cisco SY0-701 CompTIA AZ-104 Microsoft AI-900 Microsoft AIGP IAPP 1Z0-1067-26 Oracle View All Exams →
About Us
Sign In Get Started

SnowPro Advanced Data Engineer Certification Exam DEA-C01 Exam Questions

Preparing for the DEA-C01 exam is simple with ExamsTeacher. We offer easy-to-understand study materials that help you learn the most important exam topics. You can study using our PDF questions, practice online with a real exam-style test, or use the desktop practice software. Choose the study method that works best for you and prepare at your own pace.

At ExamsTeacher, we keep our DEA-C01 practice questions up to date. Whenever the exam syllabus or objectives change, we update our study materials so you always learn the latest topics. This helps you save time, avoid outdated content, and feel more confident when you take your exam.

Download Exam View Entire Exam
Page: 1 / 1
Question #1 (Topic: Demo Questions)

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_days set 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 = > -3€0G*24*3);

D.

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

Correct Answer: A
Explanation:

The table can be recovered by using the undrop database xyz; command. This command will restore the database that was dropped within the last 14 days, along with all its schemas and tables, including the customer table. The data_retention_time_in_days parameter does not affect this command, as it only applies to time travel queries that reference historical data versions of tables or databases. The other options are not valid ways to recover the table. Option B is incorrect because creating a table as select * from xyz.public.ABC at {offset = > -60 60 24 8} will not work, as this query will try to access a historical data version of the ABC table that does not exist anymore after dropping the database. Option C is incorrect because creating a table clone xyz.public.ABC at {offset = > -3600 24*3} will not work, as this query will try to clone a historical data version of the ABC table that does not exist anymore after dropping the database. Option D is incorrect because creating a Snowflake Support case to restore the database and table from fail-safe will not work, as fail-safe is only available for disaster recovery scenarios and cannot be accessed by customers.

Question #2 (Topic: Demo Questions)

When would a Data engineer use table with the flatten function instead of the lateral flatten combination?

A.

When TABLE with FLATTEN requires another source in the from clause to refer to

B.

When TABLE with FLATTEN requires no additional source m the from clause to refer to

C.

When the LATERAL FLATTEN combination requires no other source m the from clause to refer to

D.

When table with FLATTEN is acting like a sub-query executed for each returned row

Correct Answer: A
Explanation:

The TABLE function with the FLATTEN function is used to flatten semi-structured data, such as JSON or XML, into a relational format. The TABLE function returns a table expression that can be used in the FROM clause of a query. The TABLE function with the FLATTEN function requires another source in the FROM clause to refer to, such as a table, view, or subquery that contains the semi-structured data. For example:

SELECT t.value:city::string AS city, f.value AS population FROM cities t, TABLE(FLATTEN(input = > t.value:population)) f;

In this example, the TABLE function with the FLATTEN function refers to the cities table in the FROM clause, which contains JSON data in a variant column named value. The FLATTEN function flattens the population array within each JSON object and returns a table expression with two columns: key and value. The query then selects the city and population values from the table expression.

Question #3 (Topic: Demo Questions)

A secure function returns data coming through an inbound share

What will happen if a Data Engineer tries to assign usage privileges on this function to an outbound share?

A.

An error will be returned because the Engineer cannot share data that has already been shared

B.

An error will be returned because only views and secure stored procedures can be shared

C.

An error will be returned because only secure functions can be shared with inbound shares

D.

The Engineer will be able to share the secure function with other accounts

Correct Answer: A
Explanation:

An error will be returned because the Engineer cannot share data that has already been shared. A secure function is a Snowflake function that can access data from an inbound share, which is a share that is created by another account and consumed by the current account. A secure function can only be shared with an inbound share, not an outbound share, which is a share that is created by the current account and shared with other accounts. This is to prevent data leakage or unauthorized access to the data from the inbound share.

Question #4 (Topic: Demo Questions)

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

Error: function received the wrong number of rows

What is causing 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

Correct Answer: D
Explanation:

The error message “function received the wrong number of rows” is caused by the return message not producing the same number of rows that it received. External functions require that the remote service returns exactly one row for each input row that it receives from Snowflake. If the remote service returns more or fewer rows than expected, Snowflake will raise an error and abort the function execution. The other options are not causes of this error message. Option A is incorrect because external functions do support multiple rows as long as they match the input rows. Option B is incorrect because nested arrays are supported in the JSON response as long as they conform to the return type definition of the external function. Option C is incorrect because the JSON returned by the remote service may be constructed correctly but still produce a different number of rows than expected.

Question #5 (Topic: Demo Questions)

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 ()

Correct Answer: B, E
Explanation:

The methods that will trigger an action that will evaluate a DataFrame are DataFrame.collect() and DataFrame.show(). These methods will force the execution of any pending transformations on the DataFrame and return or display the results. The other options are not methods that will evaluate a DataFrame. Option A, DataFrame.random_split(), is a method that will split a DataFrame into two or more DataFrames based on random weights. Option C, DataFrame.select(), is a method that will project a set of expressions on a DataFrame and return a new DataFrame. Option D, DataFrame.col(), is a method that will return a Column object based on a column name in a DataFrame.

Download Exam
Page: 1 / 1
Next Page