DP-300 · Question #136
Drag and Drop Question You plan to create a table in an Azure Synapse Analytics dedicated SQL pool. Data in the table will be retained for five years. Once a year, data that is older than five years…
The correct answer is HASH; OrderDateKey. The correct arrangement uses HASH distribution on OrderDateKey because HASH distribution ensures data is evenly distributed across partitions based on the hash of the specified column, and OrderDateKey is the ideal partition column since data is deleted annually by date…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- HASH
- OrderDateKey
Explanation
The correct arrangement uses HASH distribution on OrderDateKey because HASH distribution ensures data is evenly distributed across partitions based on the hash of the specified column, and OrderDateKey is the ideal partition column since data is deleted annually by date - allowing whole partitions to be switched out (TRUNCATE or SWITCH operations) rather than row-by-row deletes, minimizing deletion time. Using OrderDateKey as both the distribution and partition column aligns the data so that partition elimination works efficiently and delete operations target entire partition segments.
Topics
Community Discussion
No community discussion yet for this question.
