Does REFRESH TABLE Identify Delta Table Maintenance?
Short answer
B Running REFRESH TABLE only refreshes cached metadata and does not identify if maintenance tasks were performed.
Question
Key Takeaways
This question tests the purpose of Spark SQL commands on Delta tables, with the common trap of confusing a metadata cache refresh with maintenance history tracking.
Running REFRESH TABLE on a Delta table only updates cached metadata and does not reveal if maintenance tasks like OPTIMIZE or VACUUM were performed. This page establishes that REFRESH TABLE fails to meet the goal of identifying maintenance history.
Common mistake: Choosing Yes because REFRESH TABLE sounds like it updates or maintains the table, when it actually provides no historical insight into past maintenance operations.
Expert Analysis
Why the Answer Is Correct
The correct answer is No because the REFRESH TABLE statement is designed solely to invalidate and refresh cached data and metadata for a table. It does not output any historical or operational records regarding whether maintenance tasks such as OPTIMIZE or VACUUM have been executed on the Delta table.
Why the Other Options Are Wrong
Option A (Yes) is incorrect because it assumes REFRESH TABLE provides diagnostic or historical information about table maintenance. To actually identify if maintenance was performed, you must inspect the Delta transaction log, for example by using the DESCRIBE HISTORY command.
Community Comment Notes
The community correctly agrees that REFRESH TABLE does not meet the goal. As one user noted, the command "is used to refresh the metadata of a table" and "does not give any historical information about maintenance operations."
Exam Strategy
When asked about identifying maintenance history on a Delta table, look for commands that expose the Delta log or transaction history, such as DESCRIBE HISTORY. Do not confuse commands that update metadata caches with those that report on past operations.
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 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.
From public community threads 3
-
282b85d 👍 6 Answered BNo, running REFRESH TABLE customer does not meet the goal of identifying whether maintenance tasks were performed on the Delta table. This Spark SQL command is used to refresh the metadata of a table. It ensures that the latest schema and data are available for queries but does not give any historical information about maintenance operations.
-
stilferx 👍 1 Answered BIMHO, NOOO
-
dp600 👍 1 Answered Bcorrect
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 →