Summer Certification Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free Databricks-Certified-Data-Engineer-Associate Databricks Updates

Databricks Certified Data Engineer Associate Exam Questions and Answers

Question 9

A data engineer that is new to using Python needs to create a Python function to add two integers together and return the sum?

Which of the following code blocks can the data engineer use to complete this task?

A)

B)

C)

D)

E)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Question 10

A data engineer is joining a very large events_df DataFrame containing billions of rows with a small country_lookup_df DataFrame containing fewer than 10,000 rows. The DataFrames are joined on the country_code column. The join is slow because of data shuffling.

How should the data engineer improve performance?

Options:

A.

Broadcast events_df when performing the join.

B.

Cache both DataFrames, and then run the same join.

C.

Persist both DataFrames, and then run the same join.

D.

Broadcast country_lookup_df when performing the join.

Question 11

A data analyst has created a Delta table sales that is used by the entire data analysis team. They want help from the data engineering team to implement a series of tests to ensure the data is clean. However, the data engineering team uses Python for its tests rather than SQL.

Which of the following commands could the data engineering team use to access sales in PySpark?

Options:

A.

SELECT * FROM sales

B.

There is no way to share data between PySpark and SQL.

C.

spark.sql( " sales " )

D.

spark.delta.table( " sales " )

E.

spark.table( " sales " )

Question 12

A company is collaborating with a partner that does not use Databricks but needs access to a large historical dataset stored in Delta format. The data engineer needs to ensure that the partner can access the data securely, without the need for them to set up an account, and with read-only access.

How should the data be shared?

Options:

A.

Share the dataset using Delta Sharing, which allows your partner to access the data using a secure, read-only URL without requiring a Databricks account, ensuring that they cannot modify the data.

B.

Share the dataset using Unity Catalog, ensuring that both teams have full write access to the data within the same organization.

C.

Share the dataset by exporting it to a CSV file and manually transferring the file to the partner ' s system.

D.

Grant your partner access to your Databricks workspace and assign them full write permissions to the Delta table, enabling them to modify the dataset.