Microsoft
DP-300 · Question #320
Hotspot Question You have an Azure subscription that contains a resource group named RG1. RG1 contains an instance of SQL Server on Azure Virtual Machines named SQ1. You need to use PowerShell to enab
Sign in or unlock DP-300 to reveal the answer and full explanation for question #320. The question stem and answer options stay visible for context.
Submitted by diego_uy· Mar 6, 2026Configure and manage automation of tasks
Question
Hotspot Question You have an Azure subscription that contains a resource group named RG1. RG1 contains an instance of SQL Server on Azure Virtual Machines named SQ1. You need to use PowerShell to enable and configure automated patching for SQ1. The solution must include both SQL Server and Windows security updates. How should you complete the command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:
Exhibit
Answer Area
- Get-AzVM -ResourceGroupName "RG1" -Name "SQ1" |Get-AzVMSQLExtensionSet-AzVMExtensionSet-AzVMSqlServerExtension
- -SQLManagementType-Full-Lightweight-NoAgent
Unlock DP-300 to see the answer
You've previewed enough free DP-300 questions. Unlock DP-300 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#SQL Server on Azure VMs#PowerShell#automated patching#SQL IaaS Agent Extension
