Question 570
An automation change at a municipal public services provider exposes this failure: A reusable workflow needs a deployment credential, but the caller invokes it without mapping required secrets. Which observation is the most meaningful proof of repair?
- Nested calls succeed only with explicitly permitted scopes and fail safely otherwise.
- The called workflow receives only the approved secret and completes its scoped operation.
- The job resolves and authenticates to the registry only through the approved network path.
- Fork tests execute without access to privileged self-hosted infrastructure or residual workspace data.
Explanation
Correct Answer
B:The proposed result demonstrates that the original technical gap is closed: Caller secret access is not automatically identical to the callee's declared secret interface.
Incorrect Answers
A:The metric relates to Nested reusable workflow scope and would leave the actual gap untested. A valid check is: The called workflow receives only the approved secret and completes its scoped operation.
C:The proposed signal checks a different behavior involving Private network connectivity. Here evidence must instead demonstrate: The called workflow receives only the approved secret and completes its scoped operation.
D:The metric relates to Untrusted code on selfhosted and would leave the actual gap untested. A valid check is: The called workflow receives only the approved secret and completes its scoped operation.
Question 571
A workflow review for a municipal public services provider identifies a specific risk: A reusable workflow needs a deployment credential, but the caller invokes it without mapping required secrets. What principle should the team apply when judging solutions?
- Reproducible automation dependencies reduce unreviewed supply-chain drift.
- Workflow reuse requires deliberate secret propagation and least-privilege policy.
- Starter templates aid consistent onboarding but do not centrally update copied files.
- Toolchain pinning creates more reliable automation than implicit hosted-image defaults.
Explanation
Correct Answer
B:This principle governs the problem at a municipal public services provider. Applying it leads to the targeted change: Pass the named secret explicitly or use appropriately scoped secrets inheritance where the trust boundary permits it.
Incorrect Answers
A:This rule governs Organization full sha policy, not the constraint described by a municipal public services provider. The applicable rule is: Workflow reuse requires deliberate secret propagation and least-privilege policy.
C:This principle does not account for the observed behavior; it belongs to Organization starter template. The relevant one is: Workflow reuse requires deliberate secret propagation and least-privilege policy.
D:This rule governs Runner image preinstalled tools, not the constraint described by a municipal public services provider. The applicable rule is: Workflow reuse requires deliberate secret propagation and least-privilege policy.
Question 572
A workflow review for a county IT support organization identifies a specific risk: A reusable workflow needs a deployment credential, but the caller invokes it without mapping required secrets. Which repeatable process control should be adopted?
- Periodically verify runner labels after host replacement or autoscaling changes.
- Test secret contract changes before central reusable workflow releases.
- Review templates after security or runner policy changes.
- Load-test runner scale limits and monitor pod scheduling failures.
Explanation
Correct Answer
B:The failure it prevents is: Caller secret access is not automatically identical to the callee's declared secret interface.
Incorrect Answers
A:The proposed routine targets Runner label selection. At a county IT support organization, recurrence is more directly prevented by: Test secret contract changes before central reusable workflow releases.
C:This control would reduce risk around Organization starter template, but it does not prevent the reported failure from recurring. The fitting safeguard is: Test secret contract changes before central reusable workflow releases.
D:The proposed routine targets ARC scaling capacity. At a county IT support organization, recurrence is more directly prevented by: Test secret contract changes before central reusable workflow releases.
Question 573
During an accessibility release check at a county IT support organization, engineers observe the following: A reusable workflow needs a deployment credential, but the caller invokes it without mapping required secrets. Which observation most quickly narrows the cause?
- Inspect secret visibility configuration and access test from a nonapproved repository.
- Inspect the queued job's requested labels and online eligible runner inventory.
- Inspect effective rulesets, required checks and plan-supported enforcement.
- Inspect workflow_call secrets declaration and caller secrets mapping.
Explanation
Correct Answer
D:If confirmed, the appropriate response is: Pass the named secret explicitly or use appropriately scoped secrets inheritance where the trust boundary permits it.
Incorrect Answers
A:Investigating Organization secret repository scope would delay diagnosis of the condition at a county IT support organization; the direct first check is: Inspect workflow_call secrets declaration and caller secrets mapping.
B:This inspection is useful when investigating Runner label selection, but it is not the first discriminator here. Inspect instead: Inspect workflow_call secrets declaration and caller secrets mapping.
C:The proposed check assumes a separate Required workflow controls failure. To narrow this case first: Inspect workflow_call secrets declaration and caller secrets mapping.
Question 574
A review for a county IT support organization during an accessibility release check records this problem: A reusable workflow needs a deployment credential, but the caller invokes it without mapping required secrets. What constraint must remain true for a safe outcome?
- A runner's network privileges must still be limited independently of group placement.
- Cost controls must not starve required release security checks.
- Cross-organization reuse must comply with supported inheritance boundaries.
- Mandatory controls still require enforceable rules beyond a copied template.
Explanation
Correct Answer
C:This condition protects the relevant trust or execution boundary at a county IT support organization. Ignoring it would recreate the defect: Caller secret access is not automatically identical to the callee's declared secret interface.
Incorrect Answers
A:This constraint addresses Runner group repository scope, whereas the described change must first satisfy: Cross-organization reuse must comply with supported inheritance boundaries.
B:The boundary may be necessary for a separate Larger runner concurrency workflow, not the primary risk here. The relevant constraint is: Cross-organization reuse must comply with supported inheritance boundaries.
D:This constraint addresses Organization starter template, whereas the described change must first satisfy: Cross-organization reuse must comply with supported inheritance boundaries.
Question 575
In preparation for a regulated software review, engineers supporting a payment services company notice: A shared CI workflow unexpectedly writes caches for untrusted caller events despite the organization intending read-only cache access. What should the engineer change to resolve the reported behavior?
- Configure the enterprise or organization action-use policy to allow only approved action sources.
- Place sensitive runners in a restricted runner group with explicit repository access policies.
- Apply a restrictive cache-mode in the caller and confirm the callee cannot increase that cache access.
- Move untrusted tests to appropriately isolated ephemeral runners with no sensitive network or credentials.
Explanation
Correct Answer
C:For a payment services company, this addresses the governing failure: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers. Success would be demonstrated by: The untrusted caller can restore an approved cache without writing a new potentially poisoned entry.
Incorrect Answers
A:That work belongs to a different failure involving Organization action allowlist. The described workflow needs the narrower change because cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
B:The proposal may suit Runner group repository scope, but it does not resolve the mechanism visible at a payment services company: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
D:That work belongs to a different failure involving Untrusted code on selfhosted. The described workflow needs the narrower change because cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
Question 576
An automation change at a payment services company exposes this failure: A shared CI workflow unexpectedly writes caches for untrusted caller events despite the organization intending read-only cache access. What explains why the automation behaves this way?
- Default runner grouping exposes privileged execution capacity too broadly.
- The workflow requests a runner label combination unavailable in the permitted runner pool.
- A persistent runner can retain state or secrets across untrusted jobs.
- Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
Explanation
Correct Answer
D:The root mismatch connects the observed symptom to the missing configuration or trust boundary: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers. It can be tested using this evidence: The untrusted caller can restore an approved cache without writing a new potentially poisoned entry.
Incorrect Answers
A:This relates to Runner group repository scope; it would call for different acceptance evidence. For this case, the root cause is: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
B:That explanation predicts a separate Runner label selection problem. The condition reported by a payment services company instead follows from: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
C:Although relevant to Untrusted code on selfhosted, this diagnosis does not match the described failure. The actual causal link is: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
Question 577
A workflow review for a payment services company identifies a specific risk: A shared CI workflow unexpectedly writes caches for untrusted caller events despite the organization intending read-only cache access. What would verify that the original condition is resolved?
- The untrusted caller can restore an approved cache without writing a new potentially poisoned entry.
- Only authorized repositories can target the sensitive runner group.
- The authorized caller executes the pinned central workflow while unrelated repositories cannot.
- Workflow validation rejects an unpinned third-party action and accepts an approved full-SHA reference.
Explanation
Correct Answer
A:This tests the actual failure mode at a payment services company rather than merely showing that a configuration changed. Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
Incorrect Answers
B:The proposed signal checks a different behavior involving Runner group repository scope. Here evidence must instead demonstrate: The untrusted caller can restore an approved cache without writing a new potentially poisoned entry.
C:The metric relates to Cross repository reusable workflow and would leave the actual gap untested. A valid check is: The untrusted caller can restore an approved cache without writing a new potentially poisoned entry.
D:That result could verify Organization full sha policy, but not the failure reported at a payment services company. The relevant acceptance result is: The untrusted caller can restore an approved cache without writing a new potentially poisoned entry.
Question 578
During a regulated software review at a payment services company, engineers observe the following: A shared CI workflow unexpectedly writes caches for untrusted caller events despite the organization intending read-only cache access. Which engineering principle should guide this decision?
- Cache permissions should be scoped to trust level rather than only performance.
- Action governance should be enforced by platform policy rather than voluntary repository conventions.
- Runner autoscaling requires both controller settings and cluster capacity.
- Egress identity must be designed rather than inferred from an ephemeral runner.
Explanation
Correct Answer
A:Here the triggering gap is: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
Incorrect Answers
B:This principle does not account for the observed behavior; it belongs to Organization action allowlist. The relevant one is: Cache permissions should be scoped to trust level rather than only performance.
C:This rule governs ARC scaling capacity, not the constraint described by a payment services company. The applicable rule is: Cache permissions should be scoped to trust level rather than only performance.
D:That concept may matter in a different Runner IP allowlist design. Here the operational boundary is explained by: Cache permissions should be scoped to trust level rather than only performance.
Question 579
During a policy-enforcement rehearsal at an insurance systems operator, engineers observe the following: A shared CI workflow unexpectedly writes caches for untrusted caller events despite the organization intending read-only cache access. How can the team reduce the chance that this failure returns?
- Test cache writes from trusted and fork-triggered calls separately.
- Add fork-trigger risk review before granting any self-hosted runner access.
- Include registry reachability and credential checks in runner readiness testing.
- Periodically verify runner labels after host replacement or autoscaling changes.
Explanation
Correct Answer
A:Applying this preventive check to future changes helps ensure the verified condition continues to hold: The untrusted caller can restore an approved cache without writing a new potentially poisoned entry.
Incorrect Answers
B:This control would reduce risk around Untrusted code on selfhosted, but it does not prevent the reported failure from recurring. The fitting safeguard is: Test cache writes from trusted and fork-triggered calls separately.
C:The proposed routine targets Private network connectivity. At an insurance systems operator, recurrence is more directly prevented by: Test cache writes from trusted and fork-triggered calls separately.
D:This safeguard protects a different workflow involving Runner label selection; the actual root cause requires: Test cache writes from trusted and fork-triggered calls separately.
Question 580
A review for an insurance systems operator during a policy-enforcement rehearsal records this problem: A shared CI workflow unexpectedly writes caches for untrusted caller events despite the organization intending read-only cache access. What first investigation step is most appropriate?
- Inspect the runner image version and toolcache inventory in the failed run.
- Inspect job labels, runner group settings and concurrent utilization graphs.
- Inspect the organization .github template directory and starter visibility.
- Inspect caller and callee cache-mode settings and cache logs.
Explanation
Correct Answer
D:The key mechanism is: Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
Incorrect Answers
A:This inspection is useful when investigating Hosted runner image drift, but it is not the first discriminator here. Inspect instead: Inspect caller and callee cache-mode settings and cache logs.
B:The proposed check assumes a separate Larger runner concurrency failure. To narrow this case first: Inspect caller and callee cache-mode settings and cache logs.
C:Investigating Organization starter template would delay diagnosis of the condition at an insurance systems operator; the direct first check is: Inspect caller and callee cache-mode settings and cache logs.
GitHub Actions (GH-200) Practice Tests