
Ultimate access to all questions.
A data engineer is overwriting data in a table by deleting the table and recreating the table. Another data engineer suggests that this is inefficient and the table should simply be overwritten instead. Which of the following reasons to overwrite the table instead of deleting and recreating the table is incorrect?
A
Overwriting a table is efficient because no files need to be deleted.
B
Overwriting a table results in a clean table history for logging and audit purposes.
C
Overwriting a table maintains the old version of the table for Time Travel.
D
Overwriting a table is an atomic operation and will not leave the table in an unfinished state.
E
Overwriting a table allows for concurrent queries to be completed while in progress.
Explanation:
Let's analyze each option:
A. Overwriting a table is efficient because no files need to be deleted. - CORRECT
B. Overwriting a table results in a clean table history for logging and audit purposes. - INCORRECT (This is the answer)
C. Overwriting a table maintains the old version of the table for Time Travel. - CORRECT
D. Overwriting a table is an atomic operation and will not leave the table in an unfinished state. - CORRECT
E. Overwriting a table allows for concurrent queries to be completed while in progress. - CORRECT
Key Insight: Option B is incorrect because overwriting a table actually provides BETTER table history tracking than deleting and recreating. When you delete and recreate a table, you lose the historical lineage and get a completely new table ID, making audit trails more difficult to follow. Overwriting maintains the same table identity with versioned history, which is superior for logging and audit purposes.