YAML Pipelines Quiz

5 questions Pass: 70% +50 pts

Quiz covering YAML Pipelines

YAML Pipelines Quiz

5 questions | Pass: 70% | Earn 50 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which file extension is standard for defining Azure DevOps pipelines using the YAML syntax?

  2. 2

    In a YAML pipeline, which keyword is used to define a collection of steps that run sequentially on the same agent?

  3. 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. 4

    How do you ensure a specific stage only runs if the previous stage completed successfully?

  5. 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?