nerdexam
MicrosoftMicrosoft

AZ-400 · Question #95

AZ-400 Question #95: Real Exam Question with Answer & Explanation

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, 2026

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

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

Community Discussion

No community discussion yet for this question.

Full AZ-400 PracticeBrowse All AZ-400 Questions