nerdexam
Microsoft

AZ-400 · Question #609

You have a widget named App1 and an Azure DevOps YAML pipeline named Pipeline1. App1 is released by using Pipeline1. Pipeline1 contains a single stage and a single job. You need to ensure that App1 is

The correct answer is B. Add a stage named deployment to the YAML pipeline.. To require manual approval before deploying an application within an Azure DevOps YAML release pipeline, you need to configure pre-deployment approvals for the desired stage. This involves specifying approvers and potentially setting a timeout period. Once a new deployment is tri

Submitted by sofia.br· Mar 6, 2026Design and implement build and release pipelines

Question

You have a widget named App1 and an Azure DevOps YAML pipeline named Pipeline1. App1 is released by using Pipeline1. Pipeline1 contains a single stage and a single job. You need to ensure that App1 is approved before the app is released. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • AConfigure branch control.
  • BAdd a stage named deployment to the YAML pipeline.
  • CChange Pipeline1 to a deployment job.
  • DCreate a service connection.
  • ECreate an environment and add a check.

How the community answered

(48 responses)
  • A
    2% (1)
  • B
    75% (36)
  • C
    8% (4)
  • D
    2% (1)
  • E
    13% (6)

Explanation

To require manual approval before deploying an application within an Azure DevOps YAML release pipeline, you need to configure pre-deployment approvals for the desired stage. This involves specifying approvers and potentially setting a timeout period. Once a new deployment is triggered, the designated approvers will be prompted to either approve or reject the deployment before it proceeds. https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals

Topics

#deployment approvals#environment checks#deployment job#release pipeline

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice