正解:D
Reference:
https://www.sqlshack.com/sql-varchar-data-type-deep-dive/
https://36chambers.wordpress.com/2020/06/18/nvarchar-everywhere-a-thought-experiment/ Basic Concept: This question tests database auditing and query visibility. DP-300 expects you to distinguish between collecting audit events, retaining logs, and analyzing query behavior.
Why D is Correct: Change the column type to varchar (200). is an Azure data-platform feature, but it must match the workload model, service tier, migration path, or deployment constraint described in the scenario.
The scenario asks for: You need to ensure that you can apply page compression to Table1. That makes Change the column type to varchar (200). the option that satisfies the required Azure SQL layer and operational outcome.
Why A is Wrong: Configure the columns as sparse. is an Azure data-platform feature, but it must match the workload model, service tier, migration path, or deployment constraint described in the scenario. It applies to a different Azure data-platform design than the one the question is testing.
Why B is Wrong: Change the column type to nvarchar (MAX). is an Azure data-platform feature, but it must match the workload model, service tier, migration path, or deployment constraint described in the scenario. It would solve a neighboring problem, but not the deployment, sizing, or migration requirement in this item.
Why C is Wrong: Change the column type to varchar (MAX). is an Azure data-platform feature, but it must match the workload model, service tier, migration path, or deployment constraint described in the scenario. It mismatches the target platform, migration method, compute tier, or deployment model described in the scenario, so it would not satisfy the workload as stated.