How to Automate an Application Update in Azure
QUESTION:
You are the admin at RedWidgetCo and are responsible for deploying and maintaining a web app called RedWidgetApp. Your manager has asked you to automate the deployment of an updated version of the app. As part of the deployment, you need to ensure both the resource group and new version of the app are deployed at the same time.
What tool should you perform the deployment with?
A. Web Deploy
B. FTP
C. PowerShell
The answer is C. By using PowerShell, you can create the resource group and deploy the updated version of the app simultaneously. To use PowerShell, you will have to create an ARM template that automates the creation of the resource group as well as deploys the new version of the application. You can then deploy the template via PowerShell.
Reference Material:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy
Click here for my PREMIUM practice questions.