Identify Delta Table Maintenance with DESCRIBE HISTORY
Short answer
A Running DESCRIBE HISTORY customer identifies whether maintenance tasks like OPTIMIZE and VACUUM were performed.
Question
Key Takeaways
The DESCRIBE HISTORY command exposes the transaction log of a Delta table, allowing you to verify if optimization or vacuum operations have been executed.
Running DESCRIBE HISTORY on a Delta table in Microsoft Fabric reveals its operation history, including maintenance tasks like OPTIMIZE and VACUUM. This confirms that the statement meets the goal of identifying whether maintenance was performed.
Common mistake: Assuming DESCRIBE HISTORY only shows data manipulation operations (like inserts or updates) and not table maintenance commands like OPTIMIZE or VACUUM.
Expert Analysis
Why the Answer Is Correct
TheDESCRIBE HISTORY command returns provenance information, including operations, for a Delta table. Maintenance tasks such as OPTIMIZE and VACUUM are logged as operations in the Delta transaction log. Therefore, running this statement successfully identifies whether these maintenance tasks have been performed on the Customer table.Why the Other Options Are Wrong
Option B is incorrect because it assumes the statement does not meet the goal. In reality, the Delta Lake transaction log captures all table changes and maintenance events, makingDESCRIBE HISTORY a valid method to check for them.Community Comment Notes
Community members agree thatDESCRIBE HISTORY meets the goal because "OPTIMIZE and VACUUM activities in the last 30 days are stored in the history." As stilferx noted, the official documentation confirms this capability for Delta tables. Official Reference
https://learn.microsoft.com/en-us/azure/databricks/delta/history
This link opens the official vendor documentation in a new tab.
Exam Strategy
When asked how to check Delta table maintenance or history, look for commands that interact with the Delta transaction log, such as DESCRIBE HISTORY or DESCRIBE DETAIL. Remember that OPTIMIZE and VACUUM operations are recorded in the history.
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 6 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors, not of islever. The comments shown first are the most substantive of the thread — ranked by depth, community endorsement and relevance; expand the list below to read the rest.
From public community threads 6
-
stilferx 👍 4 Answered AIMHO, A Link: https://learn.microsoft.com/en-us/azure/databricks/delta/history
-
Martin_Nbg 👍 3OPTIMIZE and VACUUM activities in the last 30 days are stored in the history. So, yes, you can see using this query whether maintenance took place in the last 30 days. https://learn.microsoft.com/en-us/azure/databricks/delta/history
-
282b85d 👍 3 Answered AYes, running DESCRIBE HISTORY customer meets the goal of identifying whether maintenance tasks were performed on the Delta table.
-
a_51 👍 2 Answered AA correct. display(spark.sql('describe history customer'))
-
XiltroX 👍 2 Answered ARight answer. Describe HISTORY
Show 1 more comment
-
Momoanwar 👍 2 Answered ACorrect
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DP-600 Questions
Access 115 questions with complete answers and detailed explanations.
View Full DP-600 Practice Test →