Exam-Answer

Home / Microsoft / AZ-300 / Question 5

Prev Question
Next Question

Question 5

You need to deploy a virtual machine (VM) to Azure from a third-party online template.

Which PowerShell cmdlet should you use?

Answers


Advertisement

Explanation (click to expand)

You should use New-AzureRmResourceGroupDeployment. This cmdlet allows you to use Azure Resource Manager (ARM) templates to create Azure resources. In this scenario, it allows you to create a VM from an ARM template.

You should not use New-AzureQuickVM or New-AzureVM. Both cmdlets allows you to create a VM from an Azure template, not from a third-party online template.

You should not use New-AzureRmVMConfig. This cmdlet creates a VM configuration, not an actual VM.

References (click to expand)

Prev Question
Next Question

Load more