GitHub Administration Free Sample Questions

17 free sample questions268 in the full practice test

Try simulator

GH-100 Sample Questions

  1. Question 1

    A GitHub Actions workflow is failing with an error indicating that a self-hosted runner with the label windows-gpu-large is not available. The administrator confirms that several runners with this label are online and idle. The workflow is running in a private repository. What is the most likely configuration issue preventing the workflow from using the available runners?

    graph TD subgraph GitHub Enterprise Cloud Org[Organization] Repo[Private Repo] Workflow[Workflow Job runs-on: windows-gpu-large] end subgraph On-Premises Network RunnerGroup[Runner Group: 'GPU-Runners'] Runner1[Runner 1 (windows-gpu-large)] Runner2[Runner 2 (windows-gpu-large)] end Workflow -- Needs --> Runner1 Org -- Contains --> Repo RunnerGroup -- Contains --> Runner1 RunnerGroup -- Contains --> Runner2 Repo -- ??? --> RunnerGroup
    Answer and explanation

    Correct answer: B

    Self-hosted runners are managed in groups, and these groups must be explicitly configured to be accessible by specific repositories or all repositories in an organization. Even if the runners are online and have the correct label, if the runner group is not authorized for the repository where the workflow is running, the job will not be assigned to them.

  2. Question 2

    Your organization uses a fork-and-pull workflow for contributions to a central, open-source repository. To maintain code quality, you have a requirement that every pull request must be reviewed and approved by at least two members of the 'Core-Maintainers' team before it can be merged. How should you enforce this requirement?

    Answer and explanation

    Correct answer: B

    Branch protection rules are the correct mechanism for enforcing conditions before a branch can be merged. You can configure a rule for the main branch to 'Require pull request reviews before merging' and set the 'Required number of approvals' to 2. You can also specify that these reviews must come from Code Owners to link it to the specific team.

  3. Question 3

    You have a GitHub Enterprise Server instance and need to configure backups. According to GitHub's best practices, where should the backup data be stored?

    Answer and explanation

    Correct answer: B

    The recommended practice is to use ghe-backup to send data to a separate host (the backup host). This ensures that a failure of the primary GHES appliance does not affect the backup data. While offsite backups are also recommended, the primary backup location should be a separate host.

  4. Question 4

    An organization has a policy that all repositories must have vulnerability scanning enabled. A new repository was created, and the administrator needs to verify if Code Scanning is active. Where in the repository settings would the administrator go to enable Code Scanning and configure CodeQL?

    Answer and explanation

    Correct answer: C

    This is the correct location. The 'Code security and analysis' section under repository settings is the central place to enable and configure all of GitHub's advanced security features, including Code Scanning (CodeQL), Secret Scanning, and Dependabot.

  5. Question 5

    Multiple answers

    You are configuring a new GitHub Enterprise Cloud organization and need to integrate it with your company's identity provider (IdP) for single sign-on. Your IdP supports both SAML and SCIM. What are the distinct functions of these two protocols in the context of GitHub? (Select TWO)

    Answer and explanation

    Correct answers: B, C

    SAML (Security Assertion Markup Language) is an authentication protocol. It allows an IdP to authenticate a user and then pass that authentication assertion to GitHub, enabling single sign-on.

    SCIM (System for Cross-domain Identity Management) is a provisioning protocol. It automates the creation, updating, and deletion of user accounts and their group/team memberships in GitHub based on changes in the IdP.

  6. Question 6

    True or False: In a GitHub organization, an 'outside collaborator' consumes one of the organization's paid licenses (seats).

    Answer and explanation

    Correct answer: B

    This statement is false. Outside collaborators do not consume a paid seat in the organization's license. They are granted access to specific repositories without becoming full members of the organization. This allows for collaboration with external partners without incurring additional licensing costs.

  7. Question 7

    You have subscribed to GitHub Premium Support, and you need to submit a support ticket. GitHub Premium Support can help you with: A.writing scripts.B.installing GitHub Enterprise Server.C.setting up hardware.D.integrating with third-party applications.

    Answer and explanation

    Correct answer: B

  8. Question 8

    Multiple answers

    You need to contact GitHub Premium Support. What are valid reasons for submitting a support ticket? (Each answer presents a complete solution. Choose two.) A.license renewalB.hardware setup issues or errorsC.business impact from security issues within your organizationD.outages on GitHub.com affecting core Git functionality

    Answer and explanation

    Correct answers: C, D

Register free to unlock 9 more sample questions

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 268 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon