Microsoft Certified: Azure Administrator AssociateDeploy and manage Azure compute resourcesHard
You need to update the operating system and installed applications on 50 Azure virtual machines (VMs) that are part of a Virtual Machine Scale Set (VMSS). The update process must be automated, minimize downtime, and allow for a gradual rollout to monitor for issues before applying to all instances.
- AUse Azure Update Manager to schedule a one-time update deployment for all VMs.
- BManually RDP/SSH into each VM, apply updates, and reboot.
- CCreate a new custom image with the updates, then redeploy the entire VMSS from the new image.
- DImplement a rolling upgrade strategy for the VMSS using an upgrade policy.
Show answer & explanationAnswer & explanation
Correct answer: D. Implement a rolling upgrade strategy for the VMSS using an upgrade policy.
A rolling upgrade strategy for a VMSS, configured through an upgrade policy (e.g., Automatic or Rolling), is specifically designed to update instances in batches, minimizing downtime and allowing for health checks between batches, which supports gradual rollout and issue monitoring.
Why the other options are wrong
- A. Azure Update Manager can schedule updates but typically applies them to all specified VMs without the gradual, batch-based rollout and health monitoring capabilities of VMSS rolling upgrades.
- B. Manual updates are inefficient, error-prone, and do not minimize downtime or allow for gradual rollout.
- C. Redeploying the entire VMSS from a new image might cause significant downtime during the transition and doesn't inherently support a gradual, monitored rollout without additional complex orchestration.
Azure VMSS Rolling Upgrades
A method for updating instances within a Virtual Machine Scale Set in batches, allowing for controlled, gradual rollout of changes (OS, application, configuration) with minimal downtime and integrated health monitoring.
- Updates instances in a specified batch size.
- Monitors instance health between batches.
- Minimizes downtime during updates.
- Supports Automatic, Rolling, and Manual upgrade modes.
Memory trick: Rolling Upgrades Roll Out Smoothly.