nerdexam
Microsoft

AZ-400 · Question #24

Your company builds a multi tier web application. You use Azure DevOps and host the production application on Azure virtual machines. Your team prepares an Azure Resource Manager template of the virtu

The correct answer is A. In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual. You can use the Azure DevTest Labs Tasks extension that's installed in Azure DevOps to easily integrate your CI/CD build-and-release pipeline with Azure DevTest Labs. The extension installs - Create a custom image from a VM The process makes it easy to, for example, quickly deplo

Submitted by lukas.cz· Mar 6, 2026Design and implement build and release pipelines

Question

Your company builds a multi tier web application. You use Azure DevOps and host the production application on Azure virtual machines. Your team prepares an Azure Resource Manager template of the virtual machine that you mil use to test new features. You need to create a staging environment in Azure that meets the following requirements: - Minimizes the cost of Azure hosting - Provisions the virtual machines automatically - Use* the custom Azure Resource Manager template to provision the virtual machines What should you do?

Options

  • AIn Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual
  • BFrom Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual
  • CIn Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
  • DIn Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in

How the community answered

(27 responses)
  • A
    78% (21)
  • B
    11% (3)
  • C
    4% (1)
  • D
    7% (2)

Explanation

You can use the Azure DevTest Labs Tasks extension that's installed in Azure DevOps to easily integrate your CI/CD build-and-release pipeline with Azure DevTest Labs. The extension installs - Create a custom image from a VM The process makes it easy to, for example, quickly deploy a "golden image" for a specific test task and then delete it when the test is finished. https://docs.microsoft.com/en-us/azure/lab-services/devtest-lab-integrate-ci-cd-vsts

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice