Soru

Zorluk: OrtaCreate and Configure Virtual Machines

You plan to deploy a new Azure virtual machine named VM1. The deployment must meet the following requirements:
- VM1 must host a high-performance database that uses Azure Ultra Disks.
- A custom configuration script must run automatically inside VM1 immediately after deployment.

Which two actions should you perform to meet these requirements? (Select two.)

  1. Enable Ultra Disk compatibility on VM1.Cevap
  2. Install the Custom Script Extension on VM1.Cevap
  3. C
    Deploy VM1 to an Availability Set.
  4. D
    Create a diagnostic setting on VM1 to run the script.
  5. E
    Apply a ReadOnly resource lock to the resource group containing VM1.

Cevap

Enable Ultra Disk compatibility on the virtual machine and install the Custom Script Extension on the virtual machine.
Enabling Ultra Disk compatibility on the virtual machine allows the VM to attach Ultra Disks for high-performance database storage. Installing the Custom Script Extension ensures that the custom script is automatically executed inside the virtual machine immediately after deployment.

Adım Adım Çözüm

1
Configure the virtual machine settings for high-performance storage by enabling Ultra Disk compatibility.
The virtual machine is configured to support Ultra Disks as data disks.
Azure Ultra Disks require the VM to have Ultra Disk compatibility explicitly enabled during deployment.
2
Configure the virtual machine extensions by selecting the Custom Script Extension and providing the configuration script.
The Custom Script Extension is added to the virtual machine deployment template.
The Custom Script Extension executes the script inside the virtual machine immediately after provisioning is complete.

Anahtar Kavram

To deploy a virtual machine that uses Ultra Disks and runs automated startup configurations, you must enable Ultra Disk compatibility on the virtual machine and use a virtual machine extension such as the Custom Script Extension.
Tahmini Süre:1m 30s
Bu soruyu puanla