Home » Microsoft » AZ-400 v.2 » DRAG DROP
DRAG DROP
You have an Azure subscription that contains a resources group named RG1. RG1 contains the following resources:
Four Azure virtual machines that run Windows Server and have Internet Services (IIS) installed.
SQL Server on an Azure virtual machine.
An Azure Load Balancer.
You need to deploy an application to the virtual machines in RG1 by using Azure Pipelines.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:
Correct Answer:
Explanation/Reference:
Explanation:
Step 1: Create an agent pool Azure Pipelines provides a pre-defined agent pool named Azure Pipelines with Microsoft-hosted agents.
Step 2: Create a deployment group Deployment groups make it easy to define logical groups of target machines for deployment, and install the required agent on each machine.
Step 3: Execute the Azure Pipelines Agent extension to the virtual machines Install the Azure Pipelines Agent Azure VM extension Step 4: Add and configure a deployment group job for the pipeline Tasks that you define in a deployment group job run on some or all of the target servers, depending on the arguments you specify for the tasks and the job itself.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/howto-provision-deployment-group-agents
Here the order of tasks are :
1. Create an agent pool – This would be used for building the application in Azure Pipelines
2. Create a deployment group – Group the target virtual machines in the deployment group
3. Add and configure the deployment group job for the pipeline
4. Execute the pipeline