You work for MDFT Pro, a well-known training agency that streams real-time student activity data. Mark, a Data Engineering Lead at MDFT Pro, manages a Fabric workspace that contains an eventstream named StudentActivityStream. StudentActivityStream captures real-time events from the learning management system, including student login events, course page views, video watch progress, quiz submissions, and discussion forum posts. The eventstream outputs these events to a Delta table in a lakehouse where they are stored for historical analysis and reporting. Over time, as the eventstream continuously writes new data and the Delta table undergoes updates and merges, old Parquet files accumulate in the lakehouse storage even though they are no longer referenced by the current version of the table. Mark needs to clean up these unreferenced old files to reduce storage costs and maintain optimal lakehouse performance. He wants to remove files that are older than seven days and are no longer in use by the current table version, while preserving the ability to query recent historical versions for debugging and auditing purposes.
Which command should Mark run to remove files that are older than seven days and are no longer in use?
Choose the correct answer from the options below.
Explanations for each answer: