Home / GitHub Administration (GH-100) / Mock exam
GitHub Administration (GH-100) Exam-style mock test

GitHub Administration (GH-100) Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · GitHub Enterprise Administration and Account Management
A B2B SaaS company is adopting GitHub and must keep all source code and metadata inside its own data center for a compliance mandate. Which deployment model best fits this hard requirement?
✓GitHub Enterprise Server, a self-hosted virtual appliance the company runs and administers in its own infrastructure
Correct. GitHub Enterprise Server is a self-hosted appliance the company operates in its own data center, satisfying the requirement that code never leave internal infrastructure.
・GitHub Enterprise Cloud, a fully SaaS-hosted service that stores all enterprise repositories on GitHub-managed infrastructure
Incorrect. Enterprise Cloud is hosted on GitHub-managed infrastructure, so repository data would reside outside the company's data center.
・GitHub Free for organizations, which hosts public and private repositories on shared GitHub.com infrastructure without data-residency controls
Incorrect. GitHub Free stores repositories on GitHub.com and offers no data-residency guarantee, failing the mandate.
・GitHub Team, a paid GitHub.com plan adding advanced collaboration while repositories still reside on GitHub-managed cloud infrastructure
Incorrect. GitHub Team keeps repositories on GitHub-managed cloud infrastructure and cannot satisfy an on-premises data-residency requirement.
Explanation
Only GitHub Enterprise Server is a self-hosted appliance, making it the deployment model that keeps all data within the company's own infrastructure.
Example2 · Authentication, Identity, and Access (SAML, SCIM)
At the B2B SaaS company NimbusPay, the platform team wants every engineer to sign in to their GitHub organization through the corporate Okta identity provider. The admin enables SAML single sign-on and sets the enforcement policy to require it. What is the immediate effect on members who have not yet authenticated through Okta?
・They keep full access to organization resources until their next scheduled credential rotation with Okta happens
Incorrect. Enforcement does not wait for a credential rotation event; access to org resources is gated at the next request.
・They are removed from the organization automatically and must be invited again by an owner through Okta
Incorrect. Enforced SAML does not silently remove existing members; it links their accounts after they authenticate.
・They retain access but any new repositories they create are made private to the identity provider
Incorrect. SAML enforcement controls authentication, not repository visibility defaults for new repos.
✓They are prompted to authenticate through the identity provider before they can access organization resources
Correct. With SAML enforced, members must authenticate through the configured IdP before accessing org resources, linking their external identity to their GitHub account.
Explanation
Enforcing SAML SSO requires each member to authenticate once through the IdP to link identities; access to organization resources is blocked until that linking happens.
Example3 · Organization and Repository Management and Policies
A B2B SaaS company has one organization owner who is leaving the company next week. The security team wants to ensure the organization is never left without a user who can manage billing, security settings, and member roles. What should an administrator do before the owner departs?
・Convert the departing owner's account into a managed service account that stays active after offboarding
Incorrect. There is no managed service account type that preserves owner privileges through offboarding, and keeping a departed user's account active is a security risk.
✓Promote at least one additional trusted member to the organization owner role before the departure
Correct. Promoting another trusted member to the organization owner role guarantees continuity of billing, security, and member management before the current owner leaves.
・Transfer the organization to an enterprise so that enterprise admins automatically inherit ownership
Incorrect. Enterprise membership does not automatically grant every enterprise admin ownership of each organization; owners must still be assigned.
・Create a new team named Owners and add the departing user plus a backup member to it
Incorrect. A team named Owners is just a group; team membership does not confer organization owner permissions.
Explanation
Organization owner is the only role with full control, so an administrator should always ensure more than one owner exists before anyone with that role departs.
Example4 · Security, Audit Logs, and Compliance
A compliance officer at MercyBridge Health Systems asks where in GitHub she can confirm who removed an outside collaborator from a repository containing protected health information and exactly when it happened. As the enterprise owner, where do you direct her to find this authoritative record?
・The security tab of each repository, which summarizes code scanning and Dependabot alerts for that repository only
Incorrect. The security tab surfaces vulnerability and scanning alerts, not a chronological record of who changed access and when.
✓The audit log at the organization level, which records administrative events including collaborator removals with timestamps
Correct. The organization audit log records administrative actions such as adding or removing collaborators, each stamped with the actor and time.
・The repository insights pages, which graph commit frequency and contributor activity over the selected period
Incorrect. Insights charts show contribution trends and statistics, not discrete access-control change events.
・The pull request timeline for the repository, which lists merges, reviews, and inline comment threads chronologically
Incorrect. The pull request timeline covers code review activity, not membership or access administration events.
Explanation
Membership and access changes are administrative events captured in the organization audit log, which is the authoritative source for who did what and when.
Example5 · Automation, Migrations, and Enterprise Configuration
A healthcare services firm needs a GitHub Actions workflow to run its nightly patient-data compliance scan at 02:00 UTC every day, even when no code is pushed. Which trigger configuration should the platform engineer add to the workflow file?
✓Add a 'schedule' trigger with a cron expression so the workflow runs automatically at the fixed nightly time
Correct. The 'schedule' event with a POSIX cron expression runs a workflow on a time-based cadence independent of any repository activity, which matches the fixed nightly requirement.
・Add a 'push' trigger filtered to the main branch so the scan runs whenever compliance code is merged nightly
Incorrect. A 'push' trigger depends on commits being merged and will not fire reliably at a fixed time when no code changes occur.
・Add a 'workflow_dispatch' trigger so an engineer can manually launch the compliance scan each night from the Actions tab
Incorrect. A 'workflow_dispatch' trigger requires a human to start the run manually and does not guarantee the automated nightly cadence.
・Add a 'repository_dispatch' trigger so an external monitoring webhook starts the compliance scan on a schedule
Incorrect. A 'repository_dispatch' trigger relies on an external system sending an API event and does not itself provide time-based scheduling.
Explanation
Time-based automation that must run regardless of pushes is implemented with the 'schedule' event and a cron expression.
Example6 · GitHub Enterprise Administration and Account Management
A healthcare services firm must keep all source code and CI data inside infrastructure it fully controls on its own servers to satisfy a strict internal data-residency policy. Which GitHub Enterprise deployment model should the administrator recommend for this requirement?
・GitHub Enterprise Cloud, where all organizations and repositories are hosted on GitHub's shared multi-tenant platform
Incorrect. Enterprise Cloud hosts everything on GitHub's multi-tenant platform, so the firm would not fully control the underlying servers or data location.
✓GitHub Enterprise Server, a self-hosted instance the firm runs on its own virtual machines
Correct. GitHub Enterprise Server is self-hosted on the firm's own virtual machines, giving it full control over where source code and CI data reside.
・GitHub Free for organizations, which offers unlimited public and private repositories to any team
Incorrect. GitHub Free lacks the enterprise administration and compliance controls required and still runs on GitHub's hosted platform.
・GitHub Enterprise Managed Users with Azure AD, where identities are provisioned centrally from the firm's directory
Incorrect. Enterprise Managed Users centralizes identity but still operates within GitHub's cloud infrastructure, not the firm's own servers.
Explanation
Self-hosting on GitHub Enterprise Server is the deployment model that keeps code and data within infrastructure the organization fully controls.
Example7 · GitHub Enterprise Administration and Account Management
UrbanThread, a growing retail apparel brand, wants a single enterprise account that centrally bills and administers several business unit organizations while keeping all repositories hosted in GitHub's own cloud. Which account structure should the platform team adopt to meet this requirement?
・Enterprise Server installed on a self-managed virtual appliance running inside UrbanThread's data center
Incorrect. Enterprise Server is a self-hosted appliance, which contradicts the requirement to keep repositories in GitHub's managed cloud environment.
✓Enterprise Cloud account that owns multiple organizations under one centralized billing entity
Correct. An Enterprise Cloud account owns many organizations under one centralized billing and policy entity while repositories remain in GitHub's cloud.
・Individual Team plan organization where each department later creates its own separate organization
Incorrect. A standalone Team organization provides no overarching enterprise layer for unified billing and governance across multiple units.
・Personal user account upgraded to Pro so it can invite collaborators across every unit
Incorrect. A personal Pro account manages a single user's resources and cannot centrally administer multiple business unit organizations.
Explanation
Enterprise Cloud is the account type that groups multiple organizations under one managed, centrally billed enterprise hosted by GitHub.
Example8 · GitHub Enterprise Administration and Account Management
UrbanThread's security team wants members to sign in to the enterprise using the company's existing identity provider, and they want GitHub to automatically create and deactivate accounts when staff join or leave. Which combination best satisfies this goal on Enterprise Cloud?
✓Configure SAML single sign-on together with SCIM provisioning through the enterprise's identity provider
Correct. SAML single sign-on authenticates members through the identity provider, and SCIM handles automated account creation and deactivation.
・Require every member to enable two-factor authentication using a hardware security key only
Incorrect. Hardware-key two-factor authentication strengthens login but performs no automated lifecycle provisioning of accounts.
・Enable OAuth app authorization for the retail toolchain and rely on it for all member sign-in flows
Incorrect. OAuth app authorization grants scoped API access to applications and does not govern enterprise member sign-in or provisioning.
・Mandate personal access tokens scoped per repository and rotate them on a fixed schedule
Incorrect. Scoped personal access tokens authorize API operations but do not provide identity-provider sign-in or lifecycle automation.
Explanation
SAML SSO handles identity-provider authentication while SCIM automates provisioning and deprovisioning of enterprise members.
Example9 · GitHub Enterprise Administration and Account Management
A contractor at UrbanThread needs to triage issues and manage labels in one organization repository but must never push code or change repository settings. As the organization administrator, which repository role should you grant to follow least privilege?
✓Grant the Triage role, which allows issue and pull request management without write access to the codebase
Correct. The Triage role permits managing issues, pull requests, and labels without granting write access to the code.
・Grant the Write role so the contractor can fully manage issues and merge contributions
Incorrect. The Write role adds the ability to push code and merge, exceeding the contractor's required permissions.
・Grant the Maintain role to handle repository configuration and project coordination tasks
Incorrect. The Maintain role grants repository configuration abilities far beyond triaging issues and labels.
・Grant the Read role, which only permits viewing and cloning the repository contents
Incorrect. The Read role cannot manage labels or close and reopen issues, so it is insufficient for the task.
Explanation
Triage is the minimal role that allows issue, pull request, and label management without code write access.
Example10 · GitHub Enterprise Administration and Account Management
A regional bank requires that all developer identities be provisioned and deprovisioned exclusively through its corporate identity provider, with no standalone GitHub credentials permitted for any member. Which GitHub deployment and authentication model satisfies this strict identity-control requirement?
・Enable SAML single sign-on on an existing GitHub Enterprise Cloud organization that uses personal accounts
Incorrect. SAML SSO layered on personal accounts still lets members retain and use their own personal GitHub credentials outside the enterprise.
✓Adopt Enterprise Managed Users on GitHub Enterprise Cloud so the identity provider owns every account
Correct. Enterprise Managed Users makes the identity provider the sole source of accounts, so users cannot exist or authenticate without IdP provisioning.
・Configure two-factor authentication enforcement across all organization members in the enterprise
Incorrect. Enforcing two-factor authentication strengthens login security but does not remove members' independently owned personal GitHub accounts.
・Invite each developer to join the enterprise using their existing personal GitHub.com account
Incorrect. Inviting personal accounts is the opposite of centralized provisioning because each developer keeps full control of their own identity.
Explanation
Enterprise Managed Users (EMU) ties all member accounts to the enterprise's identity provider, which is the only model that fully prevents standalone GitHub credentials.
Example11 · GitHub Enterprise Administration and Account Management
At an investment firm, a compliance lead must be able to view all organizations in the enterprise, review audit data, and manage policies, but the firm wants to avoid granting unnecessary administrative control over billing and user provisioning. Which enterprise role best fits this scoped responsibility?
✓Enterprise owner, which grants complete administrative control over every setting across the entire enterprise account
Correct. Enterprise owner provides full administrative control including billing and provisioning, which exceeds the intentionally scoped access the firm wants.
・Billing manager, who is limited to viewing and managing payment methods and subscription-level charges
Incorrect. Billing managers are restricted to financial settings and cannot review audit data or manage enterprise-wide policies.
・Enterprise member, who can access only the organizations and repositories to which they have been directly added
Incorrect. Enterprise members have limited visibility and cannot review enterprise audit logs or manage organization policies across the account.
・Guest collaborator, who receives temporary restricted access to selected repositories within one organization
Incorrect. Guest collaborators receive narrow repository access and have no policy, audit, or enterprise administration capabilities at all.
Explanation
Despite the firm's wish to limit billing and provisioning power, enterprise owner is the only role with the policy, audit, and cross-organization visibility described; GitHub does not offer a separate read-only compliance role, so owner is the intended answer among these choices.
Example12 · GitHub Enterprise Administration and Account Management
At a manufacturing distributor, a new platform lead must be able to add and remove members, manage all repositories, and change settings across the single 'ParksDistribution' organization, but must NOT have billing or enterprise-wide control. Which role assignment best fits this requirement?
✓Grant the platform lead the organization owner role so they fully administer the ParksDistribution organization
Correct. Organization owner provides full administrative control over members, repositories, and settings for that single organization, without conferring enterprise-level or billing-only enterprise control.
・Grant the platform lead the enterprise owner role scoped to the ParksDistribution organization only
Incorrect. The enterprise owner role is not scoped to a single organization and would grant enterprise-wide control, which exceeds the stated requirement.
・Grant the platform lead a team maintainer role on every team inside the organization at once
Incorrect. Team maintainer only manages team membership and settings, not organization-wide member or repository administration across the whole organization.
・Grant the platform lead the organization member role plus repository admin on each repo
Incorrect. Assigning repo admin on each repository is unmanageable and still would not allow adding or removing organization members or changing org settings.
Explanation
Organization owner is the correct scope for full control of one organization while remaining below enterprise owner.
Example13 · GitHub Enterprise Administration and Account Management
The IT director at a manufacturing distributor wants a single place to enforce consistent policies, consolidate billing, and oversee several organizations (warehouse, engineering, and sales). Which GitHub construct is designed to provide this centralized layer above individual organizations?
✓An enterprise account that groups multiple organizations under unified policy and billing control
Correct. An enterprise account sits above organizations and centralizes policy enforcement, billing, and administration across all member organizations.
・A parent organization containing child organizations nested beneath it
Incorrect. GitHub organizations cannot be nested as parent and child organizations, so this structure does not exist.
・A shared team that spans every organization and inherits all policies
Incorrect. Teams exist within a single organization and cannot span multiple organizations or enforce enterprise policies.
・A single organization holding every repository with internal visibility enabled
Incorrect. Consolidating everything into one organization sacrifices separation and does not provide the multi-organization governance layer being requested.
Explanation
The enterprise account is the top-level container that centralizes governance across organizations.
Example14 · GitHub Enterprise Administration and Account Management
A telecom operator's platform team runs GitHub Enterprise Cloud with an enterprise account that contains four organizations. A network engineer only needs to contribute to repositories inside the 'core-ran' organization and has no administrative duties. Which role should the enterprise owner assign to keep this person's access scoped correctly?
・Add the engineer as an enterprise owner so they can be granted repository access across every organization under the enterprise account
Incorrect. Enterprise owner grants full administrative control over all organizations and settings, which is excessive for a contributor who only needs one organization's repositories.
✓Add the engineer as a member of the 'core-ran' organization and grant repository access within that organization only
Correct. Membership in the single organization combined with repository access there scopes the engineer exactly to the work required without administrative privileges.
・Add the engineer as a billing manager on the enterprise account and later promote them to an organization member role
Incorrect. Billing managers manage subscription and payment settings only and cannot access repositories, so this does not meet the contributor's needs.
・Add the engineer as an enterprise member with the guest collaborator designation applied at the enterprise level
Incorrect. Guest collaborator is an Enterprise Managed Users concept for restricted external access, not the straightforward internal organization membership this engineer requires.
Explanation
Scoping access to a single organization's membership and repositories follows least privilege for an internal contributor who needs no administrative authority.
Example15 · GitHub Enterprise Administration and Account Management
A telecom operator must keep all source code and CI data inside its own data center for regulatory reasons, with no repository content stored on GitHub-hosted infrastructure. The administrator is choosing between GitHub Enterprise Cloud and GitHub Enterprise Server. Which deployment best satisfies this requirement?
・GitHub Enterprise Cloud, because enterprise accounts there can pin all organization data to a single customer-owned regional data residency zone
Incorrect. Data residency pins certain data to a region but the infrastructure is still GitHub-hosted, not located in the operator's own data center.
✓GitHub Enterprise Server, because it is a self-hosted appliance that the operator runs on infrastructure it fully controls
Correct. GitHub Enterprise Server is a self-hosted virtual appliance, so all code and CI data remain on infrastructure the operator owns and controls.
・GitHub Enterprise Cloud with IP allow lists enabled, since restricting inbound addresses keeps repository storage inside the corporate perimeter
Incorrect. IP allow lists restrict who can connect but repository content still resides on GitHub-hosted cloud storage, failing the data-location rule.
・GitHub Enterprise Server connected through GitHub Connect, which mirrors every repository to the hosted cloud for redundancy and failover
Incorrect. GitHub Connect links a Server instance to the cloud for limited features and does not satisfy a requirement to keep all content on-premises.
Explanation
Only the self-hosted Server appliance keeps all repository and CI data physically inside the operator's own controlled environment.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)