Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Databricks Certified Data Engineer Associate Exam Databricks-Certified-Data-Engineer-Associate Question # 16 Topic 2 Discussion

Databricks Certified Data Engineer Associate Exam Databricks-Certified-Data-Engineer-Associate Question # 16 Topic 2 Discussion

Databricks-Certified-Data-Engineer-Associate Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

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?


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.


Get Premium Databricks-Certified-Data-Engineer-Associate Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.