Question 840
During an internal incident follow-up, the GitHub Enterprise administrators at Pioneer Universities document this problem: A pull-request workflow receives untrusted fork input and executes it with privileged write permissions. What should the responsible platform team implement first to address the core constraint?
- Declare required workflow_call inputs and secrets in the callee and explicitly pass them from the authorized caller
- Version and pin approved shared workflow components while retaining run, commit and artifact provenance
- Restrict workflow token permissions and prevent privileged secrets or deployment rights from being exposed to untrusted pull-request code
- Publish a reviewed reusable action or composite action for the repeated setup steps
Explanation
Correct Answer
C:For Pioneer Universities, this is targeted at the root control failure: Untrusted contribution code can execute in a CI context and misuse credentials if given unnecessary authority. Verify the repair by requiring that a simulated fork pull request runs its checks without access to sensitive deployment credentials or write scopes.
Incorrect Answers
A:This action is for a different documented failure: A reusable release workflow fails because it expects an input and secret that the calling project never provides. It does not fix the decisive constraint at Pioneer Universities, where untrusted contribution code can execute in a CI context and misuse credentials if given unnecessary authority.
B:This action is for a different documented failure: A security team cannot prove which workflow version built a package because build jobs reference mutable automation scripts. It does not fix the decisive constraint at Pioneer Universities, where untrusted contribution code can execute in a CI context and misuse credentials if given unnecessary authority.
D:This action is for a different documented failure: An enterprise wants to reuse a small build-tool setup sequence but each workflow writes its own shell commands. It does not fix the decisive constraint at Pioneer Universities, where untrusted contribution code can execute in a CI context and misuse credentials if given unnecessary authority.
Question 841
During a security governance workshop, the GitHub Enterprise administrators at Lakeside Manufacturing document this problem: An app can access hundreds of repositories even though it only needs deployment metadata for three. What should the responsible platform team implement first to address the core constraint?
- Apply the supported organization application access policy and deny or review the OAuth app before authorization
- Validate webhook signatures using the configured webhook secret before processing events
- Restrict the GitHub App installation to selected repositories and grant only its required permission set
- Migrate to a reviewed GitHub App with installation-scoped permissions appropriate to the integration
Explanation
Correct Answer
C:For Lakeside Manufacturing, this is targeted at the root control failure: The app installation scope and permissions are broader than its documented business purpose. Verify the repair by requiring that API tests succeed for three approved repositories and fail for an unrelated private repository.
Incorrect Answers
A:This action is for a different documented failure: An unreviewed OAuth app asks enterprise users for extensive account access despite limited business justification. It does not fix the decisive constraint at Lakeside Manufacturing, where the app installation scope and permissions are broader than its documented business purpose.
B:This action is for a different documented failure: A GitHub App webhook receiver accepts unsigned incoming events and cannot prove an event originated from GitHub. It does not fix the decisive constraint at Lakeside Manufacturing, where the app installation scope and permissions are broader than its documented business purpose.
D:This action is for a different documented failure: A machine integration that reads build artifacts uses OAuth app tokens tied to developer accounts when the company needs centrally revocable access. It does not fix the decisive constraint at Lakeside Manufacturing, where the app installation scope and permissions are broader than its documented business purpose.
Question 842
In a separate engagement at Northwind Payments during a fresh service-integrator assessment, administrators evaluate this reported issue: A machine integration that reads build artifacts uses OAuth app tokens tied to developer accounts when the company needs centrally revocable access. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. What should the responsible platform team implement first to address the core constraint?
- Replace employee-owned personal access with a controlled GitHub App installation and managed credential lifecycle
- Migrate to a reviewed GitHub App with installation-scoped permissions appropriate to the integration
- Inventory GitHub App installations, OAuth authorizations and PAT-based access through available administration and audit surfaces
- Inspect token validity, granted scopes or installation permissions, repository access and SSO authorization separately
Explanation
Correct Answer
B:For Northwind Payments, this is targeted at the root control failure: User-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity. Verify the repair by requiring that a test administrator can remove the app installation and immediately prevent its subsequent authorized operations.
Incorrect Answers
A:This action is for a different documented failure: Several organizations depend on a departing engineer's long-lived PAT for scheduled automation. It does not fix the decisive constraint at Northwind Payments, where user-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity.
C:This action is for a different documented failure: A security administrator cannot identify which external integrations have gained access to highly confidential repositories. It does not fix the decisive constraint at Northwind Payments, where user-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity.
D:This action is for a different documented failure: A team sees an API authorization failure and assumes the token is expired without checking repository permissions. It does not fix the decisive constraint at Northwind Payments, where user-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity.
Question 843
In a separate engagement at Aspen Municipal Services during a separate incident-replay exercise, administrators evaluate this reported issue: GitHub Enterprise Server performance degrades but administrators send only screenshots when requesting help. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which acceptance result should the control owner require?
- The team identifies the responsible layer and escalates only reproducible provider-side failures
- The reviewed support package contains the relevant diagnostics and is transferred through an approved secure channel
- The staging upgrade passes health checks and the team can demonstrate a recovery procedure
- A release audit links deployed artifacts to reviewed changes and an authorized release event
Explanation
Correct Answer
B:The proposed evidence directly tests the operating control at Aspen Municipal Services: The reviewed support package contains the relevant diagnostics and is transferred through an approved secure channel.
Incorrect Answers
A:This observation would validate another issue: Multiple teams report intermittent GitHub API failures and assume GitHub Support owns every timeout. It does not establish the required result at Aspen Municipal Services: the reviewed support package contains the relevant diagnostics and is transferred through an approved secure channel.
C:This observation would validate another issue: A GitHub Enterprise Server upgrade is repeatedly postponed because teams lack a supported maintenance rehearsal. It does not establish the required result at Aspen Municipal Services: the reviewed support package contains the relevant diagnostics and is transferred through an approved secure channel.
D:This observation would validate another issue: A release manager cannot trace which reviews authorized a production tag because the team uses informal email approvals. It does not establish the required result at Aspen Municipal Services: the reviewed support package contains the relevant diagnostics and is transferred through an approved secure channel.
Question 844
During an internal incident follow-up, the GitHub Enterprise administrators at Pioneer Universities document this problem: A release bot uses a named engineer's personal access token and fails whenever that engineer is deprovisioned. Which continuing practice would best reduce the likelihood of recurrence?
- Rotate custodianship of recovery material and test it under a documented break-glass procedure
- Inventory integration ownership, rotate credentials and test deprovisioning effects
- Document emergency access and regularly test authentication policy enforcement
- Reconcile subject identifiers, group mappings and recovery access before each transition wave
Explanation
Correct Answer
B:This sustained control addresses the observed failure at Pioneer Universities: Inventory integration ownership, rotate credentials and test deprovisioning effects. The relevant weakness to prevent is that human identity lifecycle and personal tokens make shared automation dependent on the employment status of one person.
Incorrect Answers
A:This prevention fits a different exposure: GitHub organization owners could lose administrative access if the external identity provider goes offline during a critical release. It would not directly prevent the cause at Pioneer Universities, which is that human identity lifecycle and personal tokens make shared automation dependent on the employment status of one person.
C:This prevention fits a different exposure: A personal-account enterprise uses an external identity provider but weak developer passwords can still be used where an additional authentication factor is required. It would not directly prevent the cause at Pioneer Universities, which is that human identity lifecycle and personal tokens make shared automation dependent on the employment status of one person.
D:This prevention fits a different exposure: A large enterprise migrates identity providers and risks disconnecting managed-user access during a cutover. It would not directly prevent the cause at Pioneer Universities, which is that human identity lifecycle and personal tokens make shared automation dependent on the employment status of one person.
Question 845
During an integration reliability review, the GitHub Enterprise administrators at Redbrook Pharmaceuticals document this problem: A workflow team increases runner capacity because a monthly bill rose, even though the runner queue stayed nearly empty. What security or operational principle explains the correct approach?
- Automation efficiency should preserve necessary verification while reducing avoidable execution
- License cost optimization should be evidence-led and sensitive to required access continuity
- Capacity decisions should be based on observed resource bottlenecks instead of bill size alone
- Optimize cost from attributable usage data rather than indiscriminate license removal
Explanation
Correct Answer
C:This principle explains the correct authorization or operational boundary at Redbrook Pharmaceuticals: Capacity decisions should be based on observed resource bottlenecks instead of bill size alone. It supports the narrower intervention to separate metered runner execution cost from queuing and measure utilization before resizing infrastructure.
Incorrect Answers
A:This principle may guide a situation where an overnight Actions test suite consumes large numbers of billed runner minutes despite negligible code changes. The controlling boundary at Redbrook Pharmaceuticals is different: high execution costs can be caused by repeated long-running jobs even when scheduling capacity is sufficient.
B:This principle may guide a situation where an enterprise buys additional seats although a substantial cohort has not used its assigned access for many months. The controlling boundary at Redbrook Pharmaceuticals is different: high execution costs can be caused by repeated long-running jobs even when scheduling capacity is sufficient.
D:This principle may guide a situation where finance sees rising costs but cannot identify which repositories or product types are producing billable usage. The controlling boundary at Redbrook Pharmaceuticals is different: high execution costs can be caused by repeated long-running jobs even when scheduling capacity is sufficient.
Question 846
In a separate engagement at Copperstone Energy during an application portfolio review, administrators evaluate this reported issue: An organization must operate its GitHub platform inside infrastructure it controls but architects assume a cloud tenant satisfies that requirement. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which root cause is most directly supported by these facts?
- Purchased capacity alone does not establish that a specific user account is provisioned and entitled in the correct enterprise
- GitHub Enterprise Cloud and GitHub Enterprise Server have different hosting and administrator responsibilities
- Organization membership totals are not necessarily equal to the count of unique licensed enterprise identities
- A deployment choice that relies on personally controlled accounts cannot satisfy a centrally managed identity policy
Explanation
Correct Answer
B:The case at Copperstone Energy is explained by this specific mechanism: GitHub Enterprise Cloud and GitHub Enterprise Server have different hosting and administrator responsibilities. That is why the corrective response is to assess GitHub Enterprise Server deployment, operations, updates and recovery obligations.
Incorrect Answers
A:That cause would be relevant where a merged business unit loses access to GitHub Enterprise even though it has available paid seats on paper. The observed evidence for Copperstone Energy instead points to the different mechanism: GitHub Enterprise Cloud and GitHub Enterprise Server have different hosting and administrator responsibilities.
C:That cause would be relevant where finance counts the same engineer twice as a distinct GitHub Enterprise license because the engineer belongs to two organizations. The observed evidence for Copperstone Energy instead points to the different mechanism: GitHub Enterprise Cloud and GitHub Enterprise Server have different hosting and administrator responsibilities.
D:That cause would be relevant where a business requires centrally provisioned users but chooses a personal-account GitHub Enterprise Cloud plan without checking identity requirements. The observed evidence for Copperstone Energy instead points to the different mechanism: GitHub Enterprise Cloud and GitHub Enterprise Server have different hosting and administrator responsibilities.
Question 847
In a separate engagement at Evergreen Robotics during a protected release readiness drill, administrators evaluate this reported issue: An enterprise buys additional seats although a substantial cohort has not used its assigned access for many months. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. What security or operational principle explains the correct approach?
- Capacity decisions should be based on observed resource bottlenecks instead of bill size alone
- Retention policy balances cost, reproducibility and compliance rather than deleting all historical artifacts
- Cloud developer environment cost requires usage-aware configuration alongside entitlement management
- License cost optimization should be evidence-led and sensitive to required access continuity
Explanation
Correct Answer
D:This principle explains the correct authorization or operational boundary at Evergreen Robotics: License cost optimization should be evidence-led and sensitive to required access continuity. It supports the narrower intervention to reconcile unique license assignment and appropriate activity before reclaiming genuinely unused entitlements.
Incorrect Answers
A:This principle may guide a situation where a workflow team increases runner capacity because a monthly bill rose, even though the runner queue stayed nearly empty. The controlling boundary at Evergreen Robotics is different: a paid license can remain assigned to an inactive user even when there is no justified continuing business need.
B:This principle may guide a situation where storage charges increase after release workflows retain duplicate large build artifacts much longer than necessary. The controlling boundary at Evergreen Robotics is different: a paid license can remain assigned to an inactive user even when there is no justified continuing business need.
C:This principle may guide a situation where an organization adds more GitHub Codespaces seats to solve a billing spike without investigating active compute sessions. The controlling boundary at Evergreen Robotics is different: a paid license can remain assigned to an inactive user even when there is no justified continuing business need.
Question 848
During an enterprise onboarding exercise, the GitHub Enterprise administrators at Seabright Foods document this problem: A central security team wants stronger default code security without individually enabling features on hundreds of new repositories. Which design rule best supports the required outcome under these conditions?
- Evidence of control operation requires enforceable technical gates and review provenance
- Security posture management at scale requires centrally governed configurations and tracked exceptions
- Policy exceptions must be narrowly authorized and observable rather than silently permanent
- Administrative changes require tamper-resistant, accessible audit evidence and traceable identities
Explanation
Correct Answer
B:This principle explains the correct authorization or operational boundary at Seabright Foods: Security posture management at scale requires centrally governed configurations and tracked exceptions. It supports the narrower intervention to apply suitable organization or enterprise code-security configurations at scale and verify repository coverage.
Incorrect Answers
A:This principle may guide a situation where a compliance team relies on developers' verbal assurances that pull requests were approved before merging. The controlling boundary at Seabright Foods is different: manually configuring every new repository allows inconsistent security feature adoption.
C:This principle may guide a situation where an enterprise policy exempts one build service from pull-request requirements but no one can explain why the bypass exists. The controlling boundary at Seabright Foods is different: manually configuring every new repository allows inconsistent security feature adoption.
D:This principle may guide a situation where a company cannot reconstruct who disabled a repository security policy during an incident because audit data was not retained centrally. The controlling boundary at Seabright Foods is different: manually configuring every new repository allows inconsistent security feature adoption.
Question 849
During an integration reliability review, the GitHub Enterprise administrators at Riverton Public Services document this problem: A security team cannot prove which workflow version built a package because build jobs reference mutable automation scripts. What security or operational principle explains the correct approach?
- Software supply-chain governance requires reproducible automation and evidence linking artifacts to execution
- Trust boundaries between reviewed code and external contributions must govern automation privileges
- Supply-chain reproducibility requires immutable dependency references and deliberate upgrades
- Per-job authorization should match the specific API operations needed by automation
Explanation
Correct Answer
A:This principle explains the correct authorization or operational boundary at Riverton Public Services: Software supply-chain governance requires reproducible automation and evidence linking artifacts to execution. It supports the narrower intervention to version and pin approved shared workflow components while retaining run, commit and artifact provenance.
Incorrect Answers
B:This principle may guide a situation where a pull-request workflow receives untrusted fork input and executes it with privileged write permissions. The controlling boundary at Riverton Public Services is different: unpinned shared workflow dependencies and missing provenance make a later release difficult to reproduce.
C:This principle may guide a situation where a deployment workflow uses a moving third-party action tag and unexpectedly changes behavior during a release. The controlling boundary at Riverton Public Services is different: unpinned shared workflow dependencies and missing provenance make a later release difficult to reproduce.
D:This principle may guide a situation where a CI workflow's default GITHUB_TOKEN can write repository content even though the job only needs to fetch code. The controlling boundary at Riverton Public Services is different: unpinned shared workflow dependencies and missing provenance make a later release difficult to reproduce.
Question 850
During a security governance workshop, the GitHub Enterprise administrators at Hillside Insurance document this problem: A CI workflow's default GITHUB_TOKEN can write repository content even though the job only needs to fetch code. What is the key technical reason for the described outcome?
- Mutable version references can resolve to changed executable action code without a change in the calling repository
- Workflow runs scheduled independently can contend for a single shared deployment target
- Unpinned shared workflow dependencies and missing provenance make a later release difficult to reproduce
- Overbroad default token grants give automation a write capability unrelated to its build requirement
Explanation
Correct Answer
D:The case at Hillside Insurance is explained by this specific mechanism: Overbroad default token grants give automation a write capability unrelated to its build requirement. That is why the corrective response is to set explicit least-privilege workflow or job token permissions consistent with read-only checkout.
Incorrect Answers
A:That cause would be relevant where a deployment workflow uses a moving third-party action tag and unexpectedly changes behavior during a release. The observed evidence for Hillside Insurance instead points to the different mechanism: overbroad default token grants give automation a write capability unrelated to its build requirement.
B:That cause would be relevant where several release jobs run simultaneously against the same production environment and overwrite each other's output. The observed evidence for Hillside Insurance instead points to the different mechanism: overbroad default token grants give automation a write capability unrelated to its build requirement.
C:That cause would be relevant where a security team cannot prove which workflow version built a package because build jobs reference mutable automation scripts. The observed evidence for Hillside Insurance instead points to the different mechanism: overbroad default token grants give automation a write capability unrelated to its build requirement.
GitHub Administration (GH-100) Practice Tests