Pipeline Variables and Templates Flashcards
6 cards from real AZ-400 practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Pipeline Variables and Templates flashcards as text
What are pipeline variables used for in Azure DevOps?
Answer: Storing configurable values used across pipeline stages
Pipeline variables store configurable values that can be used across different stages and tasks in a pipeline.
What is a pipeline template in Azure DevOps?
Answer: A reusable pipeline definition that can be shared across projects
Pipeline templates define reusable pipeline configurations that can be referenced and extended across multiple pipelines and projects.
Which variable scope applies to all stages in an Azure DevOps pipeline?
Answer: Pipeline-level variables
Pipeline-level variables are accessible across all stages and jobs within the entire pipeline execution.
How are secret variables handled in Azure DevOps pipelines?
Answer: They are encrypted and masked in log output
Secret variables are encrypted at rest and automatically masked in log output to prevent accidental exposure of sensitive data.
What is the benefit of using variable groups in Azure DevOps?
Answer: They allow sharing variables across multiple pipelines
Variable groups allow you to define a set of variables once and share them across multiple pipelines, ensuring consistency.
What is a conditional expression in Azure DevOps YAML pipelines?
Answer: A logic statement that controls whether a step runs based on conditions
Conditional expressions evaluate conditions at runtime to determine whether specific pipeline steps or stages should execute.
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. Exam facts are checked against the official sources linked below. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- home.pearsonvue.com — Test delivery · verified Nov 2026
- learn.microsoft.com — Passing score, score validity, eligibility, fees, renewal, score release, exam format, time limit, retake fee, retake policy · verified Oct 2026