An administrator is configuring an Azure Virtual Machine Scale Set (VMSS) named vmss-retail that uses Uniform orchestration to run a web application. The administrator needs to configure the VMSS to roll out application updates automatically when the VMSS model is updated. The configuration must meet the following requirements:
- Updates must be applied to instances gradually in batches.
- A subset of instances must remain available to serve traffic during the update.
- The update process must automatically pause if the new instances are unhealthy.
- No manual intervention should be required to promote the update across batches.
Which two options should the administrator configure to meet these requirements? (Select two.)
- Set the VMSS upgrade policy mode to Rolling.Cevap
- Associate an Application Health Extension or a Load Balancer health probe with the VMSS.Cevap
- CSet the VMSS upgrade policy mode to Automatic.
- DSet the VMSS upgrade policy mode to Manual.
Cevap
The administrator should set the upgrade policy mode to Rolling and associate an Application Health Extension or a Load Balancer health probe with the Virtual Machine Scale Set.
To meet the requirements, the VMSS upgrade policy mode must be set to Rolling. The Rolling upgrade policy applies updates to instances in batches. To monitor the health of these instances during the update and determine when to proceed to the next batch or pause, a health probe (either via Application Health Extension or a Load Balancer health probe) must be associated with the VMSS. This combination allows for zero-downtime, automated, health-aware deployments.
Adım Adım Çözüm
Anahtar Kavram
Configuring Virtual Machine Scale Set upgrade policies and health probe dependencies for rolling upgrades.