AZ-400 Exam QuestionsBrowse all questions from this exam

AZ-400 Exam - Question 290


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 Answer
Correct Answer:

Reference:

https://dev.to/rajikaimal/azure-devops-ci-cd-yaml-pipeline-4glj

Discussion

17 comments
Sign in to comment
chandrakant418
Apr 2, 2021

3stage 1 Job

ukkuru
Jul 22, 2021

What are those 3 stages?

Raja_v51
Dec 30, 2021

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.

demonite
May 8, 2022

wrong - reporting a build status at it's shown it something custom, not automatic - so 4 stages and 1 job

zzyy
Feb 24, 2022

1.Build 2.Deploy to dev 3. Deploy to eat

Inland
Jun 1, 2022

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.

yana_b
Aug 2, 2023

1 Job, 3 stages (build, deploy to dev, deploy to UAT)

yana_b
Sep 12, 2023

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.

usamnkkid
Sep 19, 2023

NO, You are wrong Here. buidl Vm Stage contain only one job which is cmdLine others are by default task.

ahaz
Jun 5, 2021

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

RonZhong
Apr 19, 2023

3 stages 3 jobs

RonZhong
Apr 19, 2023

3 stages 3 jobs This is auto generated: Finalized build Report build status

Pamban
Jun 6, 2023

Please provide an valid answer or reference. this is COMPLETELY wrong!!

Rams_84zO6n
Mar 9, 2023

what i posted last time is incorrect. It is 3 stages, 3 jobs. Finalize build section is not a stage.

xRiot007
Jul 24, 2023

There are 3 STAGES - build vm, deploy 1, deploy 2, finalize is auto append The build vm stage has 1 job

vsvaid
Dec 21, 2023

3 stages 3 job There is atleast one job in eac stage

Pamban
Jun 6, 2023

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

Pamban
Jun 21, 2023

please ignore above. answer should be 1 stage 3 jobs

tempacc4nk
Sep 14, 2023

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.

Predator1NL
Dec 27, 2023

3 stages 3 Jobs Hierarchy is Stage > Job > Task See link for info https://dev.to/rajikaimal/azure-devops-ci-cd-yaml-pipeline-4glj

kay000001
Jun 8, 2023

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

gabo
Sep 27, 2023

The YAML definition should be considered here that would provide the given output, and according to that it will be 3 stages 1 job

CirusD
Oct 5, 2023

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.

4b31a3a
Dec 3, 2023

2 Stages, 4 jobs. The clue is in the expandable >

ozbonny
Feb 23, 2024

After further reviewing I think this has 4 stages 1 job

mcabrito
Mar 6, 2024

Answer is correct!! 4 stages 1 job

husam421
Jul 4, 2024

I don't know what is going on here, but there's no stage without jop

sondrex
Jul 20, 2024

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.