Home » Microsoft » AZ-400 v.2 » Which of the following should be part of your solution?
You have created an Azure DevOps project for a new application that will be deployed to a number of Windows Server 2016 Azure virtual machines.
You are preparing a deployment solution that allows for the virtual machines to maintain a uniform configuration, and also keep administrative effort with regards to configuring the virtual machines to a minimum.
Which of the following should be part of your solution? (Choose two.)
A. Azure Resource Manager templates
B. The PowerShell Desired State Configuration (DSC) extension for Windows
C. Azure pipeline deployment groups
D. The Custom Script Extension for Windows
E. Azure pipeline stage templates
Correct Answer: AD
Explanation/Reference:
The Custom Script Extension downloads and executes scripts on Azure virtual machines. This extension is useful for post deployment configuration, software installation, or any other configuration or management tasks. 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 be run using the Azure CLI, PowerShell, Azure portal, or the Azure Virtual Machine REST API.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
To mantain the configuration status of a VM you must use DSC.
To minimize the effort of creating the VM you can use an ARM template so that you can reuse it for each VM. Deployment groups requires more effort.
To mantain the configuration status of a VM you must use DSC.
To minimize the effort of creating the VM you can use an ARM template so that you can reuse it for each VM. Deployment groups requires more effort.
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/?view=azure-devops
A&B