Designing and Deploying Microsoft Exchange Server 2016 — Question 21
A company deploys Microsoft SQL Server on an Azure DS3_V2_Standard virtual machine (VM).
You need to modify the disk caching policy.
Which Azure PowerShell cmdlet should you run?
Answer options
- A. Update-AzureDisk
- B. Update-AzureRmVm
- C. Set-AzureRMVMDataDisk
- D. Set-AzureRmVmOperatingSystem
Correct answer: C
Explanation
The correct answer is C, as the Set-AzureRMVMDataDisk cmdlet is specifically designed to update settings for data disks, including caching policies. Option A is incorrect because Update-AzureDisk does not exist in the context of modifying disk settings for a VM. Option B refers to updating the entire VM, not just the disk, and option D is focused on the operating system rather than the data disks.