AZ-104 – Question 3


You are planning to deploy an Ubuntu Server virtual machine to your company’s Azure subscription.
You are required to implement a custom deployment that includes adding a particular trusted root certification authority (CA).
Which of the following should you use to create the virtual machine?

A. The New-AzureRmVm cmdlet.
B. The New-AzVM cmdlet.
C. The Create-AzVM cmdlet.
D. The az vm create command.

Correct Answer: C 
Once Cloud-init.txt has been created, you can deploy the VM with az vm create cmdlet, using the –custom-data parameter to provide the full path to the cloud- init.txt file.