Microsoft DevOps Engineer Expert AZ-400 Practice Question
You are standardizing continuous-integration pipelines across several repositories. A dedicated repository named BuildTemplates contains a file templates/build.yml that defines the company-wide build stage. In each service repository you need to import that template from the main branch of BuildTemplates without copying the file locally.
To consume a template stored in another repository, you must first declare that repository in a resources.repositories block. The repository property within this block defines an alias for the remote repository. The template is then referenced using the syntax path/to/file.yml@alias. Using the wrong alias (such as the repository's name instead of the defined alias), omitting the @alias suffix, or using an incorrect top-level keyword like extends will prevent Azure Pipelines from correctly locating and inserting the template.
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 is the purpose of the `resources.repositories` block in a YAML file?
Open an interactive chat with Bash
Why do you need to use `path/to/file.yml@alias` when referencing templates from other repositories?
Open an interactive chat with Bash
What happens if you use the wrong alias or omit it entirely when referencing an external template?
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 .