Implementing a SQL Data Warehouse — Question 15
You have a data warehouse named DW1.
In DW1, you plan to create a table named Table1 that will be partitioned by hour. Table1 will contain the last three hours of data.
You plan to implement a sliding window process for inserting data into Table1.
You need to recommend the minimum number of partitions that must be included in Table1 to support the planned implementation. The solution must minimize the number of transaction log records created during the insert process.
How many partitions should you recommend?
Answer options
- A. 3
- B. 5
- C. 9
- D. 24
Correct answer: B
Explanation
The correct answer is 5 because to effectively manage the sliding window process and accommodate data for the last three hours, you need additional partitions to handle overlaps and ensure efficiency. Options A, C, and D do not provide sufficient or optimal partitioning for this specific use case.