YAML Pipelines Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering YAML Pipelines

What you'll be asked

  1. Which file extension is standard for defining Azure DevOps pipelines using the YAML syntax?
  2. In a YAML pipeline, which keyword is used to define a collection of steps that run sequentially on the same agent?
  3. What is the correct way to define a variable at the top level of a YAML pipeline so that it is available to all stages and jobs?
  4. How do you ensure a specific stage only runs if the previous stage completed successfully?
  5. You have a template file 'steps-template.yml' that requires a parameter named 'environment'. Which syntax correctly references this template in your main pipeline?

Answers and explanations come after you submit.