Fabric Data Engineer (DP-700) · Free practice question 7 of 12
Restoring a Delta table version
A faulty notebook at Ruddington Power overwrote a lakehouse Delta table with bad data an hour ago. The previous good state is version 412 in the table history, and VACUUM hasn't run since. What is the quickest way to roll the table back?
- A.OPTIMIZE meters ZORDER BY (version)
- B.DROP TABLE meters, then rerun every load since the table was created
- C.VACUUM meters RETAIN 0 HOURS
- D.RESTORE TABLE meters TO VERSION AS OF 412
Show answer and explanation
Correct answer: D. RESTORE TABLE meters TO VERSION AS OF 412
Why: Delta Lake keeps previous versions until VACUUM removes the old files, so RESTORE TABLE ... TO VERSION AS OF 412 returns the table to its earlier state. Rebuilding from scratch is slow and unnecessary. VACUUM with zero retention would delete the old files and make the restore impossible, and OPTIMIZE only compacts files.
More free Fabric Data Engineer (DP-700) questions
- Maximum Spark job lifetime guardrail
- Managed identity for Azure SQL mirroring
- Spark job definition for script batch jobs
- KQL mv-expand for arrays
- Dataflow Gen2 fast copy
- Zero-copy table clone in a warehouse
- Killing a running warehouse query
- Until activity for status polling
- Load to Tables from lakehouse files
- Schema evolution with mergeSchema
- Pipeline dependency conditions on failure