Question 560
A workflow review for a specialist clinic platform team identifies a specific risk: Hosted runner jobs cannot call a partner API protected by an IP allowlist because outbound runner addresses change. What condition should govern whether this change may proceed?
- Do not permit all public IPs to accommodate an automation shortcut.
- A runner's network privileges must still be limited independently of group placement.
- Exceptions require documented security approval and an identified owner.
- Broadening labels must not route sensitive jobs onto untrusted machines.
Explanation
Correct Answer
A:It follows from this engineering principle: Egress identity must be designed rather than inferred from an ephemeral runner.
Incorrect Answers
B:The constraint around Runner group repository scope is not the governing gate for a specialist clinic platform team. The original defect makes this condition decisive: Do not permit all public IPs to accommodate an automation shortcut.
C:This constraint addresses Organization action allowlist, whereas the described change must first satisfy: Do not permit all public IPs to accommodate an automation shortcut.
D:The boundary may be necessary for a separate Runner label selection workflow, not the primary risk here. The relevant constraint is: Do not permit all public IPs to accommodate an automation shortcut.
Question 561
A CI/CD readiness check for an online retail marketplace reveals: An organization stores a nonsecret region name as a secret while keeping a deployment API key in a plain variable. What is the best focused remediation?
- Put sensitive credentials in encrypted secrets and ordinary configuration in scoped variables.
- Permit the approved caller repository to access the central reusable workflow and reference its versioned path.
- Configure an approved private networking path or isolated self-hosted runner with controlled registry connectivity.
- Scope the organization secret to the specifically approved consuming repositories.
Explanation
Correct Answer
A:Credential confidentiality and configuration convenience were reversed. Verify the result by checking that jobs receive the intended region variable while the API key stays masked and scoped.
Incorrect Answers
B:This adjustment addresses Cross repository reusable workflow instead. For an online retail marketplace, the reported problem is caused by: Credential confidentiality and configuration convenience were reversed.
C:That work belongs to a different failure involving Private network connectivity. The described workflow needs the narrower change because credential confidentiality and configuration convenience were reversed.
D:The proposal may suit Organization secret repository scope, but it does not resolve the mechanism visible at an online retail marketplace: Credential confidentiality and configuration convenience were reversed.
Question 562
Engineers supporting an online retail marketplace are investigating this situation: An organization stores a nonsecret region name as a secret while keeping a deployment API key in a plain variable. Which underlying mismatch most directly causes the behavior?
- Credential confidentiality and configuration convenience were reversed.
- The scale set cannot create enough runner pods to match workload demand.
- Repository-level availability bypasses the intended environment-specific approval boundary.
- The installed runner agent falls outside GitHub's supported update requirements.
Explanation
Correct Answer
A:This explains the observed behavior at an online retail marketplace: Credential confidentiality and configuration convenience were reversed. The appropriate correction is: Put sensitive credentials in encrypted secrets and ordinary configuration in scoped variables.
Incorrect Answers
B:Although relevant to ARC scaling capacity, this diagnosis does not match the described failure. The actual causal link is: Credential confidentiality and configuration convenience were reversed.
C:This relates to Environment secret approval; it would call for different acceptance evidence. For this case, the root cause is: Credential confidentiality and configuration convenience were reversed.
D:That explanation predicts a separate Self hosted runner update problem. The condition reported by an online retail marketplace instead follows from: Credential confidentiality and configuration convenience were reversed.
Question 563
In preparation for a seasonal traffic test, engineers supporting an online retail marketplace notice: An organization stores a nonsecret region name as a secret while keeping a deployment API key in a plain variable. What acceptance evidence should the team require?
- A newly created repository can select and customize the approved starter workflow.
- Only authorized repositories can target the sensitive runner group.
- The production secret is unavailable until required environment protection succeeds.
- Jobs receive the intended region variable while the API key stays masked and scoped.
Explanation
Correct Answer
D:The observation is a direct acceptance condition for an online retail marketplace. It verifies the action: Put sensitive credentials in encrypted secrets and ordinary configuration in scoped variables.
Incorrect Answers
A:The proposed signal checks a different behavior involving Organization starter template. Here evidence must instead demonstrate: Jobs receive the intended region variable while the API key stays masked and scoped.
B:The metric relates to Runner group repository scope and would leave the actual gap untested. A valid check is: Jobs receive the intended region variable while the API key stays masked and scoped.
C:That result could verify Environment secret approval, but not the failure reported at an online retail marketplace. The relevant acceptance result is: Jobs receive the intended region variable while the API key stays masked and scoped.
Question 564
An automation change at an online retail marketplace exposes this failure: An organization stores a nonsecret region name as a secret while keeping a deployment API key in a plain variable. Which design rule most directly governs this situation?
- Ephemeral runner lifecycle reduces cross-job persistence risk.
- Secrets and variables have different confidentiality requirements.
- Reproducible automation dependencies reduce unreviewed supply-chain drift.
- Reproducible builds specify toolchain dependencies instead of trusting image defaults.
Explanation
Correct Answer
B:The principle explains the reported failure: Credential confidentiality and configuration convenience were reversed. The acceptance evidence is: Jobs receive the intended region variable while the API key stays masked and scoped.
Incorrect Answers
A:This principle does not account for the observed behavior; it belongs to Ephemeral runner lifecycle. The relevant one is: Secrets and variables have different confidentiality requirements.
C:That concept may matter in a different Organization full sha policy design. Here the operational boundary is explained by: Secrets and variables have different confidentiality requirements.
D:This principle does not account for the observed behavior; it belongs to Hosted runner image drift. The relevant one is: Secrets and variables have different confidentiality requirements.
Question 565
An automation change at a wholesale commerce platform exposes this failure: An organization stores a nonsecret region name as a secret while keeping a deployment API key in a plain variable. What ongoing guardrail best prevents recurrence?
- Monitor runner agent age and stage updates before enforcement deadlines.
- Audit action references and exceptions after platform policy updates.
- Periodically verify runner labels after host replacement or autoscaling changes.
- Audit organization configuration values for credentials or personal data.
Explanation
Correct Answer
D:This control addresses the recurring source of the defect at a wholesale commerce platform: Credential confidentiality and configuration convenience were reversed.
Incorrect Answers
A:This control would reduce risk around Self hosted runner update, but it does not prevent the reported failure from recurring. The fitting safeguard is: Audit organization configuration values for credentials or personal data.
B:The proposed routine targets Organization full sha policy. At a wholesale commerce platform, recurrence is more directly prevented by: Audit organization configuration values for credentials or personal data.
C:This safeguard protects a different workflow involving Runner label selection; the actual root cause requires: Audit organization configuration values for credentials or personal data.
Question 566
A workflow review for a wholesale commerce platform identifies a specific risk: An organization stores a nonsecret region name as a secret while keeping a deployment API key in a plain variable. What should be checked before modifying the workflow?
- Inspect runner registration mode and host disposal evidence.
- Inspect the secret scope and environment required-reviewer settings.
- Check the effective action pinning policy and sample workflow uses values.
- Inspect whether each setting resides in secrets or vars and its scope.
Explanation
Correct Answer
D:Checking this first at a wholesale commerce platform narrows the fault without prematurely changing settings. The subsequent correction is: Put sensitive credentials in encrypted secrets and ordinary configuration in scoped variables.
Incorrect Answers
A:The proposed check assumes a separate Ephemeral runner lifecycle failure. To narrow this case first: Inspect whether each setting resides in secrets or vars and its scope.
B:Investigating Environment secret approval would delay diagnosis of the condition at a wholesale commerce platform; the direct first check is: Inspect whether each setting resides in secrets or vars and its scope.
C:This inspection is useful when investigating Organization full sha policy, but it is not the first discriminator here. Inspect instead: Inspect whether each setting resides in secrets or vars and its scope.
Question 567
During a patch deployment review at a wholesale commerce platform, engineers observe the following: An organization stores a nonsecret region name as a secret while keeping a deployment API key in a plain variable. Which release or execution constraint matters most here?
- A runner's network privileges must still be limited independently of group placement.
- A called workflow must not gain more permissions than the caller allows.
- Plain variables must never hold credential material.
- Mandatory controls still require enforceable rules beyond a copied template.
Explanation
Correct Answer
C:Applying the boundary prevents the workflow from taking an unsafe shortcut while the remedy is implemented: Put sensitive credentials in encrypted secrets and ordinary configuration in scoped variables.
Incorrect Answers
A:The constraint around Runner group repository scope is not the governing gate for a wholesale commerce platform. The original defect makes this condition decisive: Plain variables must never hold credential material.
B:This constraint addresses Cross repository reusable workflow, whereas the described change must first satisfy: Plain variables must never hold credential material.
D:The constraint around Organization starter template is not the governing gate for a wholesale commerce platform. The original defect makes this condition decisive: Plain variables must never hold credential material.
Question 568
Engineers supporting a municipal public services provider are investigating this situation: A reusable workflow needs a deployment credential, but the caller invokes it without mapping required secrets. Which change is the most direct correction for this problem?
- Enforce the supported policy requiring full-length commit SHA references for actions where applicable.
- Move untrusted tests to appropriately isolated ephemeral runners with no sensitive network or credentials.
- Keep permissions and secrets within the caller-granted scope across each reusable workflow layer.
- Pass the named secret explicitly or use appropriately scoped secrets inheritance where the trust boundary permits it.
Explanation
Correct Answer
D:The targeted change is appropriate because caller secret access is not automatically identical to the callee's declared secret interface. It leads directly to a checkable outcome: The called workflow receives only the approved secret and completes its scoped operation.
Incorrect Answers
A:This adjustment addresses Organization full sha policy instead. For a municipal public services provider, the reported problem is caused by: Caller secret access is not automatically identical to the callee's declared secret interface.
B:That work belongs to a different failure involving Untrusted code on selfhosted. The described workflow needs the narrower change because caller secret access is not automatically identical to the callee's declared secret interface.
C:The proposal may suit Nested reusable workflow scope, but it does not resolve the mechanism visible at a municipal public services provider: Caller secret access is not automatically identical to the callee's declared secret interface.
Question 569
In preparation for a citizen portal integration test, engineers supporting a municipal public services provider notice: A reusable workflow needs a deployment credential, but the caller invokes it without mapping required secrets. What technical cause best explains the reported failure?
- The scale set cannot create enough runner pods to match workload demand.
- Workflow-run retention was shorter than the business evidence requirement.
- Runner reuse can leak previous workspace contents and residual credentials across jobs.
- Caller secret access is not automatically identical to the callee's declared secret interface.
Explanation
Correct Answer
D:The reported symptoms follow from this specific mechanism: Caller secret access is not automatically identical to the callee's declared secret interface. A focused corrective action would be: Pass the named secret explicitly or use appropriately scoped secrets inheritance where the trust boundary permits it.
Incorrect Answers
A:Although relevant to ARC scaling capacity, this diagnosis does not match the described failure. The actual causal link is: Caller secret access is not automatically identical to the callee's declared secret interface.
B:This relates to Organization log retention; it would call for different acceptance evidence. For this case, the root cause is: Caller secret access is not automatically identical to the callee's declared secret interface.
C:That explanation predicts a separate Ephemeral runner lifecycle problem. The condition reported by a municipal public services provider instead follows from: Caller secret access is not automatically identical to the callee's declared secret interface.
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.
GitHub Actions (GH-200) Practice Tests