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.
Pipeline completion triggers created through pipeline resources allow one pipeline to subscribe to the successful completion of another. By adding a pipeline resource in Pipeline-DB that points to Pipeline-Infra, and a pipeline resource in Pipeline-App that points to Pipeline-DB, each downstream pipeline runs automatically only after its dependency finishes successfully. The YAML files remain in separate repositories and can still be invoked manually or by branch triggers. Environment approval gates do not establish an automatic dependency chain, combining the YAML negates the isolation requirement, and runPriority is not a scheduling control supported by Azure Pipelines.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are pipeline resources in Azure Pipelines?
Open an interactive chat with Bash
What are pipeline completion triggers and how do they work?
Open an interactive chat with Bash
Why is using pipeline resources better than merging YAML files for isolated pipelines?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .