exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 15 discussion

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

HOTSPOT -
You company uses Azure DevOps to deploy infrastructures to Azure.
Pipelines are developed by using YAML.
You execute a pipeline and receive the results in the web portal for Azure Pipelines as shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://dev.to/rajikaimal/azure-devops-ci-cd-yaml-pipeline-4glj

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
chandrakant418
Highly Voted 3 years, 11 months ago
3stage 1 Job
upvoted 75 times
Dankho
2 months, 2 weeks ago
Wrong. There are 3 levels: Stages, Jobs, and Tasks. First level is Stages, second level is Jobs, and third level is Tasks. At the first level we see only one Stage, which is build VM. All Jobs are under that Stage since they are indented and are at the same level. There are 4 Jobs - Initialize build, deploy_to_dev, deploy_to_uat, and Finalize Build. Next level of indentation are tasks. Final answer: 1 stage, 4 jobs (unless you don't count that Finalize Build, but then, what is it, nothing? So going with that as a job because it has a task under it.
upvoted 1 times
...
Inland
2 years, 9 months ago
As per AZ-400t00 course material: Stages are the primary divisions in a pipeline: "build the app," "run integration tests," and "deploy to user acceptance testing" are 3 good examples of stages.
upvoted 3 times
...
ukkuru
3 years, 7 months ago
What are those 3 stages?
upvoted 6 times
zzyy
3 years ago
1.Build 2.Deploy to dev 3. Deploy to eat
upvoted 6 times
Christian_garcia_martin
1 month, 4 weeks ago
humm, i think the Build is a task not a stage
upvoted 1 times
...
...
Raja_v51
3 years, 2 months ago
1-build vm : It has just one job, Initialize Build 2- deploy_to_dev 3-deploy_to_uat 4-Finalize Build -No need to count this Finalize Build stage. It will come automatically to all the pipelines.
upvoted 5 times
demonite
2 years, 10 months ago
wrong - reporting a build status at it's shown it something custom, not automatic - so 4 stages and 1 job
upvoted 8 times
...
...
...
yana_b
1 year, 7 months ago
1 Job, 3 stages (build, deploy to dev, deploy to UAT)
upvoted 2 times
yana_b
1 year, 6 months ago
Correct answer is 3 stages and 3 jobs. Reproduced this and after the build stage I get a finalize job task, then after the deploy stage I also got finalize job task. Each job is marked via a green thick sign. You have info about the job preparation parameters. You can also look at the raw log for each of the jobs.
upvoted 1 times
usamnkkid
1 year, 5 months ago
NO, You are wrong Here. buidl Vm Stage contain only one job which is cmdLine others are by default task.
upvoted 2 times
...
...
...
...
ahaz
Highly Voted 3 years, 9 months ago
The given answer is correct Stages: 1-build vm : It has just one job, Initialize Build 2- deploy_to_dev 3-deploy_to_uat 4-Finalize Build
upvoted 52 times
...
3a6495b
Most Recent 2 days, 22 hours ago
1 stage, 3 jobs. Order is stages, inside stages jobs, inside jobs steps. There is 1 stage in the pipeline called build vm. There are 3 jobs called initialize build, deploy to dev, deploy to uat. The 4th is default state, which does not count. Hope this makes it clear, because most people here are wrong and the given answer is also wrong
upvoted 1 times
...
swk1az400
3 weeks, 6 days ago
1 Job: The Question not about jobs in the pipeline, but about Jobs in the build_vm!
upvoted 1 times
...
sondrex
8 months ago
3stage 1 Job Three stages: The screenshot shows three distinct stages: initialize build deploy_to_dev deploy_to_uat Build_vm Contains: One job: The job shown under initialize build stage includes the following steps: Initialize job Checkout CmdLine Post-job: Checkout Finalize Job These steps are part of a single job execution process.
upvoted 1 times
...
husam421
8 months, 2 weeks ago
I don't know what is going on here, but there's no stage without jop
upvoted 2 times
...
mcabrito
1 year ago
Answer is correct!! 4 stages 1 job
upvoted 1 times
...
ozbonny
1 year ago
After further reviewing I think this has 4 stages 1 job
upvoted 1 times
...
Predator1NL
1 year, 2 months ago
3 stages 3 Jobs Hierarchy is Stage > Job > Task See link for info https://dev.to/rajikaimal/azure-devops-ci-cd-yaml-pipeline-4glj
upvoted 3 times
...
vsvaid
1 year, 2 months ago
3 stages 3 job There is atleast one job in eac stage
upvoted 3 times
...
4b31a3a
1 year, 3 months ago
2 Stages, 4 jobs. The clue is in the expandable >
upvoted 1 times
...
CirusD
1 year, 5 months ago
There are 2 stages: Build and Deploy. In the Build stage, there is 1 job named Build. In the Deploy stage, there are 2 jobs: Deploy to Pre-production and Deploy to Production. So, in total: There are 2 stages. There are 3 jobs.
upvoted 1 times
...
gabo
1 year, 5 months ago
The YAML definition should be considered here that would provide the given output, and according to that it will be 3 stages 1 job
upvoted 1 times
...
tempacc4nk
1 year, 6 months ago
As per https://learn.microsoft.com/en-us/azure/devops/pipelines/get-started/key-pipelines-concepts?view=azure-devops#stage - A stage is a logical boundary in the pipeline. It can be used to mark separation of concerns (for example, Build, QA, and production). Each stage contains one or more jobs. When you define multiple stages in a pipeline, by default, they run one after the other. You can specify the conditions for when a stage runs. So it should be 1 stage and 4 jobs.
upvoted 5 times
Dankho
2 months, 2 weeks ago
Yours makes the most sense. Stages have jobs and jobs have tasks. There is only 1 stage here and you can debate whether it's 3 or 4 jobs but I'm going with 4 since there's a green task in the 4th one.
upvoted 1 times
...
...
xRiot007
1 year, 7 months ago
There are 3 STAGES - build vm, deploy 1, deploy 2, finalize is auto append The build vm stage has 1 job
upvoted 3 times
...
kay000001
1 year, 9 months ago
The Finalize/Report Build is automatic and not considered as a job. The Finalize Job is not considerd a job. It's an automatic indication that the processes have been completed. You cannot have more stages than jobs. Each job is a process completed with a stage. I say: 3 stages, 4 jobs. Reference: https://learn.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=java%2Ctfs-2018-2%2Cbrowser
upvoted 1 times
...
Pamban
1 year, 9 months ago
According to MS documentation, answer would be 3 stages 1 job Reference: https://learn.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=java%2Ctfs-2018-2%2Cbrowser
upvoted 3 times
Pamban
1 year, 8 months ago
please ignore above. answer should be 1 stage 3 jobs
upvoted 3 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