
Detailed Exam Domain Coverage
The practice tests in this course are structured to match the official exam blueprint perfectly. Every question maps directly to one of the following core domains and their specific technical areas:
Manage GitHub Identities and Access (20%)
Topics covered: Configuring SAML Single Sign-On (SSO) and SCIM provisioning; managing Enterprise Managed Users (EMU); establishing identity provider (IdP) groups synchronization; implementing organization-level and repository-level access control, permissions, and base roles.
Administer GitHub Enterprise Environment (12%)
Topics covered: Structuring enterprises, organizations, and repositories; implementing global and organization-level policies; managing repository creation privileges; configuring IP allow lists; controlling organization visibility and billing settings.
Implement Secure Software Development and Compliance (30%)
Topics covered: Deploying GitHub Advanced Security (GHAS) at scale; configuring secret scanning, push protection, and code scanning alerts; managing Dependabot updates and security graphs; enforcing branch protection rules and deployment guards; retrieving and analyzing audit logs for compliance reporting.
Manage GitHub Actions (25%)
Topics covered: Managing self-hosted runners and runner groups; configuring repository, organization, and enterprise-level Actions permissions; designing secure, reusable workflows; governing secrets, configuration variables, and environment protections.
Monitor and Optimize GitHub Usage (13%)
Topics covered: Configuring webhooks and analyzing event payloads; interacting with the GitHub REST and GraphQL APIs for administrative automation; troubleshooting rate limit issues; analyzing GitHub Insights and system health; optimizing seat allocation and license consumption.
Course Description
Earning your GitHub Administration certification requires more than just knowing basic Git commands. It demands a deep understanding of enterprise governance, identity federation, security scanning, and automation architecture. I designed these practice tests to bridge the gap between day-to-day administration and the specific scenario-based engineering questions you will encounter on the actual exam.
Instead of memorizing static facts, you will face complex problem-solving scenarios that test your ability to make architectural decisions under pressure. Every question includes a meticulous breakdown of why the correct answer is the most efficient choice according to GitHub best practices, along with an analysis of why the alternative options fail to meet the required criteria.
I built this question bank to save you time. If you can analyze these scenarios and understand the underlying logic behind the explanations, you will be in a strong position to pass the official exam on your first attempt.
Practice Questions Preview
Question 1: Identity and Access Management
An enterprise uses GitHub Enterprise Managed Users (EMU) integrated with Microsoft Entra ID. A security administrator reports that several terminated employees still have read access to internal repositories when using personal access tokens (PATs) created prior to their termination. Which of the following explains this behavior and identifies the correct remediation step?
A. SCIM syncing is delayed. You must manually delete the user accounts from the GitHub Enterprise settings page.
B. SAML SSO sessions can remain active for up to 24 hours. You need to invalidate the active sessions manually in the enterprise billing panel.
C. The enterprise has not enforced fine-grained PAT policies. You must restrict PAT lifespans and enforce policy controls at the enterprise account level.
= D. The users are external collaborators who bypass identity provider lifecycles. You must transition them to full EMU accounts to enforce automated deprovisioning.
E. SCIM deprovisioning only suspends the user but does not automatically invalidate pre-existing SSH keys or PATs. You must run a script via the GraphQL API to audit and delete these credentials.
F. The Identity Provider group mappings were deleted before the user accounts were deprovisioned. You must recreate the groups in Entra ID to trigger the final sync.
Correct Answer: C
Detailed Explanation:
Option A is incorrect: With Enterprise Managed Users, you cannot manually delete accounts from the UI; their lifecycles are entirely managed by the Identity Provider via SCIM.
Option B is incorrect: While SAML sessions do have lifetimes, authentication lifecycles do not prevent pre-existing authorized tokens from accessing resources if the enterprise policy allows unmanaged token usage.
Option C is correct: In a standard EMU setup, if enterprise-level PAT policies are not strictly enforced, credentials can sometimes retain access until the account is fully deprovisioned or the token expires. Enforcing strict fine-grained PAT policies at the enterprise level closes token-based access loopholes instantly.
Option D is incorrect: External collaborators cannot exist in a strict EMU enterprise in the same manner as standard environments; users must be provisioned through the IdP.
Option E is incorrect: When an EMU account is suspended via SCIM, its ability to use PATs and SSH keys to access enterprise resources is blocked immediately by GitHub's access control layer.
Option F is incorrect: Deleting the group mappings removes repository access tied to those groups, but it does not leave a user account stranded with extra permissions.
Question 2: GitHub Actions Governance
Your enterprise has a dedicated pool of high-performance, self-hosted runners used for running resource-intensive integration tests on a highly confidential repository. You need to ensure that no other repositories within the organization can accidentally or maliciously schedule jobs on these specific runners. Which configuration meets this requirement with the least administrative overhead?
A. Assign a unique custom label to the runners and use a pre-commit hook to reject code changes that use this label in unauthorized repositories.
B. Move the runners to a new organization created specifically for that single confidential repository.
C. Place the runners into a dedicated runner group at the organization level, set the group visibility to "Selected repositories," and grant access exclusively to the confidential repository.
D. Configure a branch protection rule on all other repositories that explicitly blocks the use of the runs-on key targeting those runners.
E. Create a reusable workflow in a central repository that handles the test execution, and use repository environments to gate runner access via deployment protection rules.
F. Implement a custom GitHub App that monitors the workflow_job webhook event and automatically cancels unauthorized jobs.
Correct Answer: C
Detailed Explanation:
Option A is incorrect: Labels are not a security boundary. Anyone with write access to an unauthorized repository could simply type your custom label into their workflow YAML file and consume your secure runner resources.
Option B is incorrect: Creating an entirely separate organization introduces significant administrative overhead regarding identity management, billing alignment, and global policy replication.
Option C is correct: Runner groups are the primary security and administrative boundary for self-hosted runners in GitHub Enterprise. Restricting the group's visibility directly to "Selected repositories" natively prevents any other repository from scheduling workloads on those runners.
Option D is incorrect: Branch protection rules govern code merges, branch deletions, and status checks; they cannot parse or restrict specific YAML syntax like the runs-on property across an organization.
Option E is incorrect: Reusable workflows and environment protection rules are excellent for deployment governance, but they do not inherently restrict runner access at the infrastructure level if the runners remain visible to the whole organization.
Option F is incorrect: Building, hosting, and maintaining a custom GitHub App to terminate jobs introduces massive development overhead and introduces a race condition where malicious code might execute briefly before the cancellation API call completes.
Question 3: Security and Compliance
An administrator needs to implement GitHub Advanced Security (GHAS) push protection across an entire enterprise. The goal is to block developers from pushing secrets, while ensuring that legitimate, pre-vetted false positives do not completely halt development velocity. How should this be implemented?
A. Enable push protection at the enterprise level, and instruct developers to use git push --no-verify whenever they hit a false positive.
B. Enable push protection at the enterprise level and allow developers to bypass the block themselves by selecting a reason from the command-line prompt.
C. Enable secret scanning at the organization level, set push protection to "Monitor Only," and create an automation script that alerts administrators via Slack to manually review blocks.
D. Add a custom regular expression pattern to the enterprise security settings that automatically auto-approves any commit containing the string [approved-secret].
E. Enable push protection at the repository level only, requiring an organization owner to manually approve a cryptographic bypass key for each individual developer block.
F. Configure a third-party commit-signing tool that overrides GitHub's upstream push protection analysis.
Correct Answer: B
Detailed Explanation:
Option A is incorrect: The --no-verify flag bypasses local client-side git hooks. GitHub's push protection is a server-side check; a client-side flag cannot override it.
Option B is correct: When push protection is enabled at the enterprise level, GitHub intercepts pushes containing secrets at the command line. If a developer encounters a false positive, GitHub provides an interactive CLI prompt allowing them to specify a reason (e.g., false positive, used in testing) to bypass the block instantly without opening a ticket, maintaining development velocity while logging the event for compliance auditing.
Option C is incorrect: A "Monitor Only" status or post-commit alerting system allows secrets to enter the git history, which requires an expensive rotation and history purging process. It does not stop the secret at the push boundary.
Option D is incorrect: This approach introduces a massive security risk by allowing malicious actors or careless developers to easily leak secrets simply by appending a specific string to their commit message.
Option E is incorrect: Managing individual developer blocks via manual organization owner interventions creates an extreme administrative bottleneck that breaks development workflows.
Option F is incorrect: Cryptographic commit signing validates the identity of the author, but it does not scan or validate the contents of the payload for plaintext secrets.
Welcome to the Mock Exam Practice Tests Academy to help you prepare for your GitHub Enterprise Administration Exam.
You can retake the exams as many times as you want
This is a huge original question bank
You get support from instructors if you have questions
Each question has a detailed explanation
Mobile-compatible with the Udemy app
We hope that by now you're convinced! And there are a lot more questions inside the course.