Question 660
During a test network deployment at a telecommunications infrastructure team, engineers observe the following: Multiple repositories copy a security scanning snippet and slowly drift to different enforcement settings. What explains why the automation behaves this way?
- Deployment jobs lack coordination and execute the same target in parallel.
- Independently copied YAML fragments no longer receive synchronized maintenance.
- A mutable action reference does not identify a reproducible reviewed implementation.
- A high-trust event was combined with arbitrary contributor-controlled code execution.
Explanation
Correct Answer
B:The root mismatch connects the observed symptom to the missing configuration or trust boundary: Independently copied YAML fragments no longer receive synchronized maintenance. It can be tested using this evidence: Each approved caller executes the same reviewed security workflow version.
Incorrect Answers
A:This relates to Duplicate deployment concurrency; it would call for different acceptance evidence. For this case, the root cause is: Independently copied YAML fragments no longer receive synchronized maintenance.
C:Although relevant to Immutable third party sha, this diagnosis does not match the described failure. The actual causal link is: Independently copied YAML fragments no longer receive synchronized maintenance.
D:This relates to Privileged pull request checkout; it would call for different acceptance evidence. For this case, the root cause is: Independently copied YAML fragments no longer receive synchronized maintenance.
Question 661
A review for a telecommunications infrastructure team during a test network deployment records this problem: Multiple repositories copy a security scanning snippet and slowly drift to different enforcement settings. What would verify that the original condition is resolved?
- The unreviewed action is blocked until formally approved and pinned to a reviewed commit.
- Repeat runs resolve the approved commit even when upstream tags are moved.
- Only one approved deployment to the target proceeds while obsolete runs are canceled or serialized predictably.
- Each approved caller executes the same reviewed security workflow version.
Explanation
Correct Answer
D:This tests the actual failure mode at a telecommunications infrastructure team rather than merely showing that a configuration changed. Independently copied YAML fragments no longer receive synchronized maintenance.
Incorrect Answers
A:That result could verify Untrusted action allow policy, but not the failure reported at a telecommunications infrastructure team. The relevant acceptance result is: Each approved caller executes the same reviewed security workflow version.
B:The proposed signal checks a different behavior involving Immutable third party sha. Here evidence must instead demonstrate: Each approved caller executes the same reviewed security workflow version.
C:The metric relates to Duplicate deployment concurrency and would leave the actual gap untested. A valid check is: Each approved caller executes the same reviewed security workflow version.
Question 662
A CI/CD readiness check for a telecommunications infrastructure team reveals: Multiple repositories copy a security scanning snippet and slowly drift to different enforcement settings. Which engineering principle should guide this decision?
- Central reusable workflows reduce policy drift when access and versioning are controlled.
- Concurrency can protect shared state and reduce wasted automation capacity.
- Publisher reputation and Marketplace presence do not replace supply-chain verification.
- Workflow trust level must match the source code being executed.
Explanation
Correct Answer
A:Here the triggering gap is: Independently copied YAML fragments no longer receive synchronized maintenance.
Incorrect Answers
B:This principle does not account for the observed behavior; it belongs to Duplicate deployment concurrency. The relevant one is: Central reusable workflows reduce policy drift when access and versioning are controlled.
C:This rule governs Untrusted action allow policy, not the constraint described by a telecommunications infrastructure team. The applicable rule is: Central reusable workflows reduce policy drift when access and versioning are controlled.
D:That concept may matter in a different Privileged pull request checkout design. Here the operational boundary is explained by: Central reusable workflows reduce policy drift when access and versioning are controlled.
Question 663
A CI/CD readiness check for a managed service provider reveals: Multiple repositories copy a security scanning snippet and slowly drift to different enforcement settings. How can the team reduce the chance that this failure returns?
- Periodically review caller versions and rollout status for shared checks.
- Test cache isolation after changes to event triggers and reusable workflows.
- Audit trust conditions and cloud role scopes whenever deployment workflows change.
- Review token permissions during changes to workflow triggers or job responsibilities.
Explanation
Correct Answer
A:Applying this preventive check to future changes helps ensure the verified condition continues to hold: Each approved caller executes the same reviewed security workflow version.
Incorrect Answers
B:This control would reduce risk around Fork cache poisoning, but it does not prevent the reported failure from recurring. The fitting safeguard is: Periodically review caller versions and rollout status for shared checks.
C:The proposed routine targets Cloud oidc federation. At a managed service provider, recurrence is more directly prevented by: Periodically review caller versions and rollout status for shared checks.
D:This safeguard protects a different workflow involving Default github token scope; the actual root cause requires: Periodically review caller versions and rollout status for shared checks.
Question 664
Engineers supporting a managed service provider are investigating this situation: Multiple repositories copy a security scanning snippet and slowly drift to different enforcement settings. What first investigation step is most appropriate?
- Inspect whether repositories use jobs uses or standalone copied checks.
- Inspect workflow id-token permissions and the cloud federation trust configuration.
- Inspect cache key scopes, trigger permissions and caller cache-mode policy.
- Inspect the event type and checkout ref of the privileged job.
Explanation
Correct Answer
A:The key mechanism is: Independently copied YAML fragments no longer receive synchronized maintenance.
Incorrect Answers
B:The proposed check assumes a separate Cloud oidc federation failure. To narrow this case first: Inspect whether repositories use jobs uses or standalone copied checks.
C:Investigating Fork cache poisoning would delay diagnosis of the condition at a managed service provider; the direct first check is: Inspect whether repositories use jobs uses or standalone copied checks.
D:This inspection is useful when investigating Privileged pull request checkout, but it is not the first discriminator here. Inspect instead: Inspect whether repositories use jobs uses or standalone copied checks.
Question 665
In preparation for a runner fleet capacity review, engineers supporting a managed service provider notice: Multiple repositories copy a security scanning snippet and slowly drift to different enforcement settings. Which prerequisite or trust boundary must be satisfied?
- Do not shorten retention below a documented compliance obligation.
- Pinning a SHA does not replace reviewing dependencies inside that action.
- Repository rules must still require the security check where enforcement is mandatory.
- Cancellation must not interrupt a required migration or security checkpoint.
Explanation
Correct Answer
C:It follows from this engineering principle: Central reusable workflows reduce policy drift when access and versioning are controlled.
Incorrect Answers
A:The boundary may be necessary for a separate Artifact retention cost workflow, not the primary risk here. The relevant constraint is: Repository rules must still require the security check where enforcement is mandatory.
B:The constraint around Immutable third party sha is not the governing gate for a managed service provider. The original defect makes this condition decisive: Repository rules must still require the security check where enforcement is mandatory.
D:The boundary may be necessary for a separate Duplicate deployment concurrency workflow, not the primary risk here. The relevant constraint is: Repository rules must still require the security check where enforcement is mandatory.
Question 666
During an embedded build certification at a scientific instrumentation vendor, engineers observe the following: A deployment workflow prints its entire environment for debugging, exposing access tokens in logs. Which implementation step best addresses this exact issue?
- Remove broad environment dumps and log only safe redacted diagnostic fields.
- Declare contents read and remove unrelated write permissions for that job.
- Review the source and permissions, require immutable pinning and enforce the organization's approved-action policy.
- Pass the title through a safely quoted environment variable or parameter and validate expected input characters.
Explanation
Correct Answer
A:Diagnostic logging includes sensitive runtime values without minimization. Verify the result by checking that logs provide useful nonsecret execution context and no raw credentials.
Incorrect Answers
B:This adjustment addresses Default github token scope instead. For a scientific instrumentation vendor, the reported problem is caused by: Diagnostic logging includes sensitive runtime values without minimization.
C:That work belongs to a different failure involving Untrusted action allow policy. The described workflow needs the narrower change because diagnostic logging includes sensitive runtime values without minimization.
D:The proposal may suit Pull request title injection, but it does not resolve the mechanism visible at a scientific instrumentation vendor: Diagnostic logging includes sensitive runtime values without minimization.
Question 667
A review for a scientific instrumentation vendor during an embedded build certification records this problem: A deployment workflow prints its entire environment for debugging, exposing access tokens in logs. Which root cause should guide the correction?
- Expression expansion inserted attacker-controlled text into executable shell syntax.
- Token permissions are broader than the preview operation requires.
- Diagnostic logging includes sensitive runtime values without minimization.
- The release job is missing enforceable environment approval controls.
Explanation
Correct Answer
C:This explains the observed behavior at a scientific instrumentation vendor: Diagnostic logging includes sensitive runtime values without minimization. The appropriate correction is: Remove broad environment dumps and log only safe redacted diagnostic fields.
Incorrect Answers
A:That explanation predicts a separate Pull request title injection problem. The condition reported by a scientific instrumentation vendor instead follows from: Diagnostic logging includes sensitive runtime values without minimization.
B:Although relevant to Default github token scope, this diagnosis does not match the described failure. The actual causal link is: Diagnostic logging includes sensitive runtime values without minimization.
D:That explanation predicts a separate Protected production environment problem. The condition reported by a scientific instrumentation vendor instead follows from: Diagnostic logging includes sensitive runtime values without minimization.
Question 668
A CI/CD readiness check for a scientific instrumentation vendor reveals: A deployment workflow prints its entire environment for debugging, exposing access tokens in logs. Which test result best establishes that the issue is corrected?
- Repeated runs restore valid dependency caches with the same lockfile and still enforce dependency integrity.
- Malicious command separators remain inert data and no additional command runs.
- Logs provide useful nonsecret execution context and no raw credentials.
- Deployment pauses until an authorized reviewer approves and rejects on denial.
Explanation
Correct Answer
C:The observation is a direct acceptance condition for a scientific instrumentation vendor. It verifies the action: Remove broad environment dumps and log only safe redacted diagnostic fields.
Incorrect Answers
A:The proposed signal checks a different behavior involving Dependency cache cost optimization. Here evidence must instead demonstrate: Logs provide useful nonsecret execution context and no raw credentials.
B:The metric relates to Pull request title injection and would leave the actual gap untested. A valid check is: Logs provide useful nonsecret execution context and no raw credentials.
D:The proposed signal checks a different behavior involving Protected production environment. Here evidence must instead demonstrate: Logs provide useful nonsecret execution context and no raw credentials.
Question 669
Engineers supporting a scientific instrumentation vendor are investigating this situation: A deployment workflow prints its entire environment for debugging, exposing access tokens in logs. What operational principle best describes the safe approach?
- A job should receive only the resource scopes necessary for its task.
- Observability must not undermine confidentiality of automation secrets.
- Concurrency can protect shared state and reduce wasted automation capacity.
- Shared caches are untrusted inputs and require privilege-aware boundaries.
Explanation
Correct Answer
B:The principle explains the reported failure: Diagnostic logging includes sensitive runtime values without minimization. The acceptance evidence is: Logs provide useful nonsecret execution context and no raw credentials.
Incorrect Answers
A:This principle does not account for the observed behavior; it belongs to Default github token scope. The relevant one is: Observability must not undermine confidentiality of automation secrets.
C:That concept may matter in a different Duplicate deployment concurrency design. Here the operational boundary is explained by: Observability must not undermine confidentiality of automation secrets.
D:This principle does not account for the observed behavior; it belongs to Fork cache poisoning. The relevant one is: Observability must not undermine confidentiality of automation secrets.
Question 670
Engineers supporting an analytical equipment developer are investigating this situation: A deployment workflow prints its entire environment for debugging, exposing access tokens in logs. What preventive measure fits this exact failure mode?
- Monitor canceled and pending deployment jobs for unintended impacts.
- Add secret-safe logging review and automated scanning to sensitive workflows.
- Monitor upstream security releases and renew pins after review.
- Flag elevated-event checkout changes for dedicated security review.
Explanation
Correct Answer
B:This control addresses the recurring source of the defect at an analytical equipment developer: Diagnostic logging includes sensitive runtime values without minimization.
Incorrect Answers
A:This control would reduce risk around Duplicate deployment concurrency, but it does not prevent the reported failure from recurring. The fitting safeguard is: Add secret-safe logging review and automated scanning to sensitive workflows.
C:This safeguard protects a different workflow involving Immutable third party sha; the actual root cause requires: Add secret-safe logging review and automated scanning to sensitive workflows.
D:This control would reduce risk around Privileged pull request checkout, but it does not prevent the reported failure from recurring. The fitting safeguard is: Add secret-safe logging review and automated scanning to sensitive workflows.
GitHub Actions (GH-200) Practice Tests