You will deploy an Ubuntu Server VM and must include a specific trusted root CA as part of the custom deployment. Which command should you use to create the VM?
Choose an answer
Tap an option to check your answer.
Correct answer: The az vm create command..
Why this is the answer
The az vm create command is the correct choice because it is the Azure CLI command used to create a new virtual machine. When creating an Ubuntu Server VM and needing to include a specific trusted root CA, the Azure CLI offers parameters and extensions (like custom script extensions) that can be leveraged during or immediately after VM creation to install or configure the CA. The New-AzVM cmdlet is the Azure PowerShell equivalent for creating a VM, but the question asks for a command, implying a CLI context. New-AzureRmVm is an older, deprecated Azure PowerShell cmdlet. Create-AzVM is not a valid Azure PowerShell cmdlet.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed