Databricks Data Engineer Associate exam dumps

Databricks Data Engineer Associate practice question 277 of 532

Databricks Certified Data Engineer Associate. Associate level, Databricks. Free question with the correct answer and a full explanation.

Databricks Data Engineer Associate Question 277

Single answer

You are working with a Delta table in Databricks and want to audit the table's transactional history to identify recent updates and deletes. Which command would you use to view a detailed history of all table transactions?

  1. A

    DESCRIBE HISTORY

  2. B

    SHOW TRANSACTIONS

  3. C

    SELECT * FROM HISTORY

  4. D

    DESCRIBE EXTENDED

Show answer and explanation

Correct answer: A

Explanation

To audit the transaction history of a Delta table in Databricks, the DESCRIBE HISTORY command is used. This command provides a detailed overview of all operations performed on the table, including updates, deletes, inserts, and metadata changes. The other options are either invalid or unrelated to viewing table transaction history.

  • A. Correct.

    Correct. The DESCRIBE HISTORY command retrieves the transaction history of a Delta table, showing details such as operation type, user, timestamp, and version of the table.

  • B. Incorrect.

    Incorrect. SHOW TRANSACTIONS is not a valid Databricks or Delta Lake command for viewing transaction history.

  • C. Incorrect.

    Incorrect. SELECT * FROM <table-name> HISTORY is not a valid syntax to review table transactions in Delta Lake.

  • D. Incorrect.

    Incorrect. DESCRIBE EXTENDED provides metadata about the table but does not show detailed transaction history.

Timed practice exam

Take a Databricks Data Engineer Associate practice test under exam conditions

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

Start timed exam