exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 52 discussion

Actual exam question from Microsoft's AZ-400
Question #: 52
Topic #: 7
[All AZ-400 Questions]

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 Information 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:

Show Suggested Answer Hide Answer
Suggested Answer:
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: Add 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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
meinekarte
Highly Voted 3 years, 7 months ago
I would say: 1- Create a deployment group 2- Add the Azure Pipelines Agent extension to the virtual machines 3- Add and configure a deployment group job for the pipeline 4- excuse the pipeline
upvoted 118 times
rdemontis
2 years, 7 months ago
correct https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/deploying-azure-vms-deployment-groups?view=azure-devops#creating-and-configuring-a-deployment-group
upvoted 1 times
...
CyberLumi
3 years, 5 months ago
Agent pols need to be created , before a deployment group can be made. There is no mention that the 4 VMs are self hosted agent pools.
upvoted 1 times
...
haxaffe
3 years, 7 months ago
This should be right, no need to create an agent pool. Deployment groups share the required code to run on target servers to make them targets of the deployment group.
upvoted 1 times
...
meinekarte
3 years, 7 months ago
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/deploying-azure-vms-deployment-groups?view=azure-devops#:~:text=A%20deployment%20group%20is%20a,after%20the%20project%20is%20provisioned.
upvoted 2 times
...
...
poplovic
Highly Voted 3 years, 2 months ago
read the doc (which is terribly written) and watched some videos. The correct steps 1- Create a deployment group and assign a tag to each machine (you can also create multiple groups) 2- Add the Azure Pipelines Agent extension to the virtual machines: once you add a machine, you will get a poweshell script with the PAT. You install the agent by running the script on your machine. 3- Add and configure a deployment group job for the pipeline: hook up the jobs in the pipeline with deployment group's machine 4- excuse the pipeline: run the pipeline
upvoted 27 times
Pamban
1 year, 5 months ago
could you provide the link?
upvoted 1 times
...
...
vsvaid
Most Recent 11 months ago
1- Create a Deployment Group 2- Add agent 3-Conigure Deployment group 4- Execute pipeline
upvoted 7 times
Freyr
4 months ago
Thanks, very easy to remember.
upvoted 1 times
...
...
Firdous586
1 year ago
Answer given is incorrect: Answer is: 1- Create a Deployment Group in Azure pipeline 2- Add the Azure Pipelines Agent extension to the virtual machines 3- Add and configure a deployment group job for the pipeline 4- excuse the pipeline Note: these steps i have already tested in Lab and i am 100% Sure its correct
upvoted 3 times
...
yana_b
1 year, 2 months ago
The answer provided by meinekarte is correct and the evidence is here: https://learn.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/deploying-azure-vms-deployment-groups?view=azure-devops
upvoted 2 times
...
renzoku
1 year, 3 months ago
E. Create a deployment group. Logical group of target machines on which you can deploy your apps(choose your 4 VMs). D. Add the Azure Pipelines Agent extension to the virtual machines. Component that enable communitation between Azure pipelines and VMs C. Add and configure a deployment group job for the pipeline. You define the steps needed to deploy your application to the VMs(deployment group created before) D. Execute the pipeline. Start the deployment process. Create an agent pool, you have 4 VMs, you can as the agent pool directly. Add the Puppet Agent extension, sophisticated configuration management, enforcing specific software installations, managing files and settings but we only need to deploy apps on VMs.
upvoted 3 times
...
SowmSan
1 year, 7 months ago
Which is the correct answer ? Please someone confirm
upvoted 3 times
gabo
1 year, 1 month ago
The answer by poplovic should be correct: 1. Create a deployment group 2. Run the extension/PS script on the VM's to add them to the group 3. Add the deployment group job to the pipeline 4. Execute the pipeline
upvoted 1 times
...
...
syu31svc
2 years, 3 months ago
I would say 1) Create an agent pool 2) Create a deployment group 3) Add and configure a deployment group job for the pipeline 4) Execute the pipeline Create the agent pool for the VMs that have IIS installed then the deployment group for the VMs https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/deploying-azure-vms-deployment-groups?view=azure-devops
upvoted 2 times
warchoon
1 year, 11 months ago
"Define an agent pool". Not create
upvoted 1 times
...
...
sujitwarrier11
2 years, 9 months ago
The agent pool creation is not relevant here.
upvoted 4 times
...
antococ
2 years, 10 months ago
The correct sequence is this: 1. Create an agent pool – This is mandatory and must be created previously of deployment group! 2. Create a deployment group 3. Add and configure the deployment group job for the pipeline 4. Execute the pipeline
upvoted 4 times
...
debanjan10
2 years, 11 months ago
Create a deployment group Add the Azure Pipelines Agent extension to the virtual machines Add and configure a deployment group job for the pipeline Execute the pipeline
upvoted 1 times
...
sheva370
3 years, 3 months ago
The correct answer is: - Create a deployment group - Create an agent pool - Add and configure a deployment group job for the pipeline - Execute the pipeline Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/deploying-azure-vms-deployment-groups?view=azure-devops#creating-and-configuring-a-deployment-group
upvoted 4 times
...
Dalias
3 years, 4 months ago
got this in 30 Jun 2021 exams. scored 800+ marks.
upvoted 2 times
Alison
3 years, 3 months ago
so what' are the answers?
upvoted 2 times
...
fsmtoledo
3 years, 3 months ago
so what' are the answers?
upvoted 2 times
...
...
francis6170
3 years, 4 months ago
Got this in the AZ-400 exam (June 2021).
upvoted 4 times
Dalias
3 years, 4 months ago
so what was the answer that you gave for this? and did you pass?
upvoted 6 times
AlexLiourtas
2 years, 7 months ago
9 months later
upvoted 2 times
...
...
...
erico
3 years, 4 months ago
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
upvoted 10 times
...
AYap
3 years, 5 months ago
1. Create deployment group 2. Create agent pool & specifications 3. Add & configure pipeline jobs 4. Execute pipeline https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deployment-groups/deploying-azure-vms-deployment-groups?view=azure-devops#:~:text=A%20deployment%20group%20is%20a,after%20the%20project%20is%20provisioned.
upvoted 5 times
tankard777
3 years, 5 months ago
This is correct.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago