You work for MDFT Pro, a well-known training agency that tracks student course activity in real-time. Claire, a Data Engineering Specialist at MDFT Pro, manages a Fabric lakehouse that contains a notebook named ActivityProcessor and a table named StudentActivityLog. The notebook reads streaming data about student course interactions into a DataFrame from StudentActivityLog, applies transformation logic to calculate engagement metrics and learning progress indicators, then writes the results to a new Delta table named StudentEngagementMetrics using a merge operation. This merge process runs every 15 minutes throughout the day, creating many small Parquet files in StudentActivityLog as new activity data continuously arrives from the learning management system. Claire has noticed that query performance against StudentActivityLog has degraded due to the accumulation of small files. She needs to consolidate the underlying Parquet files in StudentActivityLog to improve read performance for downstream analytics and reporting.
Which command should Claire run to consolidate the underlying Parquet files in StudentActivityLog?
Choose the correct answer from the options below.
Explanations for each answer: