Exam AZ-400 All QuestionsBrowse all questions from this 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:

    Correct Answer:

    Reference:

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

Discussion
chandrakant418

3stage 1 Job

ukkuru

What are those 3 stages?

Raja_v51

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

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

zzyy

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

Inland

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

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

yana_b

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

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

ahaz

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

3 stages 3 jobs

RonZhong

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

Pamban

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

vsvaid

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

xRiot007

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

Rams_84zO6n

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

Predator1NL

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

tempacc4nk

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.

Pamban

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

please ignore above. answer should be 1 stage 3 jobs

sondrex

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.

husam421

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

mcabrito

Answer is correct!! 4 stages 1 job

ozbonny

After further reviewing I think this has 4 stages 1 job

4b31a3a

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

CirusD

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.

gabo

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

kay000001

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