nerdexam
Microsoft

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

Submitted by kwame.gh· Mar 6, 2026Design infrastructure solutions

Question

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 that will deploy resources by using Azure Resource Manager templates. The solution must minimize administrative effort. Which task type should you include in the solution?

Options

  • AAzure Cloud Service Deployment
  • BAzure RM Web App Deployment
  • CAzure PowerShell
  • DAzure App Service Manage

How the community answered

(60 responses)
  • A
    5% (3)
  • B
    7% (4)
  • C
    75% (45)
  • D
    13% (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

#ARM templates#Azure PowerShell task#release pipeline#deployment automation

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice