AZ-104 · Question #276
You plan to automate the deployment of a virtual machine scale set that uses the Windows Server 2016 Datacenter image. You need to ensure that when the scale set virtual machines are provisioned…
The correct answer is A. Upload a configuration script D. Modify the extensionProfile section of the Azure Resource Manager template. The Custom Script Extension downloads and executes scripts on Azure VMs. This extension is useful for post deployment configuration, software installation, or any other configuration / management task. Scripts can be downloaded from Azure storage or GitHub, or provided to the…
Question
Options
- AUpload a configuration script
- BCreate an automation account
- CCreate an Azure policy
- DModify the extensionProfile section of the Azure Resource Manager template
- ECreate a new virtual scale set in the Azure portal
How the community answered
(58 responses)- A79% (46)
- B12% (7)
- C3% (2)
- E5% (3)
Explanation
The Custom Script Extension downloads and executes scripts on Azure VMs. This extension is useful for post deployment configuration, software installation, or any other configuration / management task. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure portal at extension run-time. The Custom Script extension integrates with Azure Resource Manager templates, and can also be used with the Azure CLI, Azure PowerShell, Azure portal, or the REST API The following Custom Script Extension definition downloads a sample script from GitHub, installs the required packages, then writes the VM instance hostname to a basic HTML page. https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
Community Discussion
No community discussion yet for this question.