exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 3 discussion

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

You have an Azure solution that contains a build pipeline in Azure Pipelines.
You experience intermittent delays before the build pipeline starts.
You need to reduce the time it takes to start the build pipeline.
What should you do?

  • A. Enable self-hosted build agents.
  • B. Create a new agent pool.
  • C. Split the build pipeline into multiple stages.
  • D. Purchase an additional parallel job.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
alpars
Highly Voted 2 years, 10 months ago
build delays are related wit concurrence! self hosted vs windows hosted does not affect the delays. Hence, I believe given answer is correct. It is D.
upvoted 34 times
hotspot02103
3 months, 2 weeks ago
delays BEFORE the pipeline starts can be fixed with self-hosted agent, if the delays are DURING the pipeline executes, then we talk about more parallel jobs answer - self-hosted agents is correct!
upvoted 1 times
...
UrbanRellik
4 months, 1 week ago
Self-Hosted vs MS-Hosted can vary in execution time. MS-Hosted doesn't support caching. MS-Hosted has limited agent specs. MS-Hosted parallel jobs must be purchased. MS-Hosted agents are paid per agent and runtime. Self-Hosted supports caching Self-Hosted agent specs based on hardware / infrastructure Self-Hosted agents support parallel jobs at no extra cost. Self-Hosted agents are paid per agent and runtime. With MS-Hosted, you will have to purchase an additional parallel job and then pay for each additional agent. With Self-Hosted, you only pay for the time that your agents are running. Unlimited parallel jobs included. Cache build in YAML on self-hosted agents for quicker execution times. Self-Hosted Agents because better hardware specs Self-Hosted Agents because environment caching Self-Hosted Agents because lower operating cost Also, why spend more money on agent runtime to recompile the same dependencies each time? Precisely –Self-Hosted Agents.
upvoted 1 times
...
Gooldmember
5 months ago
Delays in starting the pipeline would be resolved by this
upvoted 2 times
...
...
jose
Highly Voted 2 years, 4 months ago
Selected Answer: A
"You experience intermittent delays before the build pipeline starts." Before starts... So (A) "Enable self-hosted build agents" reduce the time it taks to start the build pipeline. Purchase and additional parallel job could help to reduce the execution time of the build pipeline, not the delay to start, because the build pipeline has to wait for a free agent to start
upvoted 19 times
gerardjongh
12 months ago
Not entirely true because when a job is already running a new job has to wait for the other one to finish before it starts.....
upvoted 2 times
...
...
John696
Most Recent 4 days, 3 hours ago
Selected Answer: D
Think it's D
upvoted 1 times
...
Dankho
3 months, 2 weeks ago
Selected Answer: D
Intermittent Delays: The word "intermittent" in the question implies irregular interval delays. While switching from MS-hosted to self-hosted would improve the startup time, it wouldn't completely eliminate the possibility of intermittent delays if you have multiple pipelines competing for resources. Parallel Jobs: Parallel jobs allow you to run multiple builds concurrently, reducing the chances of any single pipeline experiencing significant delays due to waiting for others. This is the most effective way to address intermittent delays caused by resource contention.
upvoted 1 times
...
dddddddddddww12
4 months ago
Selected Answer: A
you only have one pipeline (a build pipeline) + Intermittent delay , if you combine these 02 factors then this could only happen in MS hosted, so answer is A
upvoted 1 times
...
UrbanRellik
4 months, 1 week ago
Selected Answer: A
Enable Self-Hosted Agents An intermittent delay would be due to a busy agent. An additional parallel job would work if you have extra available agents. You still need to enable self-hosted agents.
upvoted 1 times
...
IBking
4 months, 1 week ago
Selected Answer: A
The question says it consists of A build pipeline not many pipeline. Therefore adittional parallel job is not needed. A self hosted agent is enough for a pipeline to start without delay.
upvoted 1 times
...
Gooldmember
5 months ago
Selected Answer: A
Potential performance advantages that you might get by using self-hosted agents that might start and run builds faster. From https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml So answer is A
upvoted 1 times
...
MrAZ105
6 months ago
https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/release-engineering-performance. option A it is
upvoted 2 times
...
Mattt
6 months, 1 week ago
Selected Answer: D
D is correct
upvoted 1 times
...
DevopsRock
7 months, 1 week ago
Selected Answer: D
D. Purchase an additional parallel job. You have to wait for an agent to pick up the task no matter what.
upvoted 1 times
...
sondrex
8 months, 3 weeks ago
D. Purchase an additional parallel job.
upvoted 1 times
...
GPRai
9 months, 3 weeks ago
Selected Answer: A
I will Choose A, due to start timing of the build job
upvoted 1 times
...
FeriAZ
1 year ago
Selected Answer: D
In this specific scenario where delays occur before the pipeline even starts, the issue lies in the availability of a free agent to handle the build job. Purchasing an additional parallel job increases the number of concurrent pipelines that can be executed on the same agent, potentially reducing the queueing time for your pipeline to find an available agent.
upvoted 5 times
...
ozbonny
1 year, 1 month ago
Selected Answer: A
Correct A If you are just setting up a pipeline and are comparing the performance of Microsoft-hosted agents to your local machine or a self-hosted agent, then note the specifications of the hardware that we use to run your jobs. We are unable to provide you with bigger or powerful machines. You can consider using self-hosted agents or scale set agents if this performance is not acceptable. https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
upvoted 2 times
...
Munwalinwali
1 year, 2 months ago
Selected Answer: A
After reading all comments, I went with A
upvoted 1 times
...
hardinxcore
1 year, 3 months ago
Selected Answer: A
I'd choose A. While D would be a valid answer if the the delay would be caused by another job running, that aspect is not mentioned in the question at all.
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