AZ-400 · Question #95
You have a project in Azure DevOps. You have an Azure Resource Group deployment project in Microsoft Visual Studio that is checked in to the Azure DevOps project. You need to create a release pipeline
The correct answer is C. Azure PowerShell. There are two different ways to deploy templates to Azure DevOps Services. Both methods provide the same results, so choose the one that best fits your workflow. 1. Add a single step to your build pipeline that runs the PowerShell script that's included in the Azure Resource Grou
Question
Options
- AAzure Cloud Service Deployment
- BAzure RM Web App Deployment
- CAzure PowerShell
- DAzure App Service Manage
How the community answered
(60 responses)- A5% (3)
- B7% (4)
- C75% (45)
- D13% (8)
Explanation
There are two different ways to deploy templates to Azure DevOps Services. Both methods provide the same results, so choose the one that best fits your workflow. 1. Add a single step to your build pipeline that runs the PowerShell script that's included in the Azure Resource Group deployment project (Deploy-AzureResourceGroup.ps1). The script copies artifacts and then deploys the template. 2. Add multiple Azure DevOps Services build steps, each one performing a stage task. The first option has the advantage of using the same script used by developers in Visual Studio and providing consistency throughout the lifecycle. https://docs.microsoft.com/en-us/azure/vs-azure-tools-resource-groups-ci-in-vsts
Topics
Community Discussion
No community discussion yet for this question.