Exam Information
Free practice questions with explanations
Microsoft GH-100 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Administer GitHub Enterprise environment
A financial services company runs GitHub Enterprise Cloud with Enterprise Managed Users (EMU) and must keep all repository data within the European Union to satisfy a regulator. The company wants to avoid building any new infrastructure and does not need custom hostnames for its own installation. Which deployment scenario best meets these requirements?
Correct Answer: DExplanationGitHub Enterprise Cloud with Data Residency pins enterprise data to a chosen region and can be combined with Enterprise Managed Users, which meets the regulatory requirement without operating any infrastructure. GitHub Enterprise Server would satisfy residency but requires the company to run and patch its own installation, which the scenario rules out. Standard Enterprise Cloud with an IP allow list restricts access paths but does not control where data is stored. Personal accounts provide no managed identity or residency control and cannot support the stated governance needs.
-
2 Question 2 Single choice Implement secure software development and compliance
A security team at a healthcare company has enabled secret scanning with push protection across its enterprise. A developer reports that a push is blocked because the commit contains a value the scanner flags as a token, but the developer says it is a fake test credential stored in a documentation fixture. The compliance policy forbids any bypass of secret scanning findings without an audit trail, and the repository is under an organization-level ruleset. What is the best next action for the administrator?
Correct Answer: DExplanationPush protection lets a developer bypass a block by selecting a reason, and those bypasses are recorded so administrators can review them, which satisfies an audit requirement while still allowing legitimate test values. Disabling push protection or removing the ruleset breaks the compliance policy and leaves no trace of the change. Quietly excluding the path without notifying security skips the governance review the policy demands. The administrator should rely on the documented bypass flow rather than weakening enforcement.
-
3 Question 3 Single choice Manage GitHub Actions
A manufacturing company runs self-hosted runners in an Azure virtual network that has no public IP addresses. Workflows must reach an internal artifact store, and the security team requires that runners never be reachable from the internet. The enterprise also wants GitHub-hosted runners to be available to a small set of repositories. Which configuration best satisfies these requirements?
Correct Answer: DExplanationRunner groups let an administrator control which repositories can use a set of runners, and GitHub-hosted runners can be connected to Azure private networking so jobs reach private resources without public exposure. Giving runners public IPs contradicts the requirement that they never be internet reachable. Running everything on GitHub-hosted runners cannot reach the internal artifact store. An IP allow list controls access to enterprise resources, not the network path a runner uses to reach internal services.
-
4 Question 4 Single choice Manage GitHub identities and access
An enterprise uses Enterprise Managed Users with Microsoft Entra ID as its identity provider and SCIM provisioning for organizations. A team in the enterprise was created manually in one organization several months ago and contains members who are not in the identity provider group that should drive team membership. The administrator wants the team membership to reflect the identity provider group going forward and wants to avoid losing repository access for members who should keep it. What should the administrator do first?
Correct Answer: DExplanationTeam synchronization maps an identity provider group to a GitHub team, and a team that already has manually added members can be synced, but members not present in the linked group will be removed. Reconciling membership first prevents unintended loss of repository access. Deleting the team destroys existing permissions and access grants. Disabling SCIM abandons the centralized governance the enterprise is using, and converting EMU accounts to personal accounts is not a supported path for managing team membership.
-
5 Question 5 Single choice Monitor and optimize GitHub usage
An enterprise notices that its GitHub Actions consumption for private repositories has increased sharply this month. The finance team needs to know which repositories and workflows drive the increase so it can decide whether to optimize workflows or adjust budgets. The administrator must identify this breakdown without granting developers access to billing data. Which action provides the most direct insight?
Correct Answer: CExplanationThe enterprise billing usage report shows metered Actions consumption and can be filtered by repository, workflow, and runner type, which is exactly what the finance team needs for cost decisions. Audit log events record activity but do not reflect metered minutes, so counting them gives a poor proxy. Opening a support case is unnecessary because the administrator can self-serve this data. Repository insights do not present enterprise-wide billable Actions consumption.
-
6 Question 6 Single choice Administer GitHub Enterprise environment
A retail company manages GitHub Enterprise Cloud with Enterprise Managed Users and holds a mix of Enterprise and Team licenses. Finance reports that seat costs are rising faster than headcount. An analysis shows that a group of 40 accounts have not signed in for 120 days, and 15 of them are contractors whose access ended. The company must preserve the audit history of these users. What is the best action to reduce license consumption?
Correct Answer: DExplanationRemoving or suspending users from the enterprise releases their consumed seats, and exporting audit data beforehand preserves the history the company must keep. Deleting the accounts destroys the records needed for compliance. Converting EMU accounts to personal accounts is not a supported route for seat reduction. Removing role assignments does not free a license because the user still holds an enterprise seat.
-
7 Question 7 Multiple choice Implement secure software development and compliance
A company wants to strengthen its enterprise security posture across hundreds of repositories. It needs vulnerable dependencies flagged automatically, code scanning results visible to developers in pull requests, and a documented response for critical advisories. Which TWO actions best achieve these goals? (Choose two.)
Correct Answer: A, CExplanationDependabot alerts and security updates flag and remediate vulnerable dependencies, while CodeQL, configured through default setup or a workflow, surfaces code scanning findings on pull requests. Disabling CodeQL removes an analysis capability rather than improving posture. Allowing force pushes weakens branch protection and undermines review controls. Turning off security advisories hides information that a response plan depends on.
-
8 Question 8 Order list Manage GitHub Actions
A platform team must onboard a new set of self-hosted Linux runners for an enterprise so that only two specific repositories can use them, and the runners must not be available to any other organization. Drag the steps into the correct order.
Drag the steps into the correct order, or use the arrows.
- Assign the two approved repositories to the runner group
- Confirm the runners appear under the group and run a test workflow in one of the approved repositories
- Create a runner group at the enterprise level and restrict its organization access
- Register the runner machines to the runner group using a registration token
Correct Answer:- Create a runner group at the enterprise level and restrict its organization access
- Register the runner machines to the runner group using a registration token
- Assign the two approved repositories to the runner group
- Confirm the runners appear under the group and run a test workflow in one of the approved repositories
ExplanationThe runner group must exist before runners can be registered to it, so creating it and restricting organization access comes first. Registering the machines to that group follows, then the approved repositories are assigned to the group. Verifying the runners and running a test workflow comes last. Assigning repositories before the group exists is impossible, and registering runners before creating the group would leave them in the default group with no restriction.
-
9 Question 9 Single choice Manage GitHub identities and access
An enterprise is planning its authentication and provisioning setup. Match each requirement to the GitHub capability that addresses it.
1. Make member access to organization resources depend on a successful sign-in with the corporate identity provider
2. Automatically create, update, and deactivate enterprise user accounts from the identity provider
3. Require a second authentication factor for personal accounts that access enterprise repositories
Which mapping is correct?Correct Answer: DExplanationSAML single sign-on ties resource access to a successful sign-in with the corporate identity provider, while SCIM handles the lifecycle of accounts by creating, updating, and deactivating them. Requiring two-factor authentication applies to personal accounts that access enterprise resources. The other mappings swap the roles of SAML and SCIM or misplace the two-factor requirement, which breaks the separation between authentication and provisioning.
-
10 Question 10 Dropdown Manage GitHub Actions
Choose the correct value for each blank.
Choose the correct value for each blank.
A security engineer wants a self-hosted runner group to accept jobs only from repositories in the approved organization while keeping secrets scoped tightly. The enterprise policy requires that organization-level secrets be visible only to selected repositories, and that the runner group's allowed repositories be set explicitly. The configuration uses the setting for runner group repository access and the secret visibility setting for organization secrets.Correct Answer:A security engineer wants a self-hosted runner group to accept jobs only from repositories in the approved organization while keeping secrets scoped tightly. The enterprise policy requires that organization-level secrets be visible only to selected repositories, and that the runner group's allowed repositories be set explicitly. The configuration uses the setting Selected repositories for runner group repository access and the secret visibility setting Selected repositories for organization secrets.
ExplanationRunner groups can be restricted to selected repositories, and organization secrets support a selected repositories visibility option that limits exposure to chosen repos. Setting all repositories for either would violate the explicit scoping requirement. Public repositories is not a valid access option for runner groups, and private repositories is not a secret visibility option, so the remaining choices reference settings that do not exist in that form.
-
11 Question 11 Single choice Monitor and optimize GitHub usage
An enterprise audit found that several organizations are paying for GitHub Advanced Security seats but only a handful of repositories in each organization have code scanning enabled. The leadership team wants to recover unused spend while keeping security coverage for repositories that handle customer data. Which approach is most appropriate?
Correct Answer: DExplanationAdvanced Security seats are consumed by committers in repositories with the features enabled, so reviewing consumption by repository lets the administrator release seats that provide no value while protecting high-risk repositories. Removing features from customer-data repositories sacrifices required coverage. Making repositories public exposes sensitive code and does not make the feature free for private projects. Enabling scanning everywhere increases consumption and cost rather than optimizing it.
-
12 Question 12 Single choice Implement secure software development and compliance
A company's security response plan requires that a critical secret exposed in a public repository be revoked and that the event be logged. Secret scanning has alerted on a GitHub personal access token that was committed by a former contractor. The contractor's account is still active in the enterprise. Which action should the administrator take first?
Correct Answer: DExplanationA leaked credential is compromised the moment it is public, so the token must be revoked immediately, and the audit log shows whether it was used and what it accessed. Deleting the commit does not invalidate the credential, and waiting for a scan delays response. Disabling secret scanning removes detection without addressing the exposure. Rotating organization secrets does not affect a personal access token, so the leaked credential stays valid.
-
13 Question 13 Single choice Administer GitHub Enterprise environment
A global company is evaluating how to deploy GitHub for a regulated business unit that must run GitHub entirely inside its own data center with no dependency on cloud-hosted control planes. The unit has a dedicated operations team capable of managing upgrades and backups. Which deployment scenario should the administrator recommend?
Correct Answer: AExplanationGitHub Enterprise Server is the self-hosted option that runs entirely in the customer's own infrastructure, which matches the requirement to avoid cloud-hosted control planes and the operations team's ability to manage upgrades and backups. The Enterprise Cloud options all run on GitHub-managed infrastructure, even when data residency is configured. Personal accounts are a different account model, not a deployment target.
-
14 Question 14 Single choice Manage GitHub identities and access
An organization owner needs a developer to manage repository settings and the team's access on a single repository, but must not gain access to organization-wide billing or to other repositories. The developer should not be able to manage organization membership. Which configuration best meets this requirement?
Correct Answer: DExplanationA custom repository role can be created at the organization level to grant administrative permissions on a single repository without granting organization-wide rights, and the member role keeps membership and billing out of reach. Organization owners have full administrative control over the organization, far exceeding the requirement. Team admin rights across all repositories affects too many repositories. Enterprise owners control the whole enterprise, which breaks the scope limit.
-
15 Question 15 Single choice Manage GitHub Actions
A company runs its build pipelines on GitHub-hosted runners. A workflow that deploys to an internal network begins failing intermittently because the target service only accepts connections from a fixed set of IP addresses. The security team refuses to open the service to all of the cloud provider's address ranges. Which solution best resolves the issue while keeping cost predictable?
Correct Answer: BExplanationSelf-hosted runners operate in a network the company controls, so a fixed outbound address can be allowed by the target service without opening access to broad cloud ranges. GitHub-hosted runner addresses are dynamic and span many ranges, which conflicts with the security team's refusal to open the service broadly. Increasing runner count does not change the source address. An enterprise IP allow list governs inbound access to GitHub resources, not the outbound path from the runner to the target.
These are 15 of the 65 questions in the full GH-100 pack.
Get All 65 QuestionsGet all 65 questions & answers
Full access options for Microsoft GH-100
Self-study
PDF Version
- 65 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 65 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 65 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the GH-100 Exam (GitHub Enterprise Administrator) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.