nerdexam
Microsoft

GH-200 · Question #49

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…

The correct answer is C. Inform users to identify the runner with the labels custom-software and linux. F. Add the label custom-software to the runner. [F] Add a label for the custom software as required. Note: Using labels with self-hosted runners You can use labels to organize your self-hosted runners based on their characteristics. Creating a custom label You can create custom labels for runners at the repository and…

Manage self-hosted runners

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.)

Options

  • AConfigure the webhook and network to enable GitHub to trigger workflow.
  • BCreate the group custom-software-on-linux and move the runner into the group.
  • CInform users to identify the runner with the labels custom-software and linux.
  • DAdd the label linux to the runner.
  • EInform users to identify the runner based on the group.
  • FAdd the label custom-software to the runner.

How the community answered

(41 responses)
  • A
    10% (4)
  • B
    5% (2)
  • C
    80% (33)
  • D
    2% (1)
  • E
    2% (1)

Explanation

[F] Add a label for the custom software as required. Note: Using labels with self-hosted runners You can use labels to organize your self-hosted runners based on their characteristics. Creating a custom label You can create custom labels for runners at the repository and organization levels. [C, not D] Linux is a default label and does not have to be created to be used. https://docs.github.com/en/actions/how-tos/manage-runners/self-hosted-runners/apply-labels

Topics

#self-hosted runners#runner labels#workflow targeting#runner management

Community Discussion

No community discussion yet for this question.

Full GH-200 Practice