Question 540
A workflow review for a scientific instrumentation vendor identifies a specific risk: New repositories copy inconsistent build workflows instead of using the organization's approved starter templates. Which change is the most direct correction for this problem?
- Pass the named secret explicitly or use appropriately scoped secrets inheritance where the trust boundary permits it.
- Configure the enterprise or organization action-use policy to allow only approved action sources.
- Enforce the supported policy requiring full-length commit SHA references for actions where applicable.
- Publish curated workflow template files in the designated organization .github repository.
Explanation
Correct Answer
D:The organization lacks a discoverable reviewed starting scaffold for new repositories. Verify the result by checking that a newly created repository can select and customize the approved starter workflow.
Incorrect Answers
A:The proposal may suit Reusable workflow secret inheritance, but it does not resolve the mechanism visible at a scientific instrumentation vendor: The organization lacks a discoverable reviewed starting scaffold for new repositories.
B:This adjustment addresses Organization action allowlist instead. For a scientific instrumentation vendor, the reported problem is caused by: The organization lacks a discoverable reviewed starting scaffold for new repositories.
C:That work belongs to a different failure involving Organization full sha policy. The described workflow needs the narrower change because the organization lacks a discoverable reviewed starting scaffold for new repositories.
Question 541
During an embedded build certification at a scientific instrumentation vendor, engineers observe the following: New repositories copy inconsistent build workflows instead of using the organization's approved starter templates. What technical cause best explains the reported failure?
- The organization lacks a discoverable reviewed starting scaffold for new repositories.
- Governance settings permit a broader set of public actions than the enterprise risk policy.
- Generic labels do not enforce the sensitive runner-group trust boundary.
- The pipeline depends on mutable preinstalled software rather than declared runtime versions.
Explanation
Correct Answer
A:This explains the observed behavior at a scientific instrumentation vendor: The organization lacks a discoverable reviewed starting scaffold for new repositories. The appropriate correction is: Publish curated workflow template files in the designated organization.github repository.
Incorrect Answers
B:Although relevant to Organization action allowlist, this diagnosis does not match the described failure. The actual causal link is: The organization lacks a discoverable reviewed starting scaffold for new repositories.
C:This relates to Runner group workflow selection; it would call for different acceptance evidence. For this case, the root cause is: The organization lacks a discoverable reviewed starting scaffold for new repositories.
D:That explanation predicts a separate Hosted runner image drift problem. The condition reported by a scientific instrumentation vendor instead follows from: The organization lacks a discoverable reviewed starting scaffold for new repositories.
Question 542
A review for a scientific instrumentation vendor during an embedded build certification records this problem: New repositories copy inconsistent build workflows instead of using the organization's approved starter templates. Which observation is the most meaningful proof of repair?
- Each job receives a fresh isolated runner with no prior repository artifacts.
- A newly created repository can select and customize the approved starter workflow.
- Workflow validation rejects an unpinned third-party action and accepts an approved full-SHA reference.
- A reviewed allowed action runs while an unapproved public action is blocked at policy evaluation.
Explanation
Correct Answer
B:The observation is a direct acceptance condition for a scientific instrumentation vendor. It verifies the action: Publish curated workflow template files in the designated organization.github repository.
Incorrect Answers
A:The proposed signal checks a different behavior involving Ephemeral runner lifecycle. Here evidence must instead demonstrate: A newly created repository can select and customize the approved starter workflow.
C:That result could verify Organization full sha policy, but not the failure reported at a scientific instrumentation vendor. The relevant acceptance result is: A newly created repository can select and customize the approved starter workflow.
D:The proposed signal checks a different behavior involving Organization action allowlist. Here evidence must instead demonstrate: A newly created repository can select and customize the approved starter workflow.
Question 543
A CI/CD readiness check for a scientific instrumentation vendor reveals: New repositories copy inconsistent build workflows instead of using the organization's approved starter templates. What principle should the team apply when judging solutions?
- Reusable workflow chains cannot escalate permissions above the original trust boundary.
- Starter templates aid consistent onboarding but do not centrally update copied files.
- Workflow reuse requires deliberate secret propagation and least-privilege policy.
- Central automation reuse requires both a stable interface and explicit access policy.
Explanation
Correct Answer
B:The principle explains the reported failure: The organization lacks a discoverable reviewed starting scaffold for new repositories. The acceptance evidence is: A newly created repository can select and customize the approved starter workflow.
Incorrect Answers
A:This principle does not account for the observed behavior; it belongs to Nested reusable workflow scope. The relevant one is: Starter templates aid consistent onboarding but do not centrally update copied files.
C:That concept may matter in a different Reusable workflow secret inheritance design. Here the operational boundary is explained by: Starter templates aid consistent onboarding but do not centrally update copied files.
D:This principle does not account for the observed behavior; it belongs to Cross repository reusable workflow. The relevant one is: Starter templates aid consistent onboarding but do not centrally update copied files.
Question 544
A CI/CD readiness check for an analytical equipment developer reveals: New repositories copy inconsistent build workflows instead of using the organization's approved starter templates. Which repeatable process control should be adopted?
- Monitor image release notes and run compatibility smoke tests.
- Load-test runner scale limits and monitor pod scheduling failures.
- Periodically verify runner labels after host replacement or autoscaling changes.
- Review templates after security or runner policy changes.
Explanation
Correct Answer
D:This control addresses the recurring source of the defect at an analytical equipment developer: The organization lacks a discoverable reviewed starting scaffold for new repositories.
Incorrect Answers
A:This control would reduce risk around Hosted runner image drift, but it does not prevent the reported failure from recurring. The fitting safeguard is: Review templates after security or runner policy changes.
B:The proposed routine targets ARC scaling capacity. At an analytical equipment developer, recurrence is more directly prevented by: Review templates after security or runner policy changes.
C:This safeguard protects a different workflow involving Runner label selection; the actual root cause requires: Review templates after security or runner policy changes.
Question 545
Engineers supporting an analytical equipment developer are investigating this situation: New repositories copy inconsistent build workflows instead of using the organization's approved starter templates. Which observation most quickly narrows the cause?
- Inspect caller and callee cache-mode settings and cache logs.
- Inspect the queued job's requested labels and online eligible runner inventory.
- Inspect trigger origins, runner labels and host persistence policy.
- Inspect the organization .github template directory and starter visibility.
Explanation
Correct Answer
D:Checking this first at an analytical equipment developer narrows the fault without prematurely changing settings. The subsequent correction is: Publish curated workflow template files in the designated organization.github repository.
Incorrect Answers
A:The proposed check assumes a separate Reusable cache policy failure. To narrow this case first: Inspect the organization.github template directory and starter visibility.
B:Investigating Runner label selection would delay diagnosis of the condition at an analytical equipment developer; the direct first check is: Inspect the organization.github template directory and starter visibility.
C:This inspection is useful when investigating Untrusted code on selfhosted, but it is not the first discriminator here. Inspect instead: Inspect the organization .github template directory and starter visibility.
Question 546
In preparation for a supply-chain evidence audit, engineers supporting an analytical equipment developer notice: New repositories copy inconsistent build workflows instead of using the organization's approved starter templates. What constraint must remain true for a safe outcome?
- Agent updates must preserve the host's approved hardening profile.
- Mandatory controls still require enforceable rules beyond a copied template.
- Do not expose the internal registry publicly merely to unblock CI.
- Repository selection alone does not replace short-lived credential rotation.
Explanation
Correct Answer
B:Applying the boundary prevents the workflow from taking an unsafe shortcut while the remedy is implemented: Publish curated workflow template files in the designated organization.github repository.
Incorrect Answers
A:The constraint around Self hosted runner update is not the governing gate for an analytical equipment developer. The original defect makes this condition decisive: Mandatory controls still require enforceable rules beyond a copied template.
C:The boundary may be necessary for a separate Private network connectivity workflow, not the primary risk here. The relevant constraint is: Mandatory controls still require enforceable rules beyond a copied template.
D:The constraint around Organization secret repository scope is not the governing gate for an analytical equipment developer. The original defect makes this condition decisive: Mandatory controls still require enforceable rules beyond a copied template.
Question 547
During a delivery tracking service release at a pharmaceutical distribution network, engineers observe the following: Developers assume a particular Python version is installed on every hosted runner image, but the deployment check breaks after image rotation. What should the engineer change to resolve the reported behavior?
- Apply a restrictive cache-mode in the caller and confirm the callee cannot increase that cache access.
- Explicitly set up the required Python version and inspect runner image release notes.
- Configure single-job ephemeral runners and enforce host disposal or rebuild after each job.
- Permit the approved caller repository to access the central reusable workflow and reference its versioned path.
Explanation
Correct Answer
B:The targeted change is appropriate because the workflow depends on a mutable image toolcache rather than a declared dependency. It leads directly to a checkable outcome: A clean hosted job reports the supported Python version after an image update.
Incorrect Answers
A:This adjustment addresses Reusable cache policy instead. For a pharmaceutical distribution network, the reported problem is caused by: The workflow depends on a mutable image toolcache rather than a declared dependency.
C:The proposal may suit Ephemeral runner lifecycle, but it does not resolve the mechanism visible at a pharmaceutical distribution network: The workflow depends on a mutable image toolcache rather than a declared dependency.
D:This adjustment addresses Cross repository reusable workflow instead. For a pharmaceutical distribution network, the reported problem is caused by: The workflow depends on a mutable image toolcache rather than a declared dependency.
Question 548
A review for a pharmaceutical distribution network during a delivery tracking service release records this problem: Developers assume a particular Python version is installed on every hosted runner image, but the deployment check breaks after image rotation. What explains why the automation behaves this way?
- The workflow depends on a mutable image toolcache rather than a declared dependency.
- The pipeline depends on mutable preinstalled software rather than declared runtime versions.
- Cache access defaults and reusable-workflow propagation were not made explicit for lower-trust callers.
- Caller secret access is not automatically identical to the callee's declared secret interface.
Explanation
Correct Answer
A:The reported symptoms follow from this specific mechanism: The workflow depends on a mutable image toolcache rather than a declared dependency. A focused corrective action would be: Explicitly set up the required Python version and inspect runner image release notes.
Incorrect Answers
B:This relates to Hosted runner image drift; it would call for different acceptance evidence. For this case, the root cause is: The workflow depends on a mutable image toolcache rather than a declared dependency.
C:That explanation predicts a separate Reusable cache policy problem. The condition reported by a pharmaceutical distribution network instead follows from: The workflow depends on a mutable image toolcache rather than a declared dependency.
D:Although relevant to Reusable workflow secret inheritance, this diagnosis does not match the described failure. The actual causal link is: The workflow depends on a mutable image toolcache rather than a declared dependency.
Question 549
A CI/CD readiness check for a pharmaceutical distribution network reveals: Developers assume a particular Python version is installed on every hosted runner image, but the deployment check breaks after image rotation. What would verify that the original condition is resolved?
- A clean hosted job reports the supported Python version after an image update.
- Only authorized repositories can target the sensitive runner group.
- Nested calls succeed only with explicitly permitted scopes and fail safely otherwise.
- Workflow validation rejects an unpinned third-party action and accepts an approved full-SHA reference.
Explanation
Correct Answer
A:The proposed result demonstrates that the original technical gap is closed: The workflow depends on a mutable image toolcache rather than a declared dependency.
Incorrect Answers
B:That result could verify Runner group repository scope, but not the failure reported at a pharmaceutical distribution network. The relevant acceptance result is: A clean hosted job reports the supported Python version after an image update.
C:The proposed signal checks a different behavior involving Nested reusable workflow scope. Here evidence must instead demonstrate: A clean hosted job reports the supported Python version after an image update.
D:The metric relates to Organization full sha policy and would leave the actual gap untested. A valid check is: A clean hosted job reports the supported Python version after an image update.
Question 550
Engineers supporting a pharmaceutical distribution network are investigating this situation: Developers assume a particular Python version is installed on every hosted runner image, but the deployment check breaks after image rotation. Which engineering principle should guide this decision?
- Scheduler labels describe execution capabilities and must match actual runner registration.
- Sensitive deployment credentials should follow approval and environment boundaries.
- Cache permissions should be scoped to trust level rather than only performance.
- Toolchain pinning creates more reliable automation than implicit hosted-image defaults.
Explanation
Correct Answer
D:This principle governs the problem at a pharmaceutical distribution network. Applying it leads to the targeted change: Explicitly set up the required Python version and inspect runner image release notes.
Incorrect Answers
A:This rule governs Runner label selection, not the constraint described by a pharmaceutical distribution network. The applicable rule is: Toolchain pinning creates more reliable automation than implicit hosted-image defaults.
B:That concept may matter in a different Environment secret approval design. Here the operational boundary is explained by: Toolchain pinning creates more reliable automation than implicit hosted-image defaults.
C:This principle does not account for the observed behavior; it belongs to Reusable cache policy. The relevant one is: Toolchain pinning creates more reliable automation than implicit hosted-image defaults.
GitHub Actions (GH-200) Practice Tests