Soru

Zorluk: OrtaConfigure Virtual Machine Scale Sets (VMSS)

An administrator manages an Azure Virtual Machine Scale Set named `vmss-compute` that uses Uniform orchestration. The scale set currently has 8 instances, and its upgrade policy is set to Manual. The administrator needs to update the scale set to use a new version of a custom virtual machine image. The update must meet the following requirements:
- The instances must be updated automatically in batches.
- The application must maintain service availability during the update process.
- The update process must pause if an instance fails to return to a healthy state after being updated.
Which upgrade policy should the administrator configure?

  1. A
    Manual
  2. B
    Automatic
  3. RollingCevap
  4. D
    Scheduled

Cevap

The Rolling upgrade policy should be configured because it automatically updates scale set instances in batches, maintains service availability, and pauses the update if an instance fails to return to a healthy state.
The correct answer is the Rolling upgrade policy. When configured, Azure updates the virtual machine scale set instances in batches. It monitors the health of the instances and will pause the rollout if an instance fails to return to a healthy state, minimizing service disruption.

Adım Adım Çözüm

1
Identify the requirement for batch-based, automatic virtual machine updates that maintain high availability.
Determine that updating all instances at once is unacceptable, eliminating the Automatic upgrade policy.
Maintaining service availability requires a staggered rollout rather than updating all instances simultaneously.
2
Analyze the requirement to pause the update process if an instance fails to become healthy.
Identify that the upgrade policy must support health-check integration.
Health monitoring is a key feature of the Rolling upgrade policy to prevent bad updates from taking down the entire scale set.
3
Select the policy that matches all criteria.
Choose the Rolling upgrade policy.
Only the Rolling upgrade policy automatically updates instances in batches while using health checks to pause the rollout if an updated instance fails.

Anahtar Kavram

Virtual Machine Scale Set (VMSS) Upgrade Policies
Bu soruyu puanla