Soru

Zorluk: KolayCreate and Configure Virtual Machines

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.)

  1. Deploy VM1 to an Availability Zone.Cevap
  2. Configure the Custom Script Extension on VM1.Cevap
  3. C
    Deploy VM1 to an Availability Set.
  4. D
    Configure 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

1
Analyze the high-availability requirement to protect VM1 against datacenter-level failures.
Identify that Availability Zones provide physical separation of datacenters within an Azure region, protecting against datacenter-level outages. Availability Sets only protect against localized hardware failures within a single datacenter.
This determines the correct redundancy option.
2
Analyze the automation requirement to install a web server role immediately after VM1 is provisioned.
Identify that the Custom Script Extension is the correct VM extension to run post-deployment scripts, such as software installations or system configuration.
This determines the correct VM extension option.

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
Bu soruyu puanla