Question 950
In a separate engagement at Aspen Municipal Services during a separate incident-replay exercise, administrators evaluate this reported issue: A staging job accidentally receives a production credential because environment-specific deployments reuse the same secret name. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which design rule best supports the required outcome under these conditions?
- Environment selection and approval are part of deployment credential authorization
- Avoid producing secret material in output rather than relying solely on masking after exposure
- Credential troubleshooting must account for the hierarchy of configured secret scopes
- Reusable automation secret dependencies must be declared and intentionally conveyed across call boundaries
Explanation
Correct Answer
A:This principle explains the correct authorization or operational boundary at Aspen Municipal Services: Environment selection and approval are part of deployment credential authorization. It supports the narrower intervention to use protected environments and correctly scoped environment secrets, verifying selection by the job.
Incorrect Answers
B:This principle may guide a situation where a service credential is printed into a workflow debug log because the team assumes GitHub always redacts transformed secrets. The controlling boundary at Aspen Municipal Services is different: a deployment job without the intended environment context can select the wrong secret scope or permissions.
C:This principle may guide a situation where a deployment job appears to use an outdated credential after the organization rotated its repository secret. The controlling boundary at Aspen Municipal Services is different: a deployment job without the intended environment context can select the wrong secret scope or permissions.
D:This principle may guide a situation where a reusable deployment workflow receives an empty credential and proceeds to fail unpredictably because the caller never passed the secret. The controlling boundary at Aspen Municipal Services is different: a deployment job without the intended environment context can select the wrong secret scope or permissions.
Question 951
In a separate engagement at Clearbridge Networks during a new internal service deployment, administrators evaluate this reported issue: A reporting script starts receiving HTTP 403 rate-limit responses and the team attempts to grant organization owner rights. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. What evidence would most directly prove that the corrective change works?
- The integration succeeds after a test employee offboarding and uses only its approved installation permissions
- The script reduces request volume and succeeds without a broader administrative permission grant
- API tests succeed for three approved repositories and fail for an unrelated private repository
- The access review identifies each integration owner and removes unapproved repository permissions
Explanation
Correct Answer
B:The proposed evidence directly tests the operating control at Clearbridge Networks: The script reduces request volume and succeeds without a broader administrative permission grant.
Incorrect Answers
A:This observation would validate another issue: Several organizations depend on a departing engineer's long-lived PAT for scheduled automation. It does not establish the required result at Clearbridge Networks: the script reduces request volume and succeeds without a broader administrative permission grant.
C:This observation would validate another issue: An app can access hundreds of repositories even though it only needs deployment metadata for three. It does not establish the required result at Clearbridge Networks: the script reduces request volume and succeeds without a broader administrative permission grant.
D:This observation would validate another issue: A security administrator cannot identify which external integrations have gained access to highly confidential repositories. It does not establish the required result at Clearbridge Networks: the script reduces request volume and succeeds without a broader administrative permission grant.
Question 952
In a separate engagement at Meadowlink Research during a scheduled identity-system transition, administrators evaluate this reported issue: A business requires centrally provisioned users but chooses a personal-account GitHub Enterprise Cloud plan without checking identity requirements. 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?
- Select an Enterprise Managed Users supported deployment and validate identity-provider integration early
- Reconcile unique enterprise users and license usage in GitHub billing and licensing reports
- Reconcile account assignments, license synchronization and identity provisioning for the affected users
- Evaluate GitHub Enterprise Cloud with Data Residency and its supported managed-user configuration
Explanation
Correct Answer
A:For Meadowlink Research, this is targeted at the root control failure: A deployment choice that relies on personally controlled accounts cannot satisfy a centrally managed identity policy. Verify the repair by requiring that a pilot demonstrates managed identities provisioned, authenticated and revoked through the IdP.
Incorrect Answers
B:This action is for a different documented failure: Finance counts the same engineer twice as a distinct GitHub Enterprise license because the engineer belongs to two organizations. It does not fix the decisive constraint at Meadowlink Research, where a deployment choice that relies on personally controlled accounts cannot satisfy a centrally managed identity policy.
C:This action is for a different documented failure: A merged business unit loses access to GitHub Enterprise even though it has available paid seats on paper. It does not fix the decisive constraint at Meadowlink Research, where a deployment choice that relies on personally controlled accounts cannot satisfy a centrally managed identity policy.
D:This action is for a different documented failure: A regulated enterprise needs a documented data-residency deployment and assumes the usual GitHub.com account is identical to GHE.com. It does not fix the decisive constraint at Meadowlink Research, where a deployment choice that relies on personally controlled accounts cannot satisfy a centrally managed identity policy.
Question 953
During an enterprise onboarding exercise, the GitHub Enterprise administrators at Meridian Aerospace document this problem: A repository with unusual build requirements cannot run the default CodeQL setup successfully. Which administrator action most directly resolves this specific failure?
- Enable and act on Dependabot alerts and dependency inventory as complements to CodeQL analysis
- Use an appropriate advanced CodeQL scanning configuration with required build and language settings
- Implement an accountable alert triage and security response process with severity, ownership and remediation verification
- Enable supported secret scanning and an incident response workflow to revoke and replace detected exposed credentials
Explanation
Correct Answer
B:For Meridian Aerospace, this is targeted at the root control failure: Default automatic build discovery may not suit a repository with specialized compilation steps. Verify the repair by requiring that a scanning run completes on the target language and reports results for the intended code paths.
Incorrect Answers
A:This action is for a different documented failure: A repository passes every code-scanning job but deploys a dependency known to be vulnerable. It does not fix the decisive constraint at Meridian Aerospace, where default automatic build discovery may not suit a repository with specialized compilation steps.
C:This action is for a different documented failure: Critical code scanning alerts remain unresolved for months because teams never determine who owns each finding. It does not fix the decisive constraint at Meridian Aerospace, where default automatic build discovery may not suit a repository with specialized compilation steps.
D:This action is for a different documented failure: Security reviewers discover that a published source repository contains an API token, despite periodic code scanning. It does not fix the decisive constraint at Meridian Aerospace, where default automatic build discovery may not suit a repository with specialized compilation steps.
Question 954
In a separate engagement at Baypoint Travel during an application portfolio review, administrators evaluate this reported issue: A team sees an API authorization failure and assumes the token is expired without checking repository permissions. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. What security or operational principle explains the correct approach?
- Solve quota constraints through request efficiency and appropriate integration design, not privilege escalation
- Integration inventory is part of enterprise identity and access governance
- Diagnose authentication and authorization separately to avoid unsafe broad token replacement
- Third-party OAuth authorization requires enterprise governance and least-privilege review
Explanation
Correct Answer
C:This principle explains the correct authorization or operational boundary at Baypoint Travel: Diagnose authentication and authorization separately to avoid unsafe broad token replacement. It supports the narrower intervention to inspect token validity, granted scopes or installation permissions, repository access and SSO authorization separately.
Incorrect Answers
A:This principle may guide a situation where a reporting script starts receiving HTTP 403 rate-limit responses and the team attempts to grant organization owner rights. The controlling boundary at Baypoint Travel is different: an otherwise valid token may still lack permission for the targeted repository or organization.
B:This principle may guide a situation where a security administrator cannot identify which external integrations have gained access to highly confidential repositories. The controlling boundary at Baypoint Travel is different: an otherwise valid token may still lack permission for the targeted repository or organization.
D:This principle may guide a situation where an unreviewed OAuth app asks enterprise users for extensive account access despite limited business justification. The controlling boundary at Baypoint Travel is different: an otherwise valid token may still lack permission for the targeted repository or organization.
Question 955
During a pre-release control review, the GitHub Enterprise administrators at Cedarwood Banking document this problem: Five repositories copy the same release pipeline YAML and critical security fixes drift between copies. What durable safeguard addresses this exact class of failure?
- Version reusable workflow references and regularly review downstream consumers
- Add contract tests and documentation for each reusable workflow version
- Automate approved action version review and update pinned SHAs through pull requests
- Lint workflow permissions and review elevated token requests during code review
Explanation
Correct Answer
A:This sustained control addresses the observed failure at Cedarwood Banking: Version reusable workflow references and regularly review downstream consumers. The relevant weakness to prevent is that duplicating complete workflows creates independent maintenance and governance paths for identical release logic.
Incorrect Answers
B:This prevention fits a different exposure: A reusable release workflow fails because it expects an input and secret that the calling project never provides. It would not directly prevent the cause at Cedarwood Banking, which is that duplicating complete workflows creates independent maintenance and governance paths for identical release logic.
C:This prevention fits a different exposure: A deployment workflow uses a moving third-party action tag and unexpectedly changes behavior during a release. It would not directly prevent the cause at Cedarwood Banking, which is that duplicating complete workflows creates independent maintenance and governance paths for identical release logic.
D:This prevention fits a different exposure: A CI workflow's default GITHUB_TOKEN can write repository content even though the job only needs to fetch code. It would not directly prevent the cause at Cedarwood Banking, which is that duplicating complete workflows creates independent maintenance and governance paths for identical release logic.
Question 956
In a separate engagement at Baypoint Travel during an application portfolio review, administrators evaluate this reported issue: An enterprise policy exempts one build service from pull-request requirements but no one can explain why the bypass exists. 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?
- Track repository coverage and scan health alongside security product entitlements
- Set exception expiry reviews and monitor their use in enterprise audit logs
- Routinely sample merges and compare them against configured approval requirements
- Review custom role assignments regularly and remove expired audit-review grants
Explanation
Correct Answer
B:This sustained control addresses the observed failure at Baypoint Travel: Set exception expiry reviews and monitor their use in enterprise audit logs. The relevant weakness to prevent is that unbounded or undocumented bypass actors permit changes outside the normal code-review control.
Incorrect Answers
A:This prevention fits a different exposure: A security program measures only the number of purchased security licenses while many repositories have no active scans. It would not directly prevent the cause at Baypoint Travel, which is that unbounded or undocumented bypass actors permit changes outside the normal code-review control.
C:This prevention fits a different exposure: A compliance team relies on developers' verbal assurances that pull requests were approved before merging. It would not directly prevent the cause at Baypoint Travel, which is that unbounded or undocumented bypass actors permit changes outside the normal code-review control.
D:This prevention fits a different exposure: Security administrators grant enterprise owner status broadly so a compliance analyst can read audit logs. It would not directly prevent the cause at Baypoint Travel, which is that unbounded or undocumented bypass actors permit changes outside the normal code-review control.
Question 957
In a separate engagement at Baypoint Travel during an application portfolio review, administrators evaluate this reported issue: A team sees an API authorization failure and assumes the token is expired without checking repository permissions. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. What evidence would most directly prove that the corrective change works?
- The access review identifies each integration owner and removes unapproved repository permissions
- A least-privilege corrected grant enables only the intended API operation while unrelated access remains denied
- Unapproved app access is blocked and an authorized approved integration demonstrates limited necessary permissions
- The script reduces request volume and succeeds without a broader administrative permission grant
Explanation
Correct Answer
B:The proposed evidence directly tests the operating control at Baypoint Travel: A least-privilege corrected grant enables only the intended API operation while unrelated access remains denied.
Incorrect Answers
A:This observation would validate another issue: A security administrator cannot identify which external integrations have gained access to highly confidential repositories. It does not establish the required result at Baypoint Travel: a least-privilege corrected grant enables only the intended API operation while unrelated access remains denied.
C:This observation would validate another issue: An unreviewed OAuth app asks enterprise users for extensive account access despite limited business justification. It does not establish the required result at Baypoint Travel: a least-privilege corrected grant enables only the intended API operation while unrelated access remains denied.
D:This observation would validate another issue: A reporting script starts receiving HTTP 403 rate-limit responses and the team attempts to grant organization owner rights. It does not establish the required result at Baypoint Travel: a least-privilege corrected grant enables only the intended API operation while unrelated access remains denied.
Question 958
In a separate engagement at Stonehaven Freight during a newly acquired team onboarding, administrators evaluate this reported issue: A security team proposes self-hosted runners for every open-source pull request because the machines are faster. 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?
- Track runner image compatibility, patching and resource saturation for specialized workloads
- Maintain VNET runner configuration and test the service path during network changes
- Maintain separate runner policies for public and private repository execution
- Revalidate network requirements during firewall change reviews
Explanation
Correct Answer
C:This sustained control addresses the observed failure at Stonehaven Freight: Maintain separate runner policies for public and private repository execution. The relevant weakness to prevent is that untrusted pull-request code can compromise persistent self-hosted infrastructure or reach internal resources.
Incorrect Answers
A:This prevention fits a different exposure: A specialized build needs custom hardware and persistent local toolchains not available on standard hosted runners. It would not directly prevent the cause at Stonehaven Freight, which is that untrusted pull-request code can compromise persistent self-hosted infrastructure or reach internal resources.
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 Stonehaven Freight, which is that untrusted pull-request code can compromise persistent self-hosted infrastructure or reach internal resources.
D:This prevention fits a different exposure: An on-premises runner can no longer connect to GitHub after a corporate firewall change but its host operating system is healthy. It would not directly prevent the cause at Stonehaven Freight, which is that untrusted pull-request code can compromise persistent self-hosted infrastructure or reach internal resources.
Question 959
In a separate engagement at Aurora Construction during a second independent platform rollout, administrators evaluate this reported issue: Several private repositories accept direct changes to protected branches because security owners cannot apply a consistent review policy. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which mechanism best explains why the observed approach fails?
- Repository-level discretion can defeat enterprise onboarding and external-access review requirements
- Repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement
- Visibility restrictions do not analyze vulnerable code, compromised dependencies or accidentally committed credentials
- Informal assertions cannot prove code changes met the approval gate at merge time
Explanation
Correct Answer
B:The case at Aurora Construction is explained by this specific mechanism: Repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement. That is why the corrective response is to create an enforceable organization or enterprise ruleset targeting the affected branches and repositories.
Incorrect Answers
A:That cause would be relevant where sensitive repository owners can add outside collaborators despite a company policy requiring centralized review. The observed evidence for Aurora Construction instead points to the different mechanism: repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement.
C:That cause would be relevant where a team insists that a private repository is secure solely because it is hidden from the public, while advanced scanning remains disabled. The observed evidence for Aurora Construction instead points to the different mechanism: repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement.
D:That cause would be relevant where a compliance team relies on developers' verbal assurances that pull requests were approved before merging. The observed evidence for Aurora Construction instead points to the different mechanism: repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement.
Question 960
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 root cause is most directly supported by these facts?
- Default public runner networking cannot directly satisfy a private-only service endpoint without an explicit network path
- Standard hosted runner networking is not necessarily a single fixed outbound IP range suitable for narrow network allow lists
- Long total workflow time may come from queueing, underprovisioned resources or inefficient tasks rather than instance count alone
- Provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow
Explanation
Correct Answer
D:The case at Marshlight Commerce is explained by this specific mechanism: Provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow. That is why the corrective response is to check runner labels, runner group access and online status against the jobs' runs-on selectors.
Incorrect Answers
A:That cause would be relevant where an enterprise needs GitHub-hosted CI jobs to reach a private Azure service without exposing that service to the internet. The observed evidence for Marshlight Commerce instead points to the different mechanism: provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow.
B:That cause would be relevant where security policy restricts outbound IP addresses but a team assumes all standard GitHub-hosted runners use one stable public address. The observed evidence for Marshlight Commerce instead points to the different mechanism: provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow.
C:That cause would be relevant where a runner fleet shows intermittent slow builds but administrators purchase more machines without examining utilization. The observed evidence for Marshlight Commerce instead points to the different mechanism: provisioned capacity cannot accept a job unless its registration, labels and access policy match the workflow.
GitHub Administration (GH-100) Practice Tests