exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 34 discussion

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

You have a free tier of an Azure DevOps organization named Contoso. Contoso contains 10 private projects. Each project has multiple jobs with no dependencies. The build process requires access to resource files located in an on-premises file system.
You frequently run the jobs on five self-hosted agents but experience long build times and frequently queued builds.
You need to minimize the number of queued builds and the time it takes to run the builds.
What should you do?

  • A. Configure the pipelines to use the Microsoft-hosted agents.
  • B. Register additional self-hosted agents.
  • C. Purchase self-hosted parallel jobs.
  • D. Purchase Microsoft-hosted parallel jobs.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Saterial
Highly Voted 3 years, 12 months ago
If in doubt the answer from Microsoft is always to buy something, answer is C.
upvoted 85 times
TrangNguyen_6
3 years, 7 months ago
5 * for your comment :D
upvoted 8 times
...
ThomasKong
3 years, 8 months ago
Godlike explanation, hahahhah, everything is purchase XD from microsoft
upvoted 6 times
...
amsun10
3 years, 7 months ago
Or sell something, like Github Enterprise, lol
upvoted 5 times
...
Beast_Hollow
3 years, 11 months ago
best comment :p
upvoted 3 times
...
...
meinekarte
Highly Voted 4 years ago
I think C is correct
upvoted 19 times
an26
4 years ago
You are right: https://docs.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs?view=azure-devops&tabs=self-hosted#how-much-do-parallel-jobs-cost
upvoted 8 times
weq
3 years, 6 months ago
Hmmm I disagree. The question states that we have 10 private projects and only 5 agents. Private ones can have 1 self hosted per project, which leaves room for registering 5 more. So it should be B.
upvoted 5 times
MohmmadFayez
2 years, 8 months ago
Parrallel jobs conted per orgnization not per project
upvoted 3 times
...
...
...
...
Dankho
Most Recent 4 months ago
Selected Answer: B
Because you have self-hosted agents, you get unlimited parallel jobs, no matter if the project is public or private, so C doesn't make sense, why would you buy something you already have. Registering self-hosted agents (options B) is the most effective out of all the choices because it's cost-effective, and addresses the build queue issue while leveraging your existing setup.
upvoted 1 times
...
Gooldmember
5 months, 2 weeks ago
Selected Answer: C
It's C "You have a free tier...." -> "One self-hosted CI/CD concurrent job" and therefore you need to buy more concurrent self-hosted jobs From microsoft: The free tier includes the following aspects: First five users free (Basic license) Azure Pipelines One Microsoft-hosted CI/CD (one concurrent job, up to 30 hours per month) One self-hosted CI/CD concurrent job Azure Boards: Work item tracking and boards Azure Repos: Unlimited private Git repos Azure Artifacts: Two GiB free per organization
upvoted 2 times
Gooldmember
5 months, 2 weeks ago
So if you have 5 self-hosted agents but only got one concurrent license for them, then only 1 agent will be in use and no concurrency will happen at all
upvoted 1 times
...
Gooldmember
5 months, 2 weeks ago
Reference https://learn.microsoft.com/en-us/azure/devops/organizations/billing/overview?view=azure-devops#free-tier
upvoted 1 times
...
...
dung1996
7 months, 3 weeks ago
I think C is correct
upvoted 1 times
...
UrbanRellik
10 months, 3 weeks ago
Selected Answer: B
B. Add more self-hosted agents. Adding parallel jobs applies to Microsoft-hosted agents only.
upvoted 2 times
...
vsvaid
1 year, 4 months ago
Selected Answer: C
Additional Parrallel jobs as the project is private. If the project was public then B
upvoted 1 times
...
cluqueg
1 year, 5 months ago
Selected Answer: B
B. The only statement regarding why builds are being queued is because they take long, nothing about a lack of parallel jobs. Adding more Agents will definitely help.
upvoted 1 times
...
Kent_020
1 year, 6 months ago
Unlimited parallel jobs for Self-hosted agents is only in Public projects. Here it's mentioned that the projects are private. So the only option is buying parallel jobs for private projects.
upvoted 1 times
...
angie31
1 year, 7 months ago
Self-hosted agents have unlimited parallel jobs. It should be B. Just register other agents
upvoted 1 times
gabo
1 year, 7 months ago
Unlimited parallel jobs for Self-hosted agents is only in Public projects. Here it's mentioned that the projects are private so the first priority should be to purchase additional parallel jobs.
upvoted 4 times
...
...
yana_b
1 year, 7 months ago
Selected Answer: C
Purchase additional self-hosted jobs because the project is private and for private projects Microsoft ensures "one self-hosted job; For each active Visual Studio Enterprise subscriber who is a member of your organization, you get one additional self-hosted parallel job". Self- and not MS-hosted, because the server is on-premise one => both the agent and the parallel job are self-hosted. https://learn.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs?view=azure-devops&tabs=self-hosted
upvoted 4 times
...
heeloco
1 year, 8 months ago
Selected Answer: B
[..]The build process requires access to resource files located in an on-premises file system.[...] So in this case I would use my self-hosted agents. regarding: https://learn.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs?view=azure-devops&tabs=self-hosted#how-much-do-parallel-jobs-cost I found this text: [...]One self-hosted job; For each active Visual Studio Enterprise subscriber who is a member of your organization, you get one additional self-hosted parallel job.[...] In the question is no information about the amount of Members of the organization. So I would choose to add more self-hosted agents. Like B
upvoted 1 times
...
ieboaix
1 year, 8 months ago
Thinking B at first but after reflection I think C is right. the parallel jobs decide the maximum jobs you can run at same time, despite the number of build agents. so adding more agent won't help. make sense?
upvoted 1 times
...
DeDa_GH01
1 year, 9 months ago
Selected Answer: C
should be c
upvoted 1 times
...
itexamsmicrosoft
1 year, 9 months ago
Selected Answer: B
The best way to minimize the number of queued builds and the time it takes to run the builds in this situation is to add more self-hosted agents, so option B is the correct answer. The reason for not being C is as follows: Purchasing self-hosted parallel jobs wouldn't help in this case, as they're free for Azure DevOps users regardless of their tier, and the issue isn't with parallelism but with the number of available agents.
upvoted 1 times
...
ShomaV
1 year, 11 months ago
you cannot register or use additional self-hosted agents, as this feature is only available in the paid tiers of Azure DevOps organizations. Correct Ans: Purchase
upvoted 1 times
...
Fal991l
2 years ago
Selected Answer: B
GTP: B. Register additional self-hosted agents. Explanation: The most effective way to minimize the number of queued builds and the time it takes to run the builds is to register additional self-hosted agents. When you have more agents available to run builds, you can distribute the load across them and reduce the wait time for builds to start.
upvoted 3 times
Fal991l
2 years ago
Using Microsoft-hosted agents (option A) may not be an optimal solution because you need access to resource files located in an on-premises file system. While you could use a self-hosted agent on-premises to access the file system, using a Microsoft-hosted agent would require copying the files to Azure, which could be time-consuming and inefficient. Purchasing self-hosted parallel jobs (option C) or Microsoft-hosted parallel jobs (option D) may also be effective in reducing build times and queues, but they come at a cost. Since the Contoso organization is using the free tier, the cost of purchasing additional jobs may not be justifiable.
upvoted 1 times
Fal991l
2 years ago
Therefore, registering additional self-hosted agents (option B) is the best option to minimize build times and queues while keeping costs low. By increasing the number of self-hosted agents, you can take advantage of your existing infrastructure and reduce the reliance on a limited set of agents, which can reduce the overall build time and wait time for queued builds.
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