You need to partition a large Azure SQL Database table by date to improve query performance and manageability. Which partitioning strategy should you use?
Why this answer
Option A is correct because `RANGE RIGHT` ensures that each boundary value belongs to the right partition, which is the standard approach for date-based partitioning. This means values less than '2023-01-01' go into the first partition, values >= '2023-01-01' and < '2023-02-01' go into the second, and so on, aligning with typical date range queries and simplifying partition management (e.g., switching out old partitions).
Exam trap
The trap here is that candidates often confuse `RANGE LEFT` and `RANGE RIGHT`, mistakenly thinking `LEFT` is the default or more natural for date ranges, when in fact `RANGE RIGHT` is the standard for non-overlapping, sliding-window date partitions.
Why the other options are wrong
RANGE LEFT includes the boundary value in the left partition, which can lead to uneven data distribution.
Azure SQL Database does not have automatic partitioning; you must create it manually.
Columnstore indexes are for analytics, not the primary partitioning mechanism.