ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 5 - AZ-400 discussion

Report
Export

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 will 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

Uses the custom Azure Resource Manager template to provision the virtual machines

What should you do?

A.
In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.
Answers
A.
In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.
B.
In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
Answers
B.
In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
C.
From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.
Answers
C.
From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.
D.
In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Answers
D.
In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Suggested answer: D

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 three tasks:

Create a VM

Create a custom image from a VM

Delete 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.

Reference:

https://docs.microsoft.com/en-us/azure/lab-services/devtest-lab-integrate-ci-cd-vsts

asked 02/10/2024
Duncan Brundseaux
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first