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.
Question 851
In a separate engagement at Pinecrest Systems during a new internal service deployment, administrators evaluate this reported issue: A personal-account enterprise uses an external identity provider but weak developer passwords can still be used where an additional authentication factor is required. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which continuing practice would best reduce the likelihood of recurrence?
- Audit IdP assignments and GitHub organization memberships after each role change
- Document emergency access and regularly test authentication policy enforcement
- Rotate custodianship of recovery material and test it under a documented break-glass procedure
- Inventory integration ownership, rotate credentials and test deprovisioning effects
Explanation
Correct Answer
B:This sustained control addresses the observed failure at Pinecrest Systems: Document emergency access and regularly test authentication policy enforcement. The relevant weakness to prevent is that using a SAML sign-in flow does not automatically demonstrate that every identity pathway satisfies the required multifactor policy.
Incorrect Answers
A:This prevention fits a different exposure: A company using ordinary personal accounts has enabled SAML single sign-on but former employees still retain invitations to private organizations. It would not directly prevent the cause at Pinecrest Systems, which is that using a SAML sign-in flow does not automatically demonstrate that every identity pathway satisfies the required multifactor policy.
C: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 Pinecrest Systems, which is that using a SAML sign-in flow does not automatically demonstrate that every identity pathway satisfies the required multifactor policy.
D:This prevention fits a different exposure: A release bot uses a named engineer's personal access token and fails whenever that engineer is deprovisioned. It would not directly prevent the cause at Pinecrest Systems, which is that using a SAML sign-in flow does not automatically demonstrate that every identity pathway satisfies the required multifactor policy.
Question 852
In a separate engagement at Clearbridge Networks during a new internal service deployment, administrators evaluate this reported issue: A company cannot reconstruct who disabled a repository security policy during an incident because audit data was not retained centrally. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which acceptance result should the control owner require?
- The analyst can review required audit events and cannot modify enterprise authentication or policy settings
- A security coverage check detects enabled, functioning protections for the classified private repository
- A sample merged pull request retains required reviewer decisions and the protected-branch rule is effective
- A controlled policy change produces an attributable event with timestamp and actor in the retained security log
Explanation
Correct Answer
D:The proposed evidence directly tests the operating control at Clearbridge Networks: A controlled policy change produces an attributable event with timestamp and actor in the retained security log.
Incorrect Answers
A:This observation would validate another issue: Security administrators grant enterprise owner status broadly so a compliance analyst can read audit logs. It does not establish the required result at Clearbridge Networks: a controlled policy change produces an attributable event with timestamp and actor in the retained security log.
B:This observation would validate another issue: A team insists that a private repository is secure solely because it is hidden from the public, while advanced scanning remains disabled. It does not establish the required result at Clearbridge Networks: a controlled policy change produces an attributable event with timestamp and actor in the retained security log.
C:This observation would validate another issue: A compliance team relies on developers' verbal assurances that pull requests were approved before merging. It does not establish the required result at Clearbridge Networks: a controlled policy change produces an attributable event with timestamp and actor in the retained security log.
Question 853
During a developer platform migration, the GitHub Enterprise administrators at Crosswind Aviation document this problem: An engineer removed from a project team still opens a sensitive repository because a second team inherits a separate grant. Which ongoing control would most directly prevent this weakness returning?
- Reassess delegated roles after workflow changes and retire grants no longer needed
- Regularly reconcile enterprise and organization team membership with business ownership
- Periodically review custom role privilege grants against the team's responsibilities
- Add multi-source access reconciliation to offboarding and project role transitions
Explanation
Correct Answer
D:This sustained control addresses the observed failure at Crosswind Aviation: Add multi-source access reconciliation to offboarding and project role transitions. The relevant weakness to prevent is that revoking one team path cannot revoke other grants that still authorize access to the resource.
Incorrect Answers
A:This prevention fits a different exposure: A support analyst is granted broad organization owner rights merely to manage repository labels and triage pull requests. It would not directly prevent the cause at Crosswind Aviation, which is that revoking one team path cannot revoke other grants that still authorize access to the resource.
B:This prevention fits a different exposure: Teams across multiple enterprise organizations are maintained through disconnected spreadsheets and access becomes inconsistent. It would not directly prevent the cause at Crosswind Aviation, which is that revoking one team path cannot revoke other grants that still authorize access to the resource.
C:This prevention fits a different exposure: An enterprise owner is repeatedly asked to grant security staff full ownership only so they can review audit records. It would not directly prevent the cause at Crosswind Aviation, which is that revoking one team path cannot revoke other grants that still authorize access to the resource.
Question 854
In a separate engagement at Willowbrook Finance during a fresh service-integrator assessment, administrators evaluate this reported issue: Finance counts the same engineer twice as a distinct GitHub Enterprise license because the engineer belongs to two organizations. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which continuing practice would best reduce the likelihood of recurrence?
- Include entitlement assignment and account deprovisioning in acquisition onboarding controls
- Automate periodic reconciliation of license records and organizational rosters
- Put identity ownership and SCIM prerequisites into the architecture selection checklist
- Maintain a GHES lifecycle and support plan before production adoption
Explanation
Correct Answer
B:This sustained control addresses the observed failure at Willowbrook Finance: Automate periodic reconciliation of license records and organizational rosters. The relevant weakness to prevent is that organization membership totals are not necessarily equal to the count of unique licensed enterprise identities.
Incorrect Answers
A:This prevention fits a different exposure: A merged business unit loses access to GitHub Enterprise even though it has available paid seats on paper. It would not directly prevent the cause at Willowbrook Finance, which is that organization membership totals are not necessarily equal to the count of unique licensed enterprise identities.
C:This prevention fits a different exposure: A business requires centrally provisioned users but chooses a personal-account GitHub Enterprise Cloud plan without checking identity requirements. It would not directly prevent the cause at Willowbrook Finance, which is that organization membership totals are not necessarily equal to the count of unique licensed enterprise identities.
D:This prevention fits a different exposure: An organization must operate its GitHub platform inside infrastructure it controls but architects assume a cloud tenant satisfies that requirement. It would not directly prevent the cause at Willowbrook Finance, which is that organization membership totals are not necessarily equal to the count of unique licensed enterprise identities.
Question 855
During a shared workflow modernization, the GitHub Enterprise administrators at Lighthouse Publishing document this problem: A staging job accidentally receives a production credential because environment-specific deployments reuse the same secret name. What evidence would most directly prove that the corrective change works?
- A controlled run contains no sensitive credential data while the deployment still authenticates
- The deployment uses the intended rotated secret after precedence and environment configuration are corrected
- Only jobs targeting the protected production environment obtain the production secret after required controls
- The callee receives the permitted required secret and rejects invocation without it
Explanation
Correct Answer
C:The proposed evidence directly tests the operating control at Lighthouse Publishing: Only jobs targeting the protected production environment obtain the production secret after required controls.
Incorrect Answers
A:This observation would validate another issue: A service credential is printed into a workflow debug log because the team assumes GitHub always redacts transformed secrets. It does not establish the required result at Lighthouse Publishing: only jobs targeting the protected production environment obtain the production secret after required controls.
B:This observation would validate another issue: A deployment job appears to use an outdated credential after the organization rotated its repository secret. It does not establish the required result at Lighthouse Publishing: only jobs targeting the protected production environment obtain the production secret after required controls.
D:This observation would validate another issue: A reusable deployment workflow receives an empty credential and proceeds to fail unpredictably because the caller never passed the secret. It does not establish the required result at Lighthouse Publishing: only jobs targeting the protected production environment obtain the production secret after required controls.
Question 856
During a pre-release control review, the GitHub Enterprise administrators at Cedarwood Banking document this problem: A regulated company requires every developer identity to be provisioned and suspended centrally but staff continue contributing through personally owned GitHub accounts. Which observation would best verify resolution of this exact problem?
- A controlled disaster-recovery exercise allows an authorized owner to reach required settings through documented recovery methods
- Provisioning and deprovisioning through the identity provider determine access for the enterprise managed identities
- Pilot users retain expected identity, authentication and team access through the staged supported change
- Adding and removing a test identity in the provisioned IdP group changes the linked team membership
Explanation
Correct Answer
B:The proposed evidence directly tests the operating control at Cedarwood Banking: Provisioning and deprovisioning through the identity provider determine access for the enterprise managed identities.
Incorrect Answers
A:This observation would validate another issue: GitHub organization owners could lose administrative access if the external identity provider goes offline during a critical release. It does not establish the required result at Cedarwood Banking: provisioning and deprovisioning through the identity provider determine access for the enterprise managed identities.
C:This observation would validate another issue: A large enterprise migrates identity providers and risks disconnecting managed-user access during a cutover. It does not establish the required result at Cedarwood Banking: provisioning and deprovisioning through the identity provider determine access for the enterprise managed identities.
D:This observation would validate another issue: An enterprise with managed users tries to enable the ordinary SAML team synchronization feature because developers need IdP group membership reflected in GitHub teams. It does not establish the required result at Cedarwood Banking: provisioning and deprovisioning through the identity provider determine access for the enterprise managed identities.
Question 857
In a separate engagement at Blueharbor Technology during a newly acquired team onboarding, administrators evaluate this reported issue: A security program measures only the number of purchased security licenses while many repositories have no active scans. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which mechanism best explains why the observed approach fails?
- Short-lived or siloed local logs can leave insufficient evidence for retrospective administrative investigation
- An entitlement purchase does not prove that code scanning or secret protections are actually running where needed
- Manually configuring every new repository allows inconsistent security feature adoption
- Independent organization settings can create visibility or governance gaps across the enterprise boundary
Explanation
Correct Answer
B:The case at Blueharbor Technology is explained by this specific mechanism: An entitlement purchase does not prove that code scanning or secret protections are actually running where needed. That is why the corrective response is to use security overview and configuration coverage to prioritize unprotected repositories and remediate enablement gaps.
Incorrect Answers
A:That cause would be relevant where a company cannot reconstruct who disabled a repository security policy during an incident because audit data was not retained centrally. The observed evidence for Blueharbor Technology instead points to the different mechanism: an entitlement purchase does not prove that code scanning or secret protections are actually running where needed.
C:That cause would be relevant where a central security team wants stronger default code security without individually enabling features on hundreds of new repositories. The observed evidence for Blueharbor Technology instead points to the different mechanism: an entitlement purchase does not prove that code scanning or secret protections are actually running where needed.
D:That cause would be relevant where a newly acquired subsidiary uses permissive repository creation rules that conflict with the parent enterprise's internal-data policy. The observed evidence for Blueharbor Technology instead points to the different mechanism: an entitlement purchase does not prove that code scanning or secret protections are actually running where needed.
Question 858
During a compliance evidence walkthrough, the GitHub Enterprise administrators at Summit Media document this problem: Several release jobs run simultaneously against the same production environment and overwrite each other's output. What should the responsible platform team implement first to address the core constraint?
- Use an appropriate GitHub Actions concurrency group and an approved deployment coordination policy
- Pin externally supplied actions to a trusted commit SHA after reviewing the approved implementation
- Declare required workflow_call inputs and secrets in the callee and explicitly pass them from the authorized caller
- Restrict workflow token permissions and prevent privileged secrets or deployment rights from being exposed to untrusted pull-request code
Explanation
Correct Answer
A:For Summit Media, this is targeted at the root control failure: Workflow runs scheduled independently can contend for a single shared deployment target. Verify the repair by requiring that a test sequence limits overlapping deployments and leaves production at the intended release version.
Incorrect Answers
B:This action is for a different documented failure: A deployment workflow uses a moving third-party action tag and unexpectedly changes behavior during a release. It does not fix the decisive constraint at Summit Media, where workflow runs scheduled independently can contend for a single shared deployment target.
C: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 Summit Media, where workflow runs scheduled independently can contend for a single shared deployment target.
D:This action is for a different documented failure: A pull-request workflow receives untrusted fork input and executes it with privileged write permissions. It does not fix the decisive constraint at Summit Media, where workflow runs scheduled independently can contend for a single shared deployment target.
Question 859
In a separate engagement at Marshlight Commerce during an operational controls validation, administrators evaluate this reported issue: Workflow jobs remain queued for hours even though new self-hosted machines have been provisioned. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which ongoing control would most directly prevent this weakness returning?
- Monitor per-run queue versus execution duration and runner resource trends
- Maintain VNET runner configuration and test the service path during network changes
- Monitor runner heartbeat, label drift and queue age for each workload class
- Validate runner egress after runner image or infrastructure changes
Explanation
Correct Answer
C:This sustained control addresses the observed failure at Marshlight Commerce: Monitor runner heartbeat, label drift and queue age for each workload class. The relevant weakness to prevent is that provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow.
Incorrect Answers
A:This prevention fits a different exposure: A runner fleet shows intermittent slow builds but administrators purchase more machines without examining utilization. It would not directly prevent the cause at Marshlight Commerce, which is that provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow.
B:This prevention fits a different exposure: An enterprise needs GitHub-hosted CI jobs to reach a private Azure service without exposing that service to the internet. It would not directly prevent the cause at Marshlight Commerce, which is that provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow.
D:This prevention fits a different exposure: Security policy restricts outbound IP addresses but a team assumes all standard GitHub-hosted runners use one stable public address. It would not directly prevent the cause at Marshlight Commerce, which is that provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow.
Question 860
In a separate engagement at Pinecrest Systems during a new internal service deployment, administrators evaluate this reported issue: Security reviewers discover that a published source repository contains an API token, despite periodic code scanning. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. What durable safeguard addresses this exact class of failure?
- Add dependency-health gates and monitor newly published advisories after release
- Review changes in coverage, critical alerts and remediation latency regularly
- Require dependency review on high-risk repositories and track recurring vulnerable upgrades
- Enable secret scanning coverage and teach developers safe secret storage
Explanation
Correct Answer
D:This sustained control addresses the observed failure at Pinecrest Systems: Enable secret scanning coverage and teach developers safe secret storage. The relevant weakness to prevent is that code vulnerability scanning and dependency checks do not replace dedicated credential-pattern detection.
Incorrect Answers
A:This prevention fits a different exposure: A repository passes every code-scanning job but deploys a dependency known to be vulnerable. It would not directly prevent the cause at Pinecrest Systems, which is that code vulnerability scanning and dependency checks do not replace dedicated credential-pattern detection.
B:This prevention fits a different exposure: Organization security leadership cannot identify which teams have the most unresolved secret and code-scanning alerts. It would not directly prevent the cause at Pinecrest Systems, which is that code vulnerability scanning and dependency checks do not replace dedicated credential-pattern detection.
C:This prevention fits a different exposure: An internal library upgrade adds a transitive vulnerable package but reviewers see only the changed dependency manifest. It would not directly prevent the cause at Pinecrest Systems, which is that code vulnerability scanning and dependency checks do not replace dedicated credential-pattern detection.
GitHub Administration (GH-100) Practice Tests