GH-100 practice question 8 of 15
What needs to be done to ensure that only specific repositories can access the runners in an organization runner group?
Full set: 65 questionsTo control which repositories can use runners from an organization-level runner group, an administrator must configure the access policy within that specific group's settings. The "Repository access" setting allows for granular control, enabling administrators to grant access to all repositories in the organization or, more securely, to a specific, curated list of repositories. This is the direct and intended method for managing runner group access.
A. Use GitHub's meta API to configure access. The GitHub meta API provides metadata about GitHub services (like IP addresses and service hooks), not for configuring permissions or resource access.
B. Add a label to the runner group. Labels are used within a workflow's runs-on key to target specific runners (e.g., by OS or hardware), not to control which repositories can access the group.
D. Configure the Actions Policies to "Only selected repositories". This organization-level policy determines which repositories are allowed to run GitHub Actions at all, not which specific runner group they can use for their jobs.
1. GitHub Docs, "Managing runner groups": In the section "Changing which repositories can access a runner group," the documentation explicitly states: "You can configure a runner group to be accessible to a specific list of repositories... Under 'Repository access', select the Selected repositories dropdown menu, then click [the list of repositories]." This directly supports option C as the correct procedure. (Source: GitHub Enterprise Cloud Documentation > Actions > Hosting your own runners > Using larger runners > Managing runner groups).
Keep practicing
Take the free GH-100 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GH-100 practice questions
- Question 1Your organization is implementing team synchronization. Which of the following should you…
- Question 2Why would someone choose to configure a security policy?
- Question 3Which events from the audit log are exposed by the GraphQL API? Each answer presents a co…
- Question 4You are using GitHub-hosted runners and need to securely deploy to an internal system. Th…
- Question 5You have subscribed to GitHub Premium Support, and you need to submit a support ticket. G…
- Question 6What distinguishes Enterprise Managed Users (EMUs) from standard GitHub accounts?
