Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Microsoft GitHub Enterprise Administrator GH-100 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 7 Total 65 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Manage GitHub identities and access

Skill tested: Configures SAML SSO and validates effective organization and repository access.

A company uses an external SAML identity provider for a GitHub organization. Employees can authenticate to the identity provider, but several report that they cannot access organization repositories after signing in. The organization recently changed its IdP group-to-team mappings, and administrators need to determine whether the resulting memberships and permissions are correct without granting broader access. What should the administrator do first?

Correct Answer: C. Review the organization audit log and current team memberships, then verify the IdP mappings and effective repository permissions for affected users.
Explanation:

SAML authentication establishes identity, but it does not by itself prove that the expected team membership or repository permission was provisioned. Reviewing the audit trail, mapped team membership, and effective repository access isolates whether the issue is a mapping or authorization problem while preserving least privilege. Organization-owner elevation is excessive and does not correct mappings. Personal access tokens do not establish organization membership, and disabling SSO weakens the intended control. Duplicate administrator teams mask the underlying issue and grant unnecessarily broad access.

Question 2

New Multiple answers

Topic: Manage GitHub identities and access

Skill tested: Plans two-factor authentication enforcement alongside SCIM-managed user lifecycle and team synchronization.

A regulated organization is moving its workforce to managed GitHub identities. Its identity provider supports SAML SSO and SCIM provisioning, and the organization wants users removed promptly when they leave while keeping team membership aligned to IdP groups. Some users currently access repositories through direct grants, and the security team requires two-factor authentication for organization members. Which TWO actions best meet these requirements? Select TWO.

Correct Answer: A. Configure SCIM provisioning from the identity provider to provision and deprovision users and synchronize group-driven team membership.; C. Require two-factor authentication for organization members and verify that members satisfy the requirement.
Explanation:

SCIM provides automated lifecycle provisioning and deprovisioning and can keep provisioned team membership synchronized with the identity provider. Enforcing and verifying the organization's two-factor authentication requirement addresses the separate authentication control. SAML login failure does not itself guarantee that an account and its grants are deprovisioned. Elevated owner membership broadens access rather than preserving least privilege. Audit-log exports are useful for review but are not a substitute for automated SCIM lifecycle management.

Question 3

New Single answer

Topic: Administer GitHub Enterprise environment

Skill tested: Selects an appropriate GitHub deployment model for data-residency and operational constraints.

A financial services company must keep GitHub-hosted repository data in a specified geographic region. It wants GitHub to operate the service rather than its own team maintaining GitHub Enterprise Server infrastructure. The compliance team has confirmed that a GitHub Enterprise Cloud data-residency offering is available for the required region and meets the organization's controls. Which deployment should the administrator recommend?

Correct Answer: B. GitHub Enterprise Cloud configured with the applicable data-residency offering for the required region.
Explanation:

The scenario explicitly requires a GitHub-operated service and confirms that the applicable GitHub Enterprise Cloud data-residency offering meets the regional requirement. That offering is the model aligned to both constraints. GitHub Enterprise Server requires the customer to operate and maintain the deployment, whether on premises or in a cloud virtual machine. Standard Enterprise Cloud does not become regionally resident merely through SAML configuration; SAML governs authentication, not data location.

Question 4

New Single answer

Topic: Administer GitHub Enterprise environment

Skill tested: Collects diagnostic information in a support bundle for GitHub Enterprise Server troubleshooting.

A team running GitHub Enterprise Server is troubleshooting an intermittent platform issue. GitHub Support requests diagnostic information from the appliance, and the administrators want to provide relevant system information without sending repository content as an improvised archive. Which approach is most appropriate?

Correct Answer: A. Generate a GitHub Enterprise Server support bundle using the appliance's supported management interface and provide it through the support case.
Explanation:

A GitHub Enterprise Server support bundle is the supported way to collect diagnostic information for a support investigation; it can be generated through the appliance's management facilities and attached or submitted as directed by Support. Repository exports are unnecessary and could expose data without resolving the diagnostic need. An organization audit log covers recorded organization events, not the full appliance diagnostics. Runner diagnostics are specific to Actions runners and do not constitute an appliance support bundle.

Question 5

New Multiple answers

Topic: Implement secure software development and compliance

Skill tested: Enables CodeQL default setup and verifies repository security alert features.

An engineering organization wants to improve vulnerability detection across its GitHub repositories. It requires CodeQL analysis for supported repositories, alerts when vulnerable dependencies are detected, and secret scanning for committed credentials. Administrators must verify that the controls are actually active rather than assume that a policy change alone enabled them. Repository teams should retain ownership of application fixes. Which TWO actions are appropriate? Select TWO.

Correct Answer: B. Configure CodeQL default setup where supported and verify that code scanning analyses and results appear for the repositories.; E. Enable dependency graph and Dependabot alerts, and verify that dependency vulnerability alerts are being generated.
Explanation:

CodeQL default setup enables code scanning for supported repositories without requiring teams to maintain a custom analysis workflow, and administrators should verify that analyses complete and results are present. The dependency graph and Dependabot alerts provide visibility into vulnerable dependencies and should likewise be verified. Code review complements automated analysis but does not replace it. Secret scanning availability is not limited to public repositories in this way, and repository administrators do not need organization-owner access for alerts to function.

Question 6

New Multiple answers

Topic: Implement secure software development and compliance

Skill tested: Applies organization and enterprise rulesets to enforce branch protection and secure change policies.

An enterprise security team needs to prevent direct updates to the default branches of repositories in a defined production organization. Changes must arrive through pull requests and pass required status checks. The enterprise also wants the policy centrally managed so that repository owners cannot silently remove it. Teams still need the ability to create feature branches and work in non-production repositories. Which TWO actions best satisfy the requirements? Select TWO.

Correct Answer: A. Create an enterprise ruleset targeted at the production organization's default branches, with pull-request and required-status-check rules, and enforce it.; C. Use an organization ruleset targeting the relevant default branches and configure it as an active policy with the required protections.
Explanation:

An enforced enterprise ruleset provides centrally managed policy that repository owners cannot simply remove, while an organization ruleset can apply the same relevant controls within the production organization. Targeting the production default branches limits scope and preserves feature-branch and non-production workflows. Individually configured branch protection is easier to drift or remove and does not meet central enforcement. A universal restriction on branch creation is broader than required. An advisory or evaluation-only policy does not block noncompliant updates.

Question 7

New Single answer

Topic: Implement secure software development and compliance

Skill tested: Uses audit logs to investigate security-policy and repository-access changes.

After a repository unexpectedly loses its secret-scanning configuration, a compliance team needs to identify who changed the setting and when. The organization uses GitHub audit logging and has many repositories, so manually comparing each repository's current settings is too slow. Which investigation approach is most appropriate?

Correct Answer: D. Search the relevant organization or enterprise audit log for events associated with the repository and the configuration change timeframe.
Explanation:

Audit logs record administrative and security-related events and are the appropriate source for investigating who performed a configuration change and when. Filtering by repository, event type, and timeframe narrows the investigation across many repositories. Commit history tracks source changes, not all GitHub settings. Dependabot alerts report dependency vulnerabilities rather than the actor responsible for secret-scanning configuration. Secret rotation may be a prudent response if exposure is suspected, but it does not identify the administrator or explain the setting change.

Question 8

New Multiple answers

Topic: Manage GitHub Actions

Skill tested: Configures reusable workflows and controls access to centrally maintained workflow definitions.

A platform team maintains a reusable deployment workflow in a central repository. Application repositories must call that workflow, but contributors must not be able to change the central deployment logic through an application pull request. The organization also restricts which actions and reusable workflows repositories may use. Which TWO measures are appropriate? Select TWO.

Correct Answer: C. Reference the reusable workflow by a stable, reviewed commit SHA and ensure callers have access to the central workflow repository.; E. Configure the organization's Actions policy to permit the approved central workflow while restricting unapproved actions or workflows.
Explanation:

A reusable workflow is called from a workflow file and should be referenced in a controlled, immutable way, such as by a reviewed commit SHA, to reduce the risk of an unreviewed change altering deployment behavior. The caller must also be permitted to access the central repository. An Actions policy limits which actions and reusable workflows can be used, supporting the organization's approved-source requirement. Copying workflows creates unmanaged forks; secrets are for sensitive values, not workflow definitions; and allowing everything defeats the stated policy.

Question 9

New Multiple answers

Topic: Manage GitHub Actions

Skill tested: Scopes Actions secrets correctly and verifies repository access to shared organization secrets.

A company has an organization-level Actions secret used by deployment workflows in four approved repositories. Other repositories must not be able to use the credential. One approved repository reports that its workflow cannot read the secret, while another team asks for the secret to be made available enterprise-wide for convenience. Which TWO steps should the administrator take? Select TWO.

Correct Answer: C. Set the organization secret's repository access to the four approved repositories and verify the affected repository is included.; D. Check that the workflow references the secret by its configured name and that the workflow's event and context permit the intended secret use.
Explanation:

Organization secrets can be restricted to selected repositories, so the first check is whether the failing repository is among the authorized repositories. The workflow must also reference the secret correctly and run in a context where the secret is available; for example, secrets are not exposed to workflows from untrusted fork pull requests. A variable is not a secure substitute for a credential and is not automatically inherited in the proposed way. Embedding credentials in workflow source exposes them. Enterprise-wide availability violates the requirement to limit access.

Question 10

New Single answer

Topic: Manage GitHub Actions

Skill tested: Designs runner-group access and network controls for restricted Actions execution.

A healthcare company runs self-hosted GitHub Actions runners in a private Azure network. Only repositories in the production organization may execute jobs on these runners, and the runners must reach required services without exposing inbound management ports to the public internet. Other organizations in the enterprise must not receive runner access. Which design is best?

Correct Answer: A. Use a runner group scoped to the production organization and approved repositories, with the supported Azure private-network connectivity design and restricted outbound access.
Explanation:

Runner groups control which organizations or repositories can use self-hosted runners, so scoping the group to the production organization and approved repositories enforces the access boundary. A supported Azure private-network design provides the required network integration without exposing runner management ports publicly; outbound connectivity should be restricted to what the runners need. Unrestricted enterprise scope is too broad. GitHub-hosted runner addresses are not a stable substitute for this private execution requirement, and public inbound SSH access is an avoidable security exposure.

Question 11

New Multiple answers

Topic: Monitor and optimize GitHub usage

Skill tested: Interprets metered-product reports to identify Actions and storage cost-optimization opportunities.

A finance administrator notices that GitHub Enterprise Cloud usage charges rose sharply over the last two billing periods. The organization suspects a combination of Actions consumption and stored artifacts, but its current review looks only at the monthly invoice total. The administrator needs to locate the cost drivers and recommend targeted changes without disabling CI for all teams. Which TWO actions are most appropriate? Select TWO.

Correct Answer: D. Review detailed usage reports for metered products, including Actions minutes and artifact or other billable storage, and compare usage over time.; E. Use the repository or workflow-level usage data to identify unusually high consumption, then tune retention or workflow execution where it is excessive.
Explanation:

Detailed metered-product usage reports help distinguish consumption categories and trends, while repository- or workflow-level analysis can identify the sources of unusually high use. Targeted adjustments, such as removing unnecessary workflow runs or setting appropriate artifact retention, can reduce cost without disrupting all CI. License counts and metered Actions or storage consumption are separate considerations, so reducing seats does not explain those charges. Disabling Actions globally is unnecessarily disruptive, and allocating invoice totals evenly does not reveal or address the drivers.

Question 12

New Single answer

Topic: Monitor and optimize GitHub usage

Skill tested: Uses audit-log and API-usage evidence to assess adoption and investigate operational activity.

An enterprise administrator is preparing an adoption report for leadership. The report must distinguish active use of GitHub from assigned licenses and also identify whether automated integrations are generating unusually high API activity. A monthly seat count alone does not answer either question. What should the administrator do?

Correct Answer: A. Use audit-log activity to assess user and organization events, and analyze API usage data to identify high-volume integrations and patterns.
Explanation:

Audit-log activity provides evidence of recorded user and administrative actions, while API usage data helps identify integrations or clients producing high request volume. Together, these sources are more informative for adoption and operational analysis than assigned-seat counts alone. A seat assignment does not prove active use, and repository or team counts do not measure API request volume. Open pull requests provide only a narrow snapshot and omit other GitHub activity as well as integration behavior.