Databricks Machine Learning Professional exam dumps

Databricks Machine Learning Professional practice question 14 of 280

Databricks Certified Machine Learning Professional. Professional level, Databricks. Free question with the correct answer and a full explanation.

Databricks Machine Learning Professional Question 14

Select 3

A data science team is using a Delta table to store their machine learning dataset. They recently ran an update operation on this Delta table, but realized it introduced errors in the data. The team wants to revert to a previous version of the Delta table to fix the issue. Which of the following steps should they take to achieve this?

  1. A

    Use the DESCRIBE HISTORY command to view the Delta table’s version history and identify the appropriate version to restore.

  2. B

    Load the previous version of the Delta table by specifying the version number in the FORMAT clause of the SELECT statement.

  3. C

    Load the previous version of the Delta table by specifying the version number in the AS OF VERSION clause of the TABLE function.

  4. D

    Use the RESTORE TABLE command to directly restore the Delta table to a previous version.

  5. E

    Use the TIME TRAVEL feature by specifying a timestamp to query the Delta table as it existed at that point in time.

Show answer and explanation

Correct answers: A, C, E

Explanation

To revert to a previous version of a Delta table, the team should first use the DESCRIBE HISTORY command to view the table's version history and identify the appropriate version. Then, they can use the AS OF VERSION clause in the TABLE function or leverage the TIME TRAVEL feature by specifying a timestamp to query the desired version of the table. These methods are standard practices for managing Delta tables and utilizing their versioning capabilities.

  • A. Correct.

    Correct: The DESCRIBE HISTORY command allows users to view the history of operations performed on a Delta table, including version numbers and timestamps, which are necessary to identify the appropriate version to restore.

  • B. Incorrect.

    Incorrect: There is no FORMAT clause in the SELECT statement to specify a version for Delta tables. This option is invalid.

  • C. Correct.

    Correct: The AS OF VERSION clause in the TABLE function enables users to query a specific version of a Delta table by providing the version number.

  • D. Incorrect.

    Incorrect: The RESTORE TABLE command is not a valid command in Delta Lake for reverting to a previous version of a Delta table.

  • E. Correct.

    Correct: The TIME TRAVEL feature allows querying a Delta table as it existed at a specific point in time by specifying a timestamp or version number.

Timed practice exam

Take a Databricks Machine Learning Professional practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam