Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your team maintains three separate Azure Pipelines YAML files stored in different repositories. Pipeline-Infra provisions the infrastructure, Pipeline-DB applies database migrations, and Pipeline-App deploys the web application. Each pipeline must still be able to run manually or on branch builds, but for production releases they must execute automatically in the exact Infra->DB->App order without human intervention. What should you implement to guarantee this ordering while keeping the pipelines isolated?

  • Add an approval gate on the production environment used by each pipeline so that Pipeline-DB waits for Infra approval and Pipeline-App waits for DB approval.

  • Merge the three YAML files into one multi-stage pipeline and use stage dependsOn settings to control the execution sequence.

  • Declare a pipeline resource in Pipeline-DB that references Pipeline-Infra and another in Pipeline-App that references Pipeline-DB, then enable pipeline completion triggers.

  • Set runPriority values of high, medium, and low on Infra, DB, and App pipelines respectively so the service schedules them sequentially.

Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot