CERTIFIED-DATA-ENGINEER-PROFESSIONAL · Question #107
Which statement describes Delta Lake optimized writes?
The correct answer is A. A shuffle occurs prior to writing to try to group data together resulting in fewer files instead of each. Delta Lake Optimized Writes improves file sizes by performing a shuffle of the data before writing, coalescing data into fewer, larger, more optimal files rather than writing many small files (one per task). This is particularly beneficial for partitioned tables where small files
Question
Which statement describes Delta Lake optimized writes?
Options
- AA shuffle occurs prior to writing to try to group data together resulting in fewer files instead of each
- BOptimized writes logical partitions instead of directory partitions partition boundaries are only
- CAn asynchronous job runs after the write completes to detect if files could be further compacted;
- DBefore a job cluster terminates, OPTIMIZE is executed on all tables modified during the most
How the community answered
(26 responses)- A92% (24)
- C4% (1)
- D4% (1)
Explanation
Delta Lake Optimized Writes improves file sizes by performing a shuffle of the data before writing, coalescing data into fewer, larger, more optimal files rather than writing many small files (one per task). This is particularly beneficial for partitioned tables where small files accumulate rapidly. Option C describes Auto Compaction, not Optimized Writes. Option D describes a hypothetical OPTIMIZE-on-shutdown behavior that does not exist. Option B is not an accurate description of any Delta Lake feature.
Topics
Community Discussion
No community discussion yet for this question.