Microsoft

GH-200 practice question 6

GitHub Actions · free question 6 of 20

Question

You installed specific software on a Linux self-hosted runner. You have users with workflows that need to be able to select the runner based on the identified custom software. Which steps should you perform to prepare the runner and your users to run these workflows? (Each correct answer presents part of the solution. Choose two.)
  • A. Configure the webhook and network to enable GitHub to trigger workflow.
  • B. Create the group custom-software-on-linux and move the runner into the group.
  • C. Inform users to identify the runner with the labels custom-software and linux. Correct
  • D. Add the label linux to the runner.
  • E. Inform users to identify the runner based on the group.
  • F. Add the label custom-software to the runner. Correct

Explanation

Add a custom label such as custom-software to the runner, then have users target it in runs-on with the labels custom-software and linux. The linux label is one of the default labels the runner receives automatically, so it does not need to be added. Runner groups control access rather than identifying installed software, and no webhook setup is needed because the runner polls GitHub for jobs.

Practice the whole free set

Answer all 20 free GH-200 questions with instant feedback, or unlock all 106 questions with Learn and Exam modes.