Question 30
An engineer is asked to implement the following Fabric capability: A Spark notebook repeatedly scans the same expensive transformed DataFrame for three downstream checks. Which action should be prioritized?
Explanation
Correct Answer
Materialization avoids repeated computation but consumes executor memory. The selected action directly addresses the stated constraint. The decisive acceptance result would be: Subsequent dependent actions avoid duplicate stages without causing memory pressure.
Incorrect Answers
Delta VACUUM deletes unreferenced files older than retention (default seven days); shortening it can break time travel, restore operations or active readers and is prevented by Fabric default safety checks. That is not sufficient here: Materialization avoids repeated computation but consumes executor memory.
Capacity upgrades cannot fix avoidable cross joins and poor scheduling; workload shaping may. That is not sufficient here: Materialization avoids repeated computation but consumes executor memory.
Reducing input before heavy transforms saves memory and network transfer. That is not sufficient here: Materialization avoids repeated computation but consumes executor memory.