An administrator is managing an Azure Virtual Machine Scale Set (VMSS) named `vmss-app` that uses Uniform orchestration, has a current instance count of 5, and uses a Manual upgrade policy. The administrator needs to deploy a custom shell script that configures a web server on all current and future VM instances in the scale set.
Which sequence of actions should the administrator perform to ensure that the configuration is registered in the scale set model and applied to all active instances? To answer, arrange the actions in the correct order.
- 1Upload the configuration script to a blob container in an Azure Storage account.
- 2Generate a Shared Access Signature (SAS) token for the uploaded script blob.
- 3Add the Custom Script Extension to the VMSS configuration model, referencing the script blob URI and SAS token.
- 4Select the existing VM instances in the scale set and trigger a manual upgrade.
Cevap
First, upload the script to the Azure Storage blob container. Second, generate a SAS token for the script blob. Third, add the Custom Script Extension to the VMSS model referencing the blob URI and SAS token. Fourth, manually trigger an upgrade on the existing VMSS instances to apply the updated model.
The correct sequence begins with uploading the script and generating a SAS token, as the VMSS model configuration requires a valid URI and credentials to be defined. Once the model is updated, the manual upgrade must be triggered last so that the instances pull the newly modified model rather than the old one.
Adım Adım Çözüm
Anahtar Kavram
Applying configuration changes to existing and future instances of a Virtual Machine Scale Set (VMSS) with a Manual upgrade policy.