🔥 3-day streak
Microsoft Fabric Data Engineer Associate115 / 144
Question 115 of 144

A data engineer runs a nightly Spark notebook that reads a large Delta table in a lakehouse. The table stores three years of transactions and is partitioned by a 'transaction_date' column. Analysts only need the most recent 7 days of data, but the notebook currently loads the full DataFrame with spark.read and then applies a .filter() on transaction_date after several joins and aggregations. Runtime has grown to over 45 minutes. What is the MOST effective change to reduce the amount of data scanned?

Reviewed for accuracy · Report an issueNext question