AZ-400 Practice Question: Design and implement build and release pipelines
Network Topology
Refer to the exhibit. A developer queues a build with a variable 'BuildConfiguration' set to 'Release'. The pipeline definition has a default variable 'BuildConfiguration' set to 'Debug' and does not allow overrides at queue time. What will be the value of 'BuildConfiguration' during the build?
⚠ Common exam trap
AZ-400 often tests variable precedence and the 'Settable at queue time' setting, tricking candidates into assuming queue-time values always override pipeline defaults.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Debug
In Azure Pipelines, when a variable is defined in the pipeline YAML and the 'Settable at queue time' option is not enabled, the queue-time value is ignored and the pipeline definition's default value is used. Since the default is 'Debug' and overrides are not allowed, the build runs with BuildConfiguration=Debug (A). The developer's attempt to set 'Release' at queue time has no effect.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Debug
Why this is correct
Because the variable has a default value defined in the pipeline and overrides at queue time are not enabled, the build uses the configured default "Debug". The system substitutes this value before any tasks run, so the build executes as if Debug were explicitly set.
- ✗
Release
Why it's wrong here
The override to "Release" is ignored because the pipeline variable is not configured to allow overrides at queue time. This setting must be enabled per variable (or via the appropriate YAML/runtime expression) for the queue-time value to take effect; otherwise, the default "Debug" remains in force.
- ✗
null
Why it's wrong here
A variable with a default value is never null in Azure DevOps when it is resolved. If no valid override is provided, the system substitutes the defined default rather than treating the variable as null, even if the queued input is left empty.
- ✗
The build fails with an error
Why it's wrong here
The build does not fail when an override is disallowed; Azure DevOps silently ignores the queue-time attempt and proceeds with the default value. Since the variable has a valid default and no compliance rule is violated, the pipeline runs normally without an error.
Visual reference
Go deeper
Related to this question
Learn chapter
Managing Build Quality and Package Dependencies
Key term
Azure Pipelines
Azure Pipelines is a cloud-based CI/CD service from Microsoft that automatically builds, tests, and deploys code to any platform or cloud.
Key term
Pipeline
A pipeline is an automated series of steps that takes code from development to production, ensuring quality and speed.
About these practice questions
This AZ-400 question is part of Courseiva's 696-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.