
Ultimate access to all questions.
You are tasked with optimizing a Delta table for the Databricks SQL service. Describe the steps you would take to ensure the table is optimized for both read and write operations. Consider the use of Delta Lake features such as OPTIMIZE, VACUUM, and the configuration of auto-compaction.
A
Run OPTIMIZE command with z-ordering, set auto-compaction to true, and use VACUUM with a retention interval of 7 days.
B
Run OPTIMIZE command without z-ordering, disable auto-compaction, and use VACUUM with a retention interval of 1 day.
C
Run OPTIMIZE command with z-ordering, disable auto-compaction, and do not use VACUUM.
D
Run OPTIMIZE command without z-ordering, set auto-compaction to true, and use VACUUM with a retention interval of 30 days.