DevOps Engineer Expert Azure Pipelines YAML Basics Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 8865 | Total Attempts: 106,055
| Questions: 20 | Updated: Aug 11, 2026
Please wait...
Question 1 / 21
🏆 Rank #--
0 %
0/100
Score 0/100

1. What is the function of the 'condition' keyword in Azure Pipelines YAML?

Submit
Please wait...
About This Quiz
DevOps Engineer Expert Azure Pipelines Yaml Basics Quiz - Quiz

This quiz evaluates your understanding of Azure Pipelines YAML fundamentals, covering pipeline structure, triggers, stages, jobs, and tasks. Perfect for college-level learners preparing for Microsoft DevOps Engineer certification, it tests practical knowledge of CI\/CD automation, artifact management, and deployment strategies essential for modern software development.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What is the primary benefit of using YAML pipelines over classic pipelines in Azure DevOps?

Submit

3. Which keyword allows you to define parameters that can be passed to a pipeline at queue time?

Submit

4. In Azure Pipelines, what is the default behavior when no 'trigger' is specified?

Submit

5. What does the 'checkout' task do in an Azure Pipelines YAML file?

Submit

6. Which of the following correctly represents a multi-stage pipeline structure in Azure Pipelines?

Submit

7. In Azure Pipelines YAML, what is the purpose of 'displayName'?

Submit

8. What does 'continueOnError' do in an Azure Pipelines task?

Submit

9. Which keyword specifies the operating system and software on the agent?

Submit

10. In Azure Pipelines, what does the 'template' keyword allow you to do?

Submit

11. What is the primary purpose of the 'trigger' keyword in an Azure Pipelines YAML file?

Submit

12. Which task is commonly used to publish build artifacts in Azure Pipelines?

Submit

13. What does 'dependsOn' accomplish in an Azure Pipelines YAML file?

Submit

14. In Azure Pipelines, how do you reference a variable named 'buildVersion' in YAML?

Submit

15. What is the purpose of the 'pool' keyword in a pipeline YAML file?

Submit

16. Which of the following correctly defines a job in Azure Pipelines YAML?

Submit

17. In Azure Pipelines, what does 'pr' under the trigger section control?

Submit

18. What is the correct YAML syntax for a basic script task that runs a shell command?

Submit

19. Which keyword is used to define environment variables available to all tasks in a pipeline?

Submit

20. In Azure Pipelines YAML, what does the 'stages' keyword represent?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the function of the 'condition' keyword in Azure Pipelines...
What is the primary benefit of using YAML pipelines over classic...
Which keyword allows you to define parameters that can be passed to a...
In Azure Pipelines, what is the default behavior when no 'trigger' is...
What does the 'checkout' task do in an Azure Pipelines YAML file?
Which of the following correctly represents a multi-stage pipeline...
In Azure Pipelines YAML, what is the purpose of 'displayName'?
What does 'continueOnError' do in an Azure Pipelines task?
Which keyword specifies the operating system and software on the...
In Azure Pipelines, what does the 'template' keyword allow you to do?
What is the primary purpose of the 'trigger' keyword in an Azure...
Which task is commonly used to publish build artifacts in Azure...
What does 'dependsOn' accomplish in an Azure Pipelines YAML file?
In Azure Pipelines, how do you reference a variable named...
What is the purpose of the 'pool' keyword in a pipeline YAML file?
Which of the following correctly defines a job in Azure Pipelines...
In Azure Pipelines, what does 'pr' under the trigger section control?
What is the correct YAML syntax for a basic script task that runs a...
Which keyword is used to define environment variables available to all...
In Azure Pipelines YAML, what does the 'stages' keyword represent?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!