nerdexam
DatabricksDatabricks

DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE · Question #62

DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE Question #62: Real Exam Question with Answer & Explanation

The correct answer is A: The VACUUM command was run on the table. The VACUUM command in Delta Lake is used to clean up and remove unnecessary data files that are no longer needed for time travel or query purposes. When you run VACUUM with certain retention settings, it can delete older data files, which might include versions of data that are o

Submitted by andres_qro· Apr 18, 2026Data Management

Question

A data engineer has realized that they made a mistake when making a daily update to a table. They need to use Delta time travel to restore the table to a version that is 3 days old. However, when the data engineer attempts to time travel to the older version, they are unable to restore the data because the data files have been deleted. Which of the following explains why the data files are no longer present?

Options

  • AThe VACUUM command was run on the table
  • BThe TIME TRAVEL command was run on the table
  • CThe DELETE HISTORY command was run on the table
  • DThe OPTIMIZE command was nun on the table
  • EThe HISTORY command was run on the table

Explanation

The VACUUM command in Delta Lake is used to clean up and remove unnecessary data files that are no longer needed for time travel or query purposes. When you run VACUUM with certain retention settings, it can delete older data files, which might include versions of data that are older than the specified retention period. If the data engineer is unable to restore the table to a version that is 3 days old because the data files have been deleted, it's likely because the VACUUM command was run on the table, removing the older data files as part of data cleanup.

Topics

#Delta Lake#Time Travel#VACUUM command#Data Retention

Community Discussion

No community discussion yet for this question.

Full DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE PracticeBrowse All DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE Questions