PdfPrep.com

What should you do?

Hotspot Question

You have an Azure subscription named Subscription1.

You plan to deploy an Ubuntu Server virtual machine named VM1 to Subscription1.

You need to perform a custom deployment of the virtual machine.

A specific trusted root certification authority (CA) must be added during the deployment.

What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Box 1: Cloud-init.txt

Cloud-init.txt is used to customize a Linux VM on first boot up. It can be used to install packages and

write files, or to configure users and security. No additional steps or agents are required to apply your

configuration.

Box 2: The az vm create command

Once Cloud-init.txt has been created, you can deploy the VM with az vm create cmdlet, sing the — custom-data parameter to provide the full path to the cloud-init.txt file.

References: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment

Exit mobile version