exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 17 question 4 discussion

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

DRAG DROP -
You need to recommend a procedure to implement the build agent for Project1.
Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Scenario:

Step 1: Sign in to Azure Devops by using an account that is assigned the Administrator service connection security role.
Note: Under Agent Phase, click Deploy Service Fabric Application. Click Docker Settings and then click Configure Docker settings. In Registry Credentials Source, select Azure Resource Manager Service Connection. Then select your Azure subscription.
Step 2: Create a personal access token..
A personal access token or PAT is required so that a machine can join the pool created with the Agent Pools (read, manage) scope.
Step 3: Install and register the Azure Pipelines agent on an Azure virtual machine.
By running a Azure Pipeline agent in the cluster, we make it possible to test any service, regardless of type.
Reference:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-container-app-with-cicd-vsts https://mohitgoyal.co/2019/01/10/run-azure-devops-private-agents-in-kubernetes-clusters/

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
James79
Highly Voted 3 years, 4 months ago
1. Sign in with pool admin role 2. Create PAT 3. Install and register on Azure VM https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops
upvoted 73 times
rdemontis
2 years, 8 months ago
agee with you https://docs.microsoft.com/en-us/azure/devops/organizations/security/about-security-roles?view=azure-devops
upvoted 3 times
...
...
Chiboy
Highly Voted 2 years, 6 months ago
Guys, Project 1 requires incremental build. So the Pipelines Agent should be installed on an on-premises environment that will be self-host . Answer is (1) sign into Devops as an agent pool admin. 2 Create a personal token and 3. Install the agent on an on-premises machine.
upvoted 14 times
pdk88
2 years, 3 months ago
I think you are mixing things up. You are right about the fact that you need a self hosted agent to make use of incremental builds. But that doesn't mean they have to be on premise; you can use an Azure VM as well. What you can't use is an MS hosted agent, since they are thrown away after the build. "If you use a self-hosted agent, you can run incremental builds [...] When you use a Microsoft-hosted agent, you don't get these benefits because the agent is destroyed after the build [...]" https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=browser#private-agent-performance-advantages
upvoted 10 times
...
alexax578
2 years, 3 months ago
self-host can be Azure VM Technical requirement: "Whenever possible, use Azure resources."
upvoted 17 times
...
...
vsvaid
Most Recent 11 months, 2 weeks ago
pool admin role pat install and register azure vm
upvoted 1 times
...
renzoku
1 year, 5 months ago
1. Sign in to Azure DevOps with agent pool administrator role. This allow you to configurate and manage the agent pools in Azure DevOps and ask for the PAT. 2. Create a PAT. Token used to authenticate the build agents, this is used in the next step. 3. Install and register the Azure Pipelines agent on an Azure virtual machine. Upon request "Whenever possible, use Azure resources.", and you can install self-hosted agent into azure virtual machines to incremental builds.
upvoted 4 times
...
zellck
1 year, 6 months ago
Same as Topic 11 Question 4. https://www.examtopics.com/discussions/microsoft/view/17103-exam-az-400-topic-11-question-4-discussion
upvoted 1 times
...
zellck
1 year, 6 months ago
1. Sign in to Azure Devops using an account that is assigned agent pool admin role 2. Create a personal access token 3. Install and register Azure Pipelines agent on an Azure virtual machine https://learn.microsoft.com/en-us/azure/devops/organizations/security/about-security-roles?view=azure-devops#agent-pool-security-roles-organization-or-collection-level - Administrator Can register or unregister agents from the pool and manage membership for all pools, as well as view and create pools. They can also use the agent pool when creating an agent in a project. The system automatically adds the user that created the pool to the Administrator role for that pool.
upvoted 3 times
...
Vmwarevirtual
1 year, 8 months ago
Correct procedure should be like Jame79 provided - 1. Sign in with pool admin role 2. Create PAT 3. Install and register on Azure VM https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops#permissions
upvoted 2 times
...
friendlyvlad
2 years ago
The user configuring the agent needs pool admin permissions, but the user running the agent does not. Hence, James 79 is right
upvoted 2 times
...
Matkes
2 years, 4 months ago
NO !!! Project 1 requires an incremental build and 3rd party extensions which you can add only on self-hosted agents. https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml The correct answer should be: 1. Sign in with pool admin role 2. Create PAT 3. Install and register on on-prem VM
upvoted 5 times
...
syu31svc
2 years, 4 months ago
1. Sign in using pool admin role 2. Create PAT 3. Install and register on Azure VM https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops "If the user account you're going to use is not shown, then get an administrator to add it. The administrator can be an agent pool administrator,"
upvoted 2 times
...
Whirly
2 years, 8 months ago
Exam Question April 1st 2022. went with given answer.
upvoted 2 times
...
LieJ0n
2 years, 8 months ago
1. pool admin role 2. create PAT 3. install register The administrator can be an agent pool administrator, an Azure DevOps organization owner, or a TFS or Azure DevOps Server administrator.
upvoted 4 times
...
Sara_Mo
2 years, 10 months ago
the given answer is correct:
upvoted 1 times
...
wooyourdaddy
3 years ago
I think the given answer is correct: 1: Sign in to Azure Devops by using an account that is assigned the Administrator service connection security role. 2: Create a personal access token in Azure DevOps organization of Contoso 3: Install and register the Azure Pipelines agent on an Azure virtual machine. Excerpt taken from James79 link: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops If the user account you're going to use is not shown, then get an administrator to add it. "The administrator can be an agent pool administrator, an Azure DevOps organization owner, or a TFS or Azure DevOps Server administrator."
upvoted 2 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 ...