nerdexam
Microsoft

GH-200 · Question #14

As a DevOps engineer, you need to execute a deployment to different environments like development and testing based on the labels added to a pull request. The deployment should use the releases branch

Sign in or unlock GH-200 to reveal the answer and full explanation for question #14. The question stem and answer options stay visible for context.

Implement and manage GitHub Actions workflows

Question

As a DevOps engineer, you need to execute a deployment to different environments like development and testing based on the labels added to a pull request. The deployment should use the releases branch and trigger only when there is a change in the files under ‘apps’ folder. Which code block should be used to define the deployment workflow trigger?

Options

  • Aon:
  • Bon:
  • Con:
  • Don:

Unlock GH-200 to see the answer

You've previewed enough free GH-200 questions. Unlock GH-200 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#GitHub Actions#Workflow Triggers#Pull Request Events#Path Filtering
Full GH-200 Practice