Question 720
During a quarterly access audit, the GitHub Enterprise administrators at Oakline Analytics document this problem: Several private repositories accept direct changes to protected branches because security owners cannot apply a consistent review policy. Which targeted change best satisfies the stated enterprise requirement?
- Create an enforceable organization or enterprise ruleset targeting the affected branches and repositories
- Enforce compatible review requirements through rulesets and retain auditable pull-request approval records
- Configure the supported organization or enterprise repository and membership policies to restrict the relevant invitation path
- Evaluate repository classification and enable eligible secret protection and code security capabilities consistent with its risk level
Explanation
Correct Answer
A:For Oakline Analytics, this is targeted at the root control failure: Repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement. Verify the repair by requiring that a simulated direct push to a protected branch is blocked across the intended repository sample.
Incorrect Answers
B:This action is for a different documented failure: A compliance team relies on developers' verbal assurances that pull requests were approved before merging. It does not fix the decisive constraint at Oakline Analytics, where repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement.
C:This action is for a different documented failure: Sensitive repository owners can add outside collaborators despite a company policy requiring centralized review. It does not fix the decisive constraint at Oakline Analytics, where repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement.
D:This action is for a different documented failure: 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 fix the decisive constraint at Oakline Analytics, where repository-specific exceptions and missing branch protection leave gaps in a shared governance requirement.
Question 721
During a security governance workshop, the GitHub Enterprise administrators at Hillside Insurance document this problem: An enterprise with managed users tries to enable the ordinary SAML team synchronization feature because developers need IdP group membership reflected in GitHub teams. Which enterprise-administration principle most directly governs this decision?
- Evaluate SSO and multifactor authentication as complementary but separately verified controls
- Select the group-membership integration that matches the enterprise identity model
- Managed-user provisioning and SSO are distinct setup responsibilities
- Authenticate the user and authorize the specific credential for the protected organization
Explanation
Correct Answer
B:This principle explains the correct authorization or operational boundary at Hillside Insurance: Select the group-membership integration that matches the enterprise identity model. It supports the narrower intervention to link managed enterprise teams to IdP groups through the Enterprise Managed Users SCIM group integration.
Incorrect Answers
A:This principle may guide a situation where a personal-account enterprise uses an external identity provider but weak developer passwords can still be used where an additional authentication factor is required. The controlling boundary at Hillside Insurance is different: the SAML team synchronization mechanism for personal-account enterprises is not the required group-mapping path for Enterprise Managed Users.
C:This principle may guide a situation where an Enterprise Managed Users deployment authenticates correctly but newly hired engineers never appear as enterprise users. The controlling boundary at Hillside Insurance is different: the SAML team synchronization mechanism for personal-account enterprises is not the required group-mapping path for Enterprise Managed Users.
D:This principle may guide a situation where a developer with valid SAML browser access receives authorization failures when a Git credential or API token accesses an organization that enforces SSO. The controlling boundary at Hillside Insurance is different: the SAML team synchronization mechanism for personal-account enterprises is not the required group-mapping path for Enterprise Managed Users.
Question 722
In a separate engagement at Marshlight Commerce during an operational controls validation, administrators evaluate this reported issue: A consultant no longer works on a project but still has direct outside-collaborator access to its private repository. 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?
- Review contractor expiration dates and outside-collaborator membership on a schedule
- Continuously audit ruleset coverage and exceptions when new repositories are created
- Regularly reconcile enterprise and organization team membership with business ownership
- Include baseline organization permissions in routine access posture checks
Explanation
Correct Answer
A:This sustained control addresses the observed failure at Marshlight Commerce: Review contractor expiration dates and outside-collaborator membership on a schedule. The relevant weakness to prevent is that removing an employee from an internal team will not necessarily remove a separate outside-collaborator grant.
Incorrect Answers
B:This prevention fits a different exposure: A protected default branch can still be force-pushed because repositories use inconsistent locally edited branch settings. It would not directly prevent the cause at Marshlight Commerce, which is that removing an employee from an internal team will not necessarily remove a separate outside-collaborator grant.
C: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 Marshlight Commerce, which is that removing an employee from an internal team will not necessarily remove a separate outside-collaborator grant.
D:This prevention fits a different exposure: Every new organization member can read more repositories than intended because the organization base permission is broad. It would not directly prevent the cause at Marshlight Commerce, which is that removing an employee from an internal team will not necessarily remove a separate outside-collaborator grant.
Question 723
During an integration reliability review, the GitHub Enterprise administrators at Redbrook Pharmaceuticals document this problem: An on-premises runner can no longer connect to GitHub after a corporate firewall change but its host operating system is healthy. Which design rule best supports the required outcome under these conditions?
- Runner trust level must reflect the source of executable workflow code, not just performance needs
- Runner availability depends on both local host health and its authenticated connection to GitHub
- Capacity optimization requires identifying which stage limits throughput
- Ephemeral execution limits cross-job contamination when running enterprise-owned workloads
Explanation
Correct Answer
B:This principle explains the correct authorization or operational boundary at Redbrook Pharmaceuticals: Runner availability depends on both local host health and its authenticated connection to GitHub. It supports the narrower intervention to validate required outbound connectivity and supported endpoints for the runner service.
Incorrect Answers
A:This principle may guide a situation where a security team proposes self-hosted runners for every open-source pull request because the machines are faster. The controlling boundary at Redbrook Pharmaceuticals is different: a healthy machine cannot receive jobs if network controls block the runner's required service connection.
C:This principle may guide a situation where a runner fleet shows intermittent slow builds but administrators purchase more machines without examining utilization. The controlling boundary at Redbrook Pharmaceuticals is different: a healthy machine cannot receive jobs if network controls block the runner's required service connection.
D:This principle may guide a situation where a build-farm autoscaler reuses long-lived self-hosted runners and residual workspace files appear in later jobs. The controlling boundary at Redbrook Pharmaceuticals is different: a healthy machine cannot receive jobs if network controls block the runner's required service connection.
Question 724
In a separate engagement at Rainforest Devices during a second independent platform rollout, administrators evaluate this reported issue: An application pipeline stores a long-lived cloud provider access key in GitHub secrets despite the cloud supporting federated authentication. 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?
- Avoid ambiguous duplicate secret names and document environment-specific ownership
- Audit workflow debug modes and prohibit diagnostic commands that reveal credentials
- Review environment protection rules and bypass permissions on a schedule
- Audit OIDC trust conditions and credential issuance after workflow changes
Explanation
Correct Answer
D:This sustained control addresses the observed failure at Rainforest Devices: Audit OIDC trust conditions and credential issuance after workflow changes. The relevant weakness to prevent is that a static long-lived key increases exposure and rotation burden when a federated workload identity exchange is supported.
Incorrect Answers
A:This prevention fits a different exposure: A deployment job appears to use an outdated credential after the organization rotated its repository secret. It would not directly prevent the cause at Rainforest Devices, which is that a static long-lived key increases exposure and rotation burden when a federated workload identity exchange is supported.
B:This prevention fits a different exposure: A service credential is printed into a workflow debug log because the team assumes GitHub always redacts transformed secrets. It would not directly prevent the cause at Rainforest Devices, which is that a static long-lived key increases exposure and rotation burden when a federated workload identity exchange is supported.
C:This prevention fits a different exposure: Production deployment credentials are released before any human approves a high-risk release. It would not directly prevent the cause at Rainforest Devices, which is that a static long-lived key increases exposure and rotation burden when a federated workload identity exchange is supported.
Question 725
During a quarterly access audit, the GitHub Enterprise administrators at Harborline Healthcare document this problem: A company using ordinary personal accounts has enabled SAML single sign-on but former employees still retain invitations to private organizations. Which ongoing control would most directly prevent this weakness returning?
- Inventory integration ownership, rotate credentials and test deprovisioning effects
- Audit IdP assignments and GitHub organization memberships after each role change
- Include token authorization checks in developer onboarding and security incident diagnostics
- Test onboarding and offboarding through the supported identity-provider provisioning integration
Explanation
Correct Answer
B:This sustained control addresses the observed failure at Harborline Healthcare: Audit IdP assignments and GitHub organization memberships after each role change. The relevant weakness to prevent is that SAML proves sign-in identity but does not by itself reconcile every membership change or remove stale organization invitations.
Incorrect Answers
A: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 Harborline Healthcare, which is that SAML proves sign-in identity but does not by itself reconcile every membership change or remove stale organization invitations.
C:This prevention fits a different exposure: A developer with valid SAML browser access receives authorization failures when a Git credential or API token accesses an organization that enforces SSO. It would not directly prevent the cause at Harborline Healthcare, which is that SAML proves sign-in identity but does not by itself reconcile every membership change or remove stale organization invitations.
D:This prevention fits a different exposure: A regulated company requires every developer identity to be provisioned and suspended centrally but staff continue contributing through personally owned GitHub accounts. It would not directly prevent the cause at Harborline Healthcare, which is that SAML proves sign-in identity but does not by itself reconcile every membership change or remove stale organization invitations.
Question 726
During a shared workflow modernization, the GitHub Enterprise administrators at Silvercrest Software document this problem: Organization security leadership cannot identify which teams have the most unresolved secret and code-scanning alerts. What evidence would most directly prove that the corrective change works?
- A scanning run completes on the target language and reports results for the intended code paths
- The vulnerable package is identified by the dependency graph/alert and remediated through a reviewed version change
- A sample critical finding moves from detection to an approved fix and verified closure within policy
- An organization-wide report separates alert types and identifies the highest-risk affected repositories
Explanation
Correct Answer
D:The proposed evidence directly tests the operating control at Silvercrest Software: An organization-wide report separates alert types and identifies the highest-risk affected repositories.
Incorrect Answers
A:This observation would validate another issue: A repository with unusual build requirements cannot run the default CodeQL setup successfully. It does not establish the required result at Silvercrest Software: an organization-wide report separates alert types and identifies the highest-risk affected repositories.
B:This observation would validate another issue: A repository passes every code-scanning job but deploys a dependency known to be vulnerable. It does not establish the required result at Silvercrest Software: an organization-wide report separates alert types and identifies the highest-risk affected repositories.
C:This observation would validate another issue: Critical code scanning alerts remain unresolved for months because teams never determine who owns each finding. It does not establish the required result at Silvercrest Software: an organization-wide report separates alert types and identifies the highest-risk affected repositories.
Question 727
During a developer platform migration, the GitHub Enterprise administrators at Clearwater Retail document this problem: A regulated enterprise needs a documented data-residency deployment and assumes the usual GitHub.com account is identical to GHE.com. Which acceptance result should the control owner require?
- An architecture review confirms the chosen deployment's supported residency scope and enterprise identity integration
- The license report reconciles the engineer's identity without double-counting cross-organization membership
- The usage report attributes added charges to runner minutes or storage while the seat count remains stable
- A pilot demonstrates managed identities provisioned, authenticated and revoked through the IdP
Explanation
Correct Answer
A:The proposed evidence directly tests the operating control at Clearwater Retail: An architecture review confirms the chosen deployment's supported residency scope and enterprise identity integration.
Incorrect Answers
B:This observation would validate another issue: Finance counts the same engineer twice as a distinct GitHub Enterprise license because the engineer belongs to two organizations. It does not establish the required result at Clearwater Retail: an architecture review confirms the chosen deployment's supported residency scope and enterprise identity integration.
C:This observation would validate another issue: An enterprise sees unexpectedly high GitHub Actions charges but financial analysts only examine paid seat license changes. It does not establish the required result at Clearwater Retail: an architecture review confirms the chosen deployment's supported residency scope and enterprise identity integration.
D:This observation would validate another issue: A business requires centrally provisioned users but chooses a personal-account GitHub Enterprise Cloud plan without checking identity requirements. It does not establish the required result at Clearwater Retail: an architecture review confirms the chosen deployment's supported residency scope and enterprise identity integration.
Question 728
In a separate engagement at Northstar Biotech during a regulator-driven documentation test, administrators evaluate this reported issue: Sensitive repository owners can add outside collaborators despite a company policy requiring centralized review. 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?
- Review audit-stream health, event coverage and retention against investigation requirements
- Audit enterprise policy inheritance after onboarding new organizations
- Audit external member exceptions and ownership changes on a schedule
- Track repository coverage and scan health alongside security product entitlements
Explanation
Correct Answer
C:This sustained control addresses the observed failure at Northstar Biotech: Audit external member exceptions and ownership changes on a schedule. The relevant weakness to prevent is that repository-level discretion can defeat enterprise onboarding and external-access review requirements.
Incorrect Answers
A:This prevention fits a different exposure: A company cannot reconstruct who disabled a repository security policy during an incident because audit data was not retained centrally. It would not directly prevent the cause at Northstar Biotech, which is that repository-level discretion can defeat enterprise onboarding and external-access review requirements.
B:This prevention fits a different exposure: A newly acquired subsidiary uses permissive repository creation rules that conflict with the parent enterprise's internal-data policy. It would not directly prevent the cause at Northstar Biotech, which is that repository-level discretion can defeat enterprise onboarding and external-access review requirements.
D: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 Northstar Biotech, which is that repository-level discretion can defeat enterprise onboarding and external-access review requirements.
Question 729
During an internal incident follow-up, the GitHub Enterprise administrators at Greenhill Distribution document this problem: A machine integration that reads build artifacts uses OAuth app tokens tied to developer accounts when the company needs centrally revocable access. Which root cause is most directly supported by these facts?
- User-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity
- Different integration credential types create separate access paths that a single human-membership report misses
- A personal token ties automation availability and audit identity to one employee's membership
- An otherwise valid token may still lack permission for the targeted repository or organization
Explanation
Correct Answer
A:The case at Greenhill Distribution is explained by this specific mechanism: User-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity. That is why the corrective response is to migrate to a reviewed GitHub App with installation-scoped permissions appropriate to the integration.
Incorrect Answers
B:That cause would be relevant where a security administrator cannot identify which external integrations have gained access to highly confidential repositories. The observed evidence for Greenhill Distribution instead points to the different mechanism: user-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity.
C:That cause would be relevant where several organizations depend on a departing engineer's long-lived PAT for scheduled automation. The observed evidence for Greenhill Distribution instead points to the different mechanism: user-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity.
D:That cause would be relevant where a team sees an API authorization failure and assumes the token is expired without checking repository permissions. The observed evidence for Greenhill Distribution instead points to the different mechanism: user-delegated OAuth tokens depend on an individual's delegated authority rather than the intended organization-owned app identity.
Question 730
During a quarterly access audit, the GitHub Enterprise administrators at Harborline Healthcare document this problem: A GitHub Enterprise Server upgrade is repeatedly postponed because teams lack a supported maintenance rehearsal. Which administrator action most directly resolves this specific failure?
- Establish a versioned release procedure with linked pull requests, protected tags and recorded approval evidence
- Provide approved repository templates and standardized onboarding automation with policy validation
- Differentiate local token/rate-limit/network problems from confirmed vendor service incidents using diagnostic evidence
- Plan an upgrade runbook using supported release prerequisites, backups, staging validation and rollback checks
Explanation
Correct Answer
D:For Harborline Healthcare, this is targeted at the root control failure: Unvalidated version prerequisites and recovery steps make a platform upgrade unnecessarily risky. Verify the repair by requiring that the staging upgrade passes health checks and the team can demonstrate a recovery procedure.
Incorrect Answers
A:This action is for a different documented failure: A release manager cannot trace which reviews authorized a production tag because the team uses informal email approvals. It does not fix the decisive constraint at Harborline Healthcare, where unvalidated version prerequisites and recovery steps make a platform upgrade unnecessarily risky.
B:This action is for a different documented failure: New repositories bypass governance because teams start from empty projects and add security settings manually. It does not fix the decisive constraint at Harborline Healthcare, where unvalidated version prerequisites and recovery steps make a platform upgrade unnecessarily risky.
C:This action is for a different documented failure: Multiple teams report intermittent GitHub API failures and assume GitHub Support owns every timeout. It does not fix the decisive constraint at Harborline Healthcare, where unvalidated version prerequisites and recovery steps make a platform upgrade unnecessarily risky.
GitHub Administration (GH-100) Practice Tests