Exam Databricks-Machine-Learning-Professional Topic 8 Question 77 Discussion

Actual exam question for Databricks's Databricks-Machine-Learning-Professional exam
Question #: 77
Topic #: 8
A Machine Learning Engineer is tasked with building an automated daily pipeline that updates a customer_features table in Unity Catalog. They have implemented a function, compute_customer_features, that returns a DataFrame with a unique customer_id as the primary key and want to ensure the latest feature values are merged into the table each day. Which code snippet implements this requirement?

Suggested Answer: D Vote an answer

Using write_table with mode set to merge updates existing rows and inserts new ones based on the table's primary key. This ensures that the latest feature values for each customer_id are merged into the existing feature table each day without overwriting the entire table, which is the correct and scalable approach for maintaining up-to-date customer features in Unity Catalog.

by Marjorie at Oct 14, 2026, 09:53 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10