Question 150
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 observation would best verify resolution of this exact problem?
- An approved least-privilege credential succeeds after the required SSO authorization while an unauthorized credential remains rejected
- A newly assigned test identity is created and can sign in while a removed identity is deactivated
- Test sign-ins and audit identity-provider policies to confirm required additional factors on applicable accounts
- Adding and removing a test identity in the provisioned IdP group changes the linked team membership
Explanation
Correct Answer
D:The proposed evidence directly tests the operating control at Hillside Insurance: Adding and removing a test identity in the provisioned IdP group changes the linked team membership.
Incorrect Answers
A:This observation would validate another issue: A developer with valid SAML browser access receives authorization failures when a Git credential or API token accesses an organization that enforces SSO. It does not establish the required result at Hillside Insurance: adding and removing a test identity in the provisioned IdP group changes the linked team membership.
B:This observation would validate another issue: An Enterprise Managed Users deployment authenticates correctly but newly hired engineers never appear as enterprise users. It does not establish the required result at Hillside Insurance: adding and removing a test identity in the provisioned IdP group changes the linked team membership.
C:This observation would validate another 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. It does not establish the required result at Hillside Insurance: adding and removing a test identity in the provisioned IdP group changes the linked team membership.
Question 151
During a developer platform migration, the GitHub Enterprise administrators at Clearwater Retail document this problem: A developer with valid SAML browser access receives authorization failures when a Git credential or API token accesses an organization that enforces SSO. What durable safeguard addresses this exact class of failure?
- Reconcile subject identifiers, group mappings and recovery access before each transition wave
- Include token authorization checks in developer onboarding and security incident diagnostics
- Reconcile SCIM group mappings and monitor provisioning failures after identity-provider group changes
- Document emergency access and regularly test authentication policy enforcement
Explanation
Correct Answer
B:This sustained control addresses the observed failure at Clearwater Retail: Include token authorization checks in developer onboarding and security incident diagnostics. The relevant weakness to prevent is that interactive SAML authentication and authorization of nonbrowser credentials are separate checks under enforced SSO.
Incorrect Answers
A: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 Clearwater Retail, which is that interactive SAML authentication and authorization of nonbrowser credentials are separate checks under enforced SSO.
C:This prevention fits a different exposure: 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 would not directly prevent the cause at Clearwater Retail, which is that interactive SAML authentication and authorization of nonbrowser credentials are separate checks under enforced SSO.
D: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 Clearwater Retail, which is that interactive SAML authentication and authorization of nonbrowser credentials are separate checks under enforced SSO.
Question 152
During an integration reliability review, the GitHub Enterprise administrators at Redbrook Pharmaceuticals document this problem: A team sees an API authorization failure and assumes the token is expired without checking repository permissions. What durable safeguard addresses this exact class of failure?
- Periodically inspect approved OAuth apps and revoke inactive or unjustified grants
- Track rate-limit headers and adopt conditional requests where applicable
- Log API failure metadata without exposing tokens and document permission checks
- Reconcile app installation and token access during quarterly repository security reviews
Explanation
Correct Answer
C:This sustained control addresses the observed failure at Redbrook Pharmaceuticals: Log API failure metadata without exposing tokens and document permission checks. The relevant weakness to prevent is that an otherwise valid token may still lack permission for the targeted repository or organization.
Incorrect Answers
A:This prevention fits a different exposure: An unreviewed OAuth app asks enterprise users for extensive account access despite limited business justification. It would not directly prevent the cause at Redbrook Pharmaceuticals, which is that an otherwise valid token may still lack permission for the targeted repository or organization.
B:This prevention fits a different exposure: A reporting script starts receiving HTTP 403 rate-limit responses and the team attempts to grant organization owner rights. It would not directly prevent the cause at Redbrook Pharmaceuticals, which is that an otherwise valid token may still lack permission for the targeted repository or organization.
D:This prevention fits a different exposure: A security administrator cannot identify which external integrations have gained access to highly confidential repositories. It would not directly prevent the cause at Redbrook Pharmaceuticals, which is that an otherwise valid token may still lack permission for the targeted repository or organization.
Question 153
During an enterprise onboarding exercise, the GitHub Enterprise administrators at Meridian Aerospace document this problem: New repositories bypass governance because teams start from empty projects and add security settings manually. Which ongoing control would most directly prevent this weakness returning?
- Test onboarding templates after policy changes and monitor repository creation exceptions
- Use repository templates and compliance checks during project onboarding
- Practice generating and sanitizing diagnostic bundles before an outage
- Check release evidence during periodic audits and automate checks for unapproved tags
Explanation
Correct Answer
A:This sustained control addresses the observed failure at Meridian Aerospace: Test onboarding templates after policy changes and monitor repository creation exceptions. The relevant weakness to prevent is that manual startup checklists produce inconsistent security and collaboration defaults.
Incorrect Answers
B:This prevention fits a different exposure: Engineering teams use incompatible branching conventions and unreviewed direct pushes across dozens of repositories. It would not directly prevent the cause at Meridian Aerospace, which is that manual startup checklists produce inconsistent security and collaboration defaults.
C:This prevention fits a different exposure: GitHub Enterprise Server performance degrades but administrators send only screenshots when requesting help. It would not directly prevent the cause at Meridian Aerospace, which is that manual startup checklists produce inconsistent security and collaboration defaults.
D:This prevention fits a different exposure: A release manager cannot trace which reviews authorized a production tag because the team uses informal email approvals. It would not directly prevent the cause at Meridian Aerospace, which is that manual startup checklists produce inconsistent security and collaboration defaults.
Question 154
In a separate engagement at Pinecrest Systems during a new internal service deployment, administrators evaluate this reported issue: A reusable deployment workflow receives an empty credential and proceeds to fail unpredictably because the caller never passed the secret. 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?
- A static long-lived key increases exposure and rotation burden when a federated workload identity exchange is supported
- Repository secrets alone do not impose the environment-level approval boundary needed for production deployment
- An organization-wide secret scope can expose sensitive credentials beyond the target workflows
- A reusable workflow does not automatically receive every secret from its caller without the appropriate contract or inheritance
Explanation
Correct Answer
D:The case at Pinecrest Systems is explained by this specific mechanism: A reusable workflow does not automatically receive every secret from its caller without the appropriate contract or inheritance. That is why the corrective response is to define the needed workflow_call secret as required and pass the authorized secret explicitly or by approved inheritance.
Incorrect Answers
A:That cause would be relevant where an application pipeline stores a long-lived cloud provider access key in GitHub secrets despite the cloud supporting federated authentication. The observed evidence for Pinecrest Systems instead points to the different mechanism: a reusable workflow does not automatically receive every secret from its caller without the appropriate contract or inheritance.
B:That cause would be relevant where production deployment credentials are released before any human approves a high-risk release. The observed evidence for Pinecrest Systems instead points to the different mechanism: a reusable workflow does not automatically receive every secret from its caller without the appropriate contract or inheritance.
C:That cause would be relevant where a shared deployment secret is defined at organization scope and inadvertently becomes available to unrelated repositories. The observed evidence for Pinecrest Systems instead points to the different mechanism: a reusable workflow does not automatically receive every secret from its caller without the appropriate contract or inheritance.
Question 155
In a separate engagement at Valleybridge Education during a separate incident-replay exercise, administrators evaluate this reported issue: Several new third-party integrations gained access to private repositories but enterprise leadership only reviews human-user logins. Unlike an informal quick fix, their decision must be auditable and avoid unrelated policy changes. Which observation would best verify resolution of this exact problem?
- An access report lists newly installed integrations and identifies unauthorized repository grants
- A controlled policy-relevant event produces an appropriate alert and can be traced to an authorized actor
- A test administrative event appears downstream within the required latency after stream recovery
- Historical change records and sampled merge events explain the effective restrictions at the relevant dates
Explanation
Correct Answer
A:The proposed evidence directly tests the operating control at Valleybridge Education: An access report lists newly installed integrations and identifies unauthorized repository grants.
Incorrect Answers
B:This observation would validate another issue: A sudden surge in repository deletion and collaborator-invitation events goes unnoticed because monitoring reports only commit volume. It does not establish the required result at Valleybridge Education: an access report lists newly installed integrations and identifies unauthorized repository grants.
C:This observation would validate another issue: An enterprise audit stream fails silently for three days but the dashboard still shows previously ingested events. It does not establish the required result at Valleybridge Education: an access report lists newly installed integrations and identifies unauthorized repository grants.
D:This observation would validate another issue: An enterprise cannot prove its repository protection policy was effective last quarter because it reviews only today's settings. It does not establish the required result at Valleybridge Education: an access report lists newly installed integrations and identifies unauthorized repository grants.
Question 156
During a quarterly access audit, the GitHub Enterprise administrators at Harborline Healthcare document this problem: An application pipeline stores a long-lived cloud provider access key in GitHub secrets despite the cloud supporting federated authentication. Which observation would best verify resolution of this exact problem?
- The job obtains a time-limited cloud credential for only the approved repository and environment context
- A controlled run contains no sensitive credential data while the deployment still authenticates
- A deployment remains gated until authorized review and succeeds only after approval
- The deployment uses the intended rotated secret after precedence and environment configuration are corrected
Explanation
Correct Answer
A:The proposed evidence directly tests the operating control at Harborline Healthcare: The job obtains a time-limited cloud credential for only the approved repository and environment context.
Incorrect Answers
B: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 Harborline Healthcare: the job obtains a time-limited cloud credential for only the approved repository and environment context.
C:This observation would validate another issue: Production deployment credentials are released before any human approves a high-risk release. It does not establish the required result at Harborline Healthcare: the job obtains a time-limited cloud credential for only the approved repository and environment context.
D: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 Harborline Healthcare: the job obtains a time-limited cloud credential for only the approved repository and environment context.
Question 157
During a shared workflow modernization, the GitHub Enterprise administrators at Silvercrest Software document this problem: Developers across a shared repository receive admin rights merely to triage issues and view ordinary project settings. Which observation would best verify resolution of this exact problem?
- A permissions inspection identifies and removes all unintended paths, and a follow-up access test fails
- A normal pull request succeeds while a direct protected-branch change remains blocked for the maintainer
- An access check confirms the consultant cannot read the private repository after revocation
- A task-based access test succeeds for issue work and denies changing protected repository settings
Explanation
Correct Answer
D:The proposed evidence directly tests the operating control at Silvercrest Software: A task-based access test succeeds for issue work and denies changing protected repository settings.
Incorrect Answers
A:This observation would validate another issue: An engineer removed from a project team still opens a sensitive repository because a second team inherits a separate grant. It does not establish the required result at Silvercrest Software: a task-based access test succeeds for issue work and denies changing protected repository settings.
B:This observation would validate another issue: A trusted maintainer needs to manage issues and pulls but is being asked to bypass a protected branch for convenience. It does not establish the required result at Silvercrest Software: a task-based access test succeeds for issue work and denies changing protected repository settings.
C:This observation would validate another issue: A consultant no longer works on a project but still has direct outside-collaborator access to its private repository. It does not establish the required result at Silvercrest Software: a task-based access test succeeds for issue work and denies changing protected repository settings.
Question 158
During a compliance evidence walkthrough, the GitHub Enterprise administrators at Highland Mobility document this problem: An overnight Actions test suite consumes large numbers of billed runner minutes despite negligible code changes. Which acceptance result should the control owner require?
- Comparable quality checks complete with fewer billable minutes after targeted workflow optimization
- A reviewed reclaim pilot frees unused capacity without disrupting active or justified special-purpose accounts
- Usage reports reveal idle environments and a controlled timeout or size policy reduces charges without harming approved work
- A utilization report shows negligible queue wait and identifies the actual expensive workflows
Explanation
Correct Answer
A:The proposed evidence directly tests the operating control at Highland Mobility: Comparable quality checks complete with fewer billable minutes after targeted workflow optimization.
Incorrect Answers
B:This observation would validate another issue: An enterprise buys additional seats although a substantial cohort has not used its assigned access for many months. It does not establish the required result at Highland Mobility: comparable quality checks complete with fewer billable minutes after targeted workflow optimization.
C:This observation would validate another issue: An organization adds more GitHub Codespaces seats to solve a billing spike without investigating active compute sessions. It does not establish the required result at Highland Mobility: comparable quality checks complete with fewer billable minutes after targeted workflow optimization.
D:This observation would validate another issue: A workflow team increases runner capacity because a monthly bill rose, even though the runner queue stayed nearly empty. It does not establish the required result at Highland Mobility: comparable quality checks complete with fewer billable minutes after targeted workflow optimization.
Question 159
In a separate engagement at Marshlight Commerce during an operational controls validation, administrators evaluate this reported issue: Several organizations depend on a departing engineer's long-lived PAT for scheduled automation. 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?
- Use a purpose-built integration identity for organization-owned automation
- Third-party OAuth authorization requires enterprise governance and least-privilege review
- Integration inventory is part of enterprise identity and access governance
- Solve quota constraints through request efficiency and appropriate integration design, not privilege escalation
Explanation
Correct Answer
A:This principle explains the correct authorization or operational boundary at Marshlight Commerce: Use a purpose-built integration identity for organization-owned automation. It supports the narrower intervention to replace employee-owned personal access with a controlled GitHub App installation and managed credential lifecycle.
Incorrect Answers
B: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 Marshlight Commerce is different: a personal token ties automation availability and audit identity to one employee's membership.
C: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 Marshlight Commerce is different: a personal token ties automation availability and audit identity to one employee's membership.
D: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 Marshlight Commerce is different: a personal token ties automation availability and audit identity to one employee's membership.
Question 160
During a production change assessment, the GitHub Enterprise administrators at Coastline Utilities document this problem: A trusted maintainer needs to manage issues and pulls but is being asked to bypass a protected branch for convenience. What should the responsible platform team implement first to address the core constraint?
- Use supported enterprise team and organization access controls with audited membership governance
- Audit and revoke the direct collaborator invitation independently of internal team memberships
- Use the appropriate custom or repository role to grant the narrowly scoped maintenance capabilities
- Keep the maintainer within a task-appropriate role and route exceptional bypass through an approved ruleset exception process
Explanation
Correct Answer
D:For Coastline Utilities, this is targeted at the root control failure: A general repository maintenance responsibility does not imply unrestricted bypass authority for required code-review controls. Verify the repair by requiring that a normal pull request succeeds while a direct protected-branch change remains blocked for the maintainer.
Incorrect Answers
A:This action is for a different documented failure: Teams across multiple enterprise organizations are maintained through disconnected spreadsheets and access becomes inconsistent. It does not fix the decisive constraint at Coastline Utilities, where a general repository maintenance responsibility does not imply unrestricted bypass authority for required code-review controls.
B:This action is for a different documented failure: A consultant no longer works on a project but still has direct outside-collaborator access to its private repository. It does not fix the decisive constraint at Coastline Utilities, where a general repository maintenance responsibility does not imply unrestricted bypass authority for required code-review controls.
C:This action is for a different documented failure: A support analyst is granted broad organization owner rights merely to manage repository labels and triage pull requests. It does not fix the decisive constraint at Coastline Utilities, where a general repository maintenance responsibility does not imply unrestricted bypass authority for required code-review controls.
GitHub Administration (GH-100) Practice Tests