Microsoft
AZ-104 · Question #462
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…
The correct answer is D. The az vm create command. 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. https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment
Submitted by akirajp· Mar 4, 2026Deploy and manage Azure compute resources
Question
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?
Options
- AThe New-AzureRmVm cmdlet.
- BThe New-AzVM cmdlet.
- CThe Create-AzVM cmdlet.
- DThe az vm create command.
How the community answered
(35 responses)- A3% (1)
- B3% (1)
- D94% (33)
Explanation
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. https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment
Community Discussion
No community discussion yet for this question.