Free GH-200 Microsoft GH-200 Practice Test Question

Loading demo links...

Showing 4–6 of 9 questions

Question 4 (Topic 1)

As a DevOps engineer, you need to define a deployment workflow that runs after the build workflow has successfully completed. Without modifying the build workflow, which trigger should you define in the deployment workflow?

Select an option, then click Submit answer.

  • repository_dispatch
  • workflow_dispatch
  • workflow_exec
  • workflow_run
Question 5 (Topic 1)

Which step is using the dbserver environment variable correctly?

Select an option, then click Submit answer.

  • steps: - name: Hello world run: echo $dbserver variables: dbserver: orgserver1
  • steps: - name: Hello world run: echo $dbserver env: - name: dbserver value: orgserver1
  • steps: - name: Hello world run: echo $dbserver environment: dbserver: orgserver1
  • steps: - name: Hello world run: echo $dbserver env: dbserver: orgserver1
Question 6 (Topic 2)

Disabling a workflow allows you to stop a workflow from being triggered without having to delete the file from the repo. In which scenarios would temporarily disabling a workflow be most useful? (Each correct answer presents a complete solution. Choose two.)

Select an option, then click Submit answer.

  • A runner needs to have diagnostic logging enabled.
  • A workflow error produces too many, or wrong, requests, impacting external services negatively.
  • A workflow is configured to run on self-hosted runners.
  • A workflow sends requests to a service that is down.
  • A workflow needs to be changed from running on a schedule to a manual trigger.