🔥 3-day streak
Microsoft Fabric Data Engineer Associate96 / 144
Question 96 of 144

A data engineer ingests a daily CDC extract into a Fabric lakehouse Delta table. Each source row includes a business key (CustomerID) and a LastModified timestamp. Because of overlapping extract windows, the same CustomerID can appear multiple times in a single batch with different LastModified values. Before merging into the dimension table, the engineer must reduce each batch so that only the most recent record per CustomerID remains. Which PySpark approach produces the correct result?

Reviewed for accuracy · Report an issueNext question