An administrator is deploying a new Azure virtual machine named VM1 in the West US 2 region. The deployment must meet the following requirements:
- Protect the virtual machine against datacenter-level failures.
- Automatically install a web server role immediately after the virtual machine is provisioned.
Which two configurations should the administrator select? (Select two.)
- Deploy VM1 to an Availability Zone.Cevap
- Configure the Custom Script Extension on VM1.Cevap
- CDeploy VM1 to an Availability Set.
- DConfigure a Container Instance restart policy of Always on VM1.
Cevap
Deploy the virtual machine to an Availability Zone, and configure the Custom Script Extension on the virtual machine.
Deploying the virtual machine to an Availability Zone ensures that the virtual machine is located in a physically separate datacenter facility within the region, providing protection against datacenter-level failures. Using the Custom Script Extension allows the administrator to automatically run a script (e.g., to install IIS or Apache) once the VM is provisioned.
Adım Adım Çözüm
Anahtar Kavram
Configuring Azure Virtual Machines for high availability (Availability Zones vs Availability Sets) and post-deployment automation using VM extensions.
Tahmini Süre:45s