exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 9 question 20 discussion

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

You have an Azure pipeline that is used to build and deploy an app named App1. The build job uses a Microsoft-hosted Windows agent.

The build job for App1 intermittently returns a timeout error.

You need to ensure that the build job completes successfully. The solution must minimize administrative effort.

What should you do?

  • A. Change the configuration of the build agent.
  • B. Deploy a self-hosted agent.
  • C. Change to a Microsoft-hosted Linux agent.
  • D. Purchase more parallel jobs.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
mochiemon
4 months ago
Selected Answer: A
Change the timeout settings in the agent job
upvoted 1 times
...
hotspot02103
4 months ago
Selected Answer: D
as somebody else wrote in diff comment, if there is a doubt chose the purchase reply -> that's MS, they need to sell :)
upvoted 1 times
...
dddddddddddww12
4 months ago
Selected Answer: A
A. Change the configuration of the build agent. you need to change the timeout setting as there is only one build jobs
upvoted 1 times
...
Gooldmember
5 months, 4 weeks ago
Selected Answer: D
I'm convinced
upvoted 1 times
...
Tightbot
8 months, 1 week ago
Selected Answer: B
Agree with arr73. And there is only 1 job. So going for self hosted agent
upvoted 1 times
...
UrbanRellik
9 months, 3 weeks ago
Selected Answer: B
All MS-Hosted (parallel) jobs will timeout at 360 minutes. Although this appears to be the least administrative effort, there's still a timeout of 360m. Having to go back after a second timeout of 360m, then deploy a self-hosted agent would be more effort. The only way to entirely eliminate the variable of timeout is to use a self-hosted agent.
upvoted 2 times
UrbanRellik
9 months, 3 weeks ago
https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/troubleshooting?view=azure-devops#job-time-out
upvoted 1 times
...
...
arr73
11 months, 1 week ago
Selected Answer: B
I’ll go for B (self hosted agent) becaute it allows to set a timeout of rule out any timeout issues due to the agent. As indicated in MS Documentation in the reference below: “To increase the max timeout for a job, you can opt for any of the following. Buy a Microsoft hosted agent which will give you 360 minutes for all jobs, irrespective of the repository used Use a self-hosted agent to rule out any timeout issues due to the agent” Ref: https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/troubleshooting?view=azure-devops#job-time-out
upvoted 4 times
sieunhantanbao
9 months, 1 week ago
The question said, "The solution must minimize administrative effort". Hence, the correct answer should be D.
upvoted 1 times
Freyr
3 months ago
Thank you @arr73 for the reference provided. @sieunhantanbao, the question did not specify whether the Azure pipeline used to build and deploy an app called App1 is using a free-tier agent or a paid Azure pipeline. It simply states that "The solution must minimise administrative effort". Just imagine if App1 is already using a paid agent job and it intermittently fails after 360 minutes – what would our choice be in that situation? In my opinion, we can make a valid argument from both sides in this case.
upvoted 1 times
...
...
...
freddyneen
1 year ago
Selected Answer: D
For private projects there is one free Microsoft-hosted agent which can run jobs up to 60 minutes each time. You can pay for additional parallel jobs which have 360 minutes as the hard limit. https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
upvoted 3 times
freddyneen
1 year ago
Self-hosted agents also solve the problem, but 'the solution must minimize administrative effort'.
upvoted 1 times
...
...
FeriAZ
1 year, 1 month ago
Selected Answer: D
Purchasing more parallel jobs allows you to leverage additional Microsoft-hosted agents within the same pool. This increases the available resources for your build job, potentially reducing queuing time and timeouts.
upvoted 1 times
...
AnishGS
1 year, 1 month ago
Selected Answer: D
Minimize Administrative effort
upvoted 2 times
...
Approach_Belgium_SA
1 year, 2 months ago
Selected Answer: D
Minimize administrative effort
upvoted 1 times
...
djhyfdgjk
1 year, 2 months ago
This is very odd question, because none of the provided answers will solve the timeout problem with the job. The thing which could realy fix this is 'timeoutInMinutes' property of the job.
upvoted 2 times
...
Munwalinwali
1 year, 3 months ago
Selected Answer: D
Purchase more
upvoted 2 times
...
xda
1 year, 3 months ago
Selected Answer: D
Ill go with D, because ist said "The solution must minimize administrative effort."
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