Free GitHub Enterprise Administrator Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the GitHub Enterprise Administrator practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1An enterprise wants its identity provider to create and control employees' GitHub accounts. Which identity model provides this capability?
- A. Personal accounts with organization SAML SSO
- B. Enterprise Managed Users with IdP provisioning
- C. Personal accounts with required two-factor authentication
- D. Personal accounts with synchronized organization teams
Answer: B
Explanation: The documentation states, "Your IdP provisions new user accounts on GitHub, with access to your enterprise." Enterprise Managed Users provides account lifecycle control; SSO, 2FA, and team synchronization on personal accounts do not themselves provision managed accounts.
Reference: About Enterprise Managed Users — What are Enterprise Managed Users in GitHub?
2GitHub Support requests an overview of a GitHub Enterprise Server 3.19 instance's settings and environment. The administrator has Management Console access but no SSH access. How can the administrator provide this overview?
- A. Export the repository's Git commit history as a diagnostic report.
- B. Download the instance diagnostic file through the Management Console.
- C. Export the organization's member list as the instance diagnostic file.
- D. Download a workflow artifact instead of an instance diagnostic file.
Answer: B
Explanation: The instructions state, "You can create a diagnostic file from the Management Console if you don't currently have SSH access." Repository history, a member list, and workflow artifacts do not supply the documented instance settings and environment diagnostics.
Reference: Providing data to GitHub Support — Creating a diagnostic file from the Management Console
3Two active rulesets target the same branch. One requires one pull request approval; the other requires four. Neither grants bypass to the contributor. How many approvals are required by the combined rules?
- A. One approval
- B. Two approvals
- C. Four approvals
- D. Five approvals
Answer: C
Explanation: The documentation states, "If the same rule is defined in different ways across the aggregated rulesets, the most restrictive version of the rule applies." The requirement is four, not the first rule, an average, or the sum of the approval counts.
4Which event must a workflow include in its on configuration to be callable as a reusable workflow?
- A. workflow_dispatch
- B. workflow_call
- C. workflow_run
- D. repository_dispatch
5An enterprise owner needs to find a non-Git audit event from four months ago, within the documented retention period. Why might it be absent from the default audit log display, and how should the owner search?
- A. The log permanently deletes all non-Git events after three months.
- B. Filter by actor only; that automatically expands the default date window.
- C. The default display covers three months; specify a date range with created.
- D. Filter by repository only; that automatically expands the default date window.
Answer: C
Explanation: The guide states, "By default, only events from the past three months are displayed." It adds, "To view older events, you must specify a date range with the created parameter." Actor or repository filtering does not replace the required date-range selection, and display defaults are not permanent deletion.
Reference: Audit log for an enterprise — What are audit logs?
6A developer needs to contribute to public repositories outside the employer's enterprise. What limitation must the administrator explain about the developer's managed user account?
- A. It can collaborate externally after authenticating to the external organization's IdP.
- B. It can collaborate externally when the IdP assigns it the enterprise owner role.
- C. It cannot collaborate outside the enterprise using that managed user account.
- D. It can collaborate externally when both enterprises use the same identity provider.
Answer: C
Explanation: The restriction is, "Managed user accounts cannot create public content or collaborate outside your enterprise." Neither an owner role nor shared or additional IdP authentication removes the managed-account enterprise boundary.
Reference: About Enterprise Managed Users — What are Enterprise Managed Users in GitHub?
7For GitHub Enterprise Server 3.19, which file type should an administrator collect when Support needs both instance diagnostics and recent sanitized logs?
- A. A plaintext diagnostic file
- B. An organization audit log export
- C. A repository source archive
- D. A support bundle archive
Answer: D
Explanation: The support bundle description states, "Contains a diagnostics file and sanitized log files from the past two days by default." A diagnostic file alone contains instance settings and environment information, while audit exports and source archives do not include that combined diagnostic package.
Reference: Providing data to GitHub Support — About diagnostic files and support bundles — Support bundle row
8An administrator needs to pause a ruleset's enforcement while preserving its configuration for later use. Which change provides this behavior?
- A. Set the ruleset's enforcement status to Disabled.
- B. Remove all repository collaborators from its bypass list.
- C. Add another active ruleset targeting the same branch.
- D. Rename the ruleset while keeping its status Active.
9Where must a reusable workflow YAML file be stored within its repository?
- A. Directly in the .github/workflows directory
- B. In any subdirectory under .github/workflows
- C. Directly in the .github/actions directory
- D. In any directory referenced by the caller's path
Answer: A
Explanation: The guide states, "As with other workflow files, you locate reusable workflows in the .github/workflows directory of a repository." It also states, "Subdirectories of the workflows directory are not supported." Reusable workflow storage is therefore more specific than any caller-selected file path.
10In an enterprise audit log entry named repo.create, what do the two components identify?
- A. The repo event category and the create operation
- B. The repository owner named repo and the actor named create
- C. The repository named repo and the branch named create
- D. The repo permission role and the create authentication method
Answer: A
Explanation: The guide states, "The name for each audit log entry is composed of a category of events, followed by an operation type." Its repo.create example identifies create as the operation on the repo category; it does not encode an actor, branch, or role.
Reference: Audit log for an enterprise — What are audit logs?
Topics in this practice bank
These topics describe the available practice for GitHub Enterprise Administrator. Review the examination outline and its sources for scope and allocation details.
Manage GitHub identities and access
- Manage user identities and authentication
- Manage access and permissions
Administer GitHub Enterprise environment
- Support GitHub Enterprise users and stakeholders
- Manage deployment and licensing
Implement secure software development and compliance
- Configure security policies and rulesets
- Enable repository security features
- Manage API access and integrations
Manage GitHub Actions
- Configure workflows and reusable components
- Manage runners
- Manage encrypted secrets
Monitor and optimize GitHub usage
- Monitor enterprise usage and activity
- Optimize cost and performance
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view GitHub Enterprise Administrator details.