Question 590
During a meter telemetry release test at a renewable energy operator, engineers observe the following: A reusable workflow calls another shared workflow and the inner workflow expects privileges absent from the outer caller. Which underlying mismatch most directly causes the behavior?
- Credential confidentiality and configuration convenience were reversed.
- The workflow depends on a mutable image toolcache rather than a declared dependency.
- Nested workflow inheritance was assumed to grant more privilege than the original caller delegated.
- Repository-level availability bypasses the intended environment-specific approval boundary.
Explanation
Correct Answer
C:The reported symptoms follow from this specific mechanism: Nested workflow inheritance was assumed to grant more privilege than the original caller delegated. A focused corrective action would be: Keep permissions and secrets within the caller-granted scope across each reusable workflow layer.
Incorrect Answers
A:Although relevant to Organization variable vs secret, this diagnosis does not match the described failure. The actual causal link is: Nested workflow inheritance was assumed to grant more privilege than the original caller delegated.
B:This relates to Runner image preinstalled tools; it would call for different acceptance evidence. For this case, the root cause is: Nested workflow inheritance was assumed to grant more privilege than the original caller delegated.
D:Although relevant to Environment secret approval, this diagnosis does not match the described failure. The actual causal link is: Nested workflow inheritance was assumed to grant more privilege than the original caller delegated.
Question 591
A review for a renewable energy operator during a meter telemetry release test records this problem: A reusable workflow calls another shared workflow and the inner workflow expects privileges absent from the outer caller. What acceptance evidence should the team require?
- The same workflow resolves the expected SDK version after the hosted image changes.
- Queue depth falls under load while runner pods scale within the approved resource budget.
- Nested calls succeed only with explicitly permitted scopes and fail safely otherwise.
- The audit trail identifies the configuration change and its authorized owner.
Explanation
Correct Answer
C:The proposed result demonstrates that the original technical gap is closed: Nested workflow inheritance was assumed to grant more privilege than the original caller delegated.
Incorrect Answers
A:The metric relates to Hosted runner image drift and would leave the actual gap untested. A valid check is: Nested calls succeed only with explicitly permitted scopes and fail safely otherwise.
B:That result could verify ARC scaling capacity, but not the failure reported at a renewable energy operator. The relevant acceptance result is: Nested calls succeed only with explicitly permitted scopes and fail safely otherwise.
D:The metric relates to Enterprise audit log and would leave the actual gap untested. A valid check is: Nested calls succeed only with explicitly permitted scopes and fail safely otherwise.
Question 592
A CI/CD readiness check for a renewable energy operator reveals: A reusable workflow calls another shared workflow and the inner workflow expects privileges absent from the outer caller. Which design rule most directly governs this situation?
- CI retention settings are not substitutes for formal evidence-archiving processes.
- Trust isolation is required at both workflow-token and runner-host boundaries.
- Egress identity must be designed rather than inferred from an ephemeral runner.
- Reusable workflow chains cannot escalate permissions above the original trust boundary.
Explanation
Correct Answer
D:This principle governs the problem at a renewable energy operator. Applying it leads to the targeted change: Keep permissions and secrets within the caller-granted scope across each reusable workflow layer.
Incorrect Answers
A:This rule governs Organization log retention, not the constraint described by a renewable energy operator. The applicable rule is: Reusable workflow chains cannot escalate permissions above the original trust boundary.
B:That concept may matter in a different Untrusted code on selfhosted design. Here the operational boundary is explained by: Reusable workflow chains cannot escalate permissions above the original trust boundary.
C:This principle does not account for the observed behavior; it belongs to Runner IP allowlist. The relevant one is: Reusable workflow chains cannot escalate permissions above the original trust boundary.
Question 593
A CI/CD readiness check for a utility operations vendor reveals: A reusable workflow calls another shared workflow and the inner workflow expects privileges absent from the outer caller. What ongoing guardrail best prevents recurrence?
- Audit organization configuration values for credentials or personal data.
- Review organization secret repository grants during onboarding.
- Validate nested workflow contracts with minimum-privilege test callers.
- Verify cleanup and registration deregistration after every runner job.
Explanation
Correct Answer
C:The failure it prevents is: Nested workflow inheritance was assumed to grant more privilege than the original caller delegated.
Incorrect Answers
A:The proposed routine targets Organization variable vs secret. At a utility operations vendor, recurrence is more directly prevented by: Validate nested workflow contracts with minimum-privilege test callers.
B:This safeguard protects a different workflow involving Organization secret repository scope; the actual root cause requires: Validate nested workflow contracts with minimum-privilege test callers.
D:The proposed routine targets Ephemeral runner lifecycle. At a utility operations vendor, recurrence is more directly prevented by: Validate nested workflow contracts with minimum-privilege test callers.
Question 594
Engineers supporting a utility operations vendor are investigating this situation: A reusable workflow calls another shared workflow and the inner workflow expects privileges absent from the outer caller. What should be checked before modifying the workflow?
- Inspect runner registration mode and host disposal evidence.
- Inspect permissions and secrets at each workflow_call layer.
- Inspect source repository Actions access settings and caller uses reference.
- Inspect workflow_call secrets declaration and caller secrets mapping.
Explanation
Correct Answer
B:If confirmed, the appropriate response is: Keep permissions and secrets within the caller-granted scope across each reusable workflow layer.
Incorrect Answers
A:Investigating Ephemeral runner lifecycle would delay diagnosis of the condition at a utility operations vendor; the direct first check is: Inspect permissions and secrets at each workflow_call layer.
C:The proposed check assumes a separate Cross repository reusable workflow failure. To narrow this case first: Inspect permissions and secrets at each workflow_call layer.
D:Investigating Reusable workflow secret inheritance would delay diagnosis of the condition at a utility operations vendor; the direct first check is: Inspect permissions and secrets at each workflow_call layer.
Question 595
In preparation for a resilience change review, engineers supporting a utility operations vendor notice: A reusable workflow calls another shared workflow and the inner workflow expects privileges absent from the outer caller. Which release or execution constraint matters most here?
- Autoscaling must not bypass runner trust boundaries or cloud budget controls.
- Mandatory controls still require enforceable rules beyond a copied template.
- A downstream workflow must never request repository-write privilege absent upstream authorization.
- A runner's network privileges must still be limited independently of group placement.
Explanation
Correct Answer
C:This condition protects the relevant trust or execution boundary at a utility operations vendor. Ignoring it would recreate the defect: Nested workflow inheritance was assumed to grant more privilege than the original caller delegated.
Incorrect Answers
A:This constraint addresses ARC scaling capacity, whereas the described change must first satisfy: A downstream workflow must never request repository-write privilege absent upstream authorization.
B:The boundary may be necessary for a separate Organization starter template workflow, not the primary risk here. The relevant constraint is: A downstream workflow must never request repository-write privilege absent upstream authorization.
D:This constraint addresses Runner group repository scope, whereas the described change must first satisfy: A downstream workflow must never request repository-write privilege absent upstream authorization.
Question 596
In preparation for a multi-region staging run, engineers supporting a cloud software vendor notice: A production workflow stores a long-lived cloud service-account key as a repository secret for every deployment. Which change is the most direct correction for this problem?
- Configure a protected production environment with required reviewers and ensure deployment jobs target it.
- Combine a protected environment approval with a documented rollback step and post-deploy smoke checks.
- Move the approved logic into a centrally versioned reusable workflow with governed caller access.
- Configure cloud workload identity federation using GitHub OIDC and narrowly scoped id-token permission.
Explanation
Correct Answer
D:For a cloud software vendor, this addresses the governing failure: A static credential is used where the cloud provider can exchange a short-lived identity token. Success would be demonstrated by: Deployment succeeds with time-limited federated credentials and no stored cloud access key.
Incorrect Answers
A:That work belongs to a different failure involving Protected production environment. The described workflow needs the narrower change because a static credential is used where the cloud provider can exchange a short-lived identity token.
B:The proposal may suit Release approval and rollback, but it does not resolve the mechanism visible at a cloud software vendor: A static credential is used where the cloud provider can exchange a short-lived identity token.
C:This adjustment addresses Central reusable security check instead. For a cloud software vendor, the reported problem is caused by: A static credential is used where the cloud provider can exchange a short-lived identity token.
Question 597
An automation change at a cloud software vendor exposes this failure: A production workflow stores a long-lived cloud service-account key as a repository secret for every deployment. What technical cause best explains the reported failure?
- The release job is missing enforceable environment approval controls.
- The current workflow rebuilds or downloads identical dependencies unnecessarily.
- Deployment completion was treated as release success without controlled acceptance or recovery.
- A static credential is used where the cloud provider can exchange a short-lived identity token.
Explanation
Correct Answer
D:The root mismatch connects the observed symptom to the missing configuration or trust boundary: A static credential is used where the cloud provider can exchange a short-lived identity token. It can be tested using this evidence: Deployment succeeds with time-limited federated credentials and no stored cloud access key.
Incorrect Answers
A:This relates to Protected production environment; it would call for different acceptance evidence. For this case, the root cause is: A static credential is used where the cloud provider can exchange a short-lived identity token.
B:That explanation predicts a separate Dependency cache cost optimization problem. The condition reported by a cloud software vendor instead follows from: A static credential is used where the cloud provider can exchange a short-lived identity token.
C:Although relevant to Release approval and rollback, this diagnosis does not match the described failure. The actual causal link is: A static credential is used where the cloud provider can exchange a short-lived identity token.
Question 598
A workflow review for a cloud software vendor identifies a specific risk: A production workflow stores a long-lived cloud service-account key as a repository secret for every deployment. Which observation is the most meaningful proof of repair?
- Deployment succeeds with time-limited federated credentials and no stored cloud access key.
- Repeat runs resolve the approved commit even when upstream tags are moved.
- A simulated bad release is halted or rolled back using the approved workflow.
- Malicious command separators remain inert data and no additional command runs.
Explanation
Correct Answer
A:This tests the actual failure mode at a cloud software vendor rather than merely showing that a configuration changed. A static credential is used where the cloud provider can exchange a short-lived identity token.
Incorrect Answers
B:The proposed signal checks a different behavior involving Immutable third party sha. Here evidence must instead demonstrate: Deployment succeeds with time-limited federated credentials and no stored cloud access key.
C:The metric relates to Release approval and rollback and would leave the actual gap untested. A valid check is: Deployment succeeds with time-limited federated credentials and no stored cloud access key.
D:That result could verify Pull request title injection, but not the failure reported at a cloud software vendor. The relevant acceptance result is: Deployment succeeds with time-limited federated credentials and no stored cloud access key.
Question 599
During a multi-region staging run at a cloud software vendor, engineers observe the following: A production workflow stores a long-lived cloud service-account key as a repository secret for every deployment. What principle should the team apply when judging solutions?
- Untrusted text must remain data at expression-to-shell boundaries.
- Provenance verification reduces the risk of deploying substituted build artifacts.
- Supply-chain trust requires immutable dependency identities and managed updates.
- Short-lived federated identity reduces credential rotation and theft exposure.
Explanation
Correct Answer
D:Here the triggering gap is: A static credential is used where the cloud provider can exchange a short-lived identity token.
Incorrect Answers
A:That concept may matter in a different Pull request title injection design. Here the operational boundary is explained by: Short-lived federated identity reduces credential rotation and theft exposure.
B:This principle does not account for the observed behavior; it belongs to Build artifact attestation. The relevant one is: Short-lived federated identity reduces credential rotation and theft exposure.
C:This rule governs Immutable third party sha, not the constraint described by a cloud software vendor. The applicable rule is: Short-lived federated identity reduces credential rotation and theft exposure.
Question 600
During a production promotion review at a B2B API provider, engineers observe the following: A production workflow stores a long-lived cloud service-account key as a repository secret for every deployment. Which repeatable process control should be adopted?
- Rehearse rollback on representative failures before major releases.
- Exercise approved and rejected deployment paths in release rehearsals.
- Test cache isolation after changes to event triggers and reusable workflows.
- Audit trust conditions and cloud role scopes whenever deployment workflows change.
Explanation
Correct Answer
D:Applying this preventive check to future changes helps ensure the verified condition continues to hold: Deployment succeeds with time-limited federated credentials and no stored cloud access key.
Incorrect Answers
A:This safeguard protects a different workflow involving Release approval and rollback; the actual root cause requires: Audit trust conditions and cloud role scopes whenever deployment workflows change.
B:This control would reduce risk around Protected production environment, but it does not prevent the reported failure from recurring. The fitting safeguard is: Audit trust conditions and cloud role scopes whenever deployment workflows change.
C:The proposed routine targets Fork cache poisoning. At a B2B API provider, recurrence is more directly prevented by: Audit trust conditions and cloud role scopes whenever deployment workflows change.
GitHub Actions (GH-200) Practice Tests