Question 310
An automation change at a mobile games studio exposes this failure: A Docker action works locally but fails on a Linux GitHub-hosted runner after its base image tag changes unexpectedly. What technical cause best explains the reported failure?
- Composite action run steps require a shell specification that the metadata lacks.
- The distribution package is missing mandatory metadata or publishing settings.
- A floating Docker base tag introduced an untested runtime dependency.
- The image starts correctly but receives none of the intended caller parameters.
Explanation
Correct Answer
C:The root mismatch connects the observed symptom to the missing configuration or trust boundary: A floating Docker base tag introduced an untested runtime dependency. It can be tested using this evidence: The reviewed image digest starts and completes the action on supported Linux runners.
Incorrect Answers
A:This relates to Composite shell declaration; it would call for different acceptance evidence. For this case, the root cause is: A floating Docker base tag introduced an untested runtime dependency.
B:That explanation predicts a separate Marketplace listing metadata problem. The condition reported by a mobile games studio instead follows from: A floating Docker base tag introduced an untested runtime dependency.
D:This relates to Docker entrypoint argument; it would call for different acceptance evidence. For this case, the root cause is: A floating Docker base tag introduced an untested runtime dependency.
Question 311
A workflow review for a mobile games studio identifies a specific risk: A Docker action works locally but fails on a Linux GitHub-hosted runner after its base image tag changes unexpectedly. Which observation is the most meaningful proof of repair?
- The action's release passes the Marketplace validation and its listing references an approved version.
- Malicious metacharacters are rejected or treated as literal data with no extra command execution.
- The reviewed image digest starts and completes the action on supported Linux runners.
- Downstream composite steps read the computed checksum consistently.
Explanation
Correct Answer
C:This tests the actual failure mode at a mobile games studio rather than merely showing that a configuration changed. A floating Docker base tag introduced an untested runtime dependency.
Incorrect Answers
A:That result could verify Marketplace listing metadata, but not the failure reported at a mobile games studio. The relevant acceptance result is: The reviewed image digest starts and completes the action on supported Linux runners.
B:The proposed signal checks a different behavior involving Untrusted action input. Here evidence must instead demonstrate: The reviewed image digest starts and completes the action on supported Linux runners.
D:That result could verify Composite step output file, but not the failure reported at a mobile games studio. The relevant acceptance result is: The reviewed image digest starts and completes the action on supported Linux runners.
Question 312
During a release-candidate validation at a mobile games studio, engineers observe the following: A Docker action works locally but fails on a Linux GitHub-hosted runner after its base image tag changes unexpectedly. What principle should the team apply when judging solutions?
- Private action reuse requires explicit source repository access policy.
- Container actions still require reproducible images and platform compatibility.
- Container action configuration spans metadata, image entrypoint and argument handling.
- Local path actions are source-tree dependencies rather than automatically downloaded Marketplace components.
Explanation
Correct Answer
B:Here the triggering gap is: A floating Docker base tag introduced an untested runtime dependency.
Incorrect Answers
A:That concept may matter in a different Private action access design. Here the operational boundary is explained by: Container actions still require reproducible images and platform compatibility.
C:This rule governs Docker entrypoint argument, not the constraint described by a mobile games studio. The applicable rule is: Container actions still require reproducible images and platform compatibility.
D:That concept may matter in a different Local action relative path design. Here the operational boundary is explained by: Container actions still require reproducible images and platform compatibility.
Question 313
During a build performance review at an interactive entertainment provider, engineers observe the following: A Docker action works locally but fails on a Linux GitHub-hosted runner after its base image tag changes unexpectedly. Which repeatable process control should be adopted?
- Test caller input propagation from YAML through to the container process.
- Review Docker image digests and rebuild dependencies on a controlled cadence.
- Include local-action path tests in a fresh workflow run.
- Run Marketplace metadata checks before marking a public release ready.
Explanation
Correct Answer
B:Applying this preventive check to future changes helps ensure the verified condition continues to hold: The reviewed image digest starts and completes the action on supported Linux runners.
Incorrect Answers
A:This safeguard protects a different workflow involving Docker entrypoint argument; the actual root cause requires: Review Docker image digests and rebuild dependencies on a controlled cadence.
C:The proposed routine targets Local action relative path. At an interactive entertainment provider, recurrence is more directly prevented by: Review Docker image digests and rebuild dependencies on a controlled cadence.
D:This safeguard protects a different workflow involving Marketplace listing metadata; the actual root cause requires: Review Docker image digests and rebuild dependencies on a controlled cadence.
Question 314
A review for an interactive entertainment provider during a build performance review records this problem: A Docker action works locally but fails on a Linux GitHub-hosted runner after its base image tag changes unexpectedly. Which observation most quickly narrows the cause?
- Inspect the Dockerfile base reference and failing container startup logs.
- Inspect the producing step id and output-file command.
- Inspect action source for legacy commands and GITHUB_OUTPUT writes.
- Inspect the resolved action commit in run logs and upstream tag history.
Explanation
Correct Answer
A:The key mechanism is: A floating Docker base tag introduced an untested runtime dependency.
Incorrect Answers
B:The proposed check assumes a separate Composite step output file failure. To narrow this case first: Inspect the Dockerfile base reference and failing container startup logs.
C:Investigating Workflow command usage would delay diagnosis of the condition at an interactive entertainment provider; the direct first check is: Inspect the Dockerfile base reference and failing container startup logs.
D:This inspection is useful when investigating Action version tag drift, but it is not the first discriminator here. Inspect instead: Inspect the Dockerfile base reference and failing container startup logs.
Question 315
A CI/CD readiness check for an interactive entertainment provider reveals: A Docker action works locally but fails on a Linux GitHub-hosted runner after its base image tag changes unexpectedly. What constraint must remain true for a safe outcome?
- Allowing reuse must not expose the private action to unrelated repositories.
- Docker container actions require a supported container-capable runner environment.
- Major-version tags are convenient but not immutable supply-chain attestations.
- Dependency updates must be scanned and rebuilt before release.
Explanation
Correct Answer
B:It follows from this engineering principle: Container actions still require reproducible images and platform compatibility.
Incorrect Answers
A:The boundary may be necessary for a separate Private action access workflow, not the primary risk here. The relevant constraint is: Docker container actions require a supported container-capable runner environment.
C:This constraint addresses Action version tag drift, whereas the described change must first satisfy: Docker container actions require a supported container-capable runner environment.
D:The boundary may be necessary for a separate Bundled JavaScript dependencies workflow, not the primary risk here. The relevant constraint is: Docker container actions require a supported container-capable runner environment.
Question 316
An automation change at a telecommunications infrastructure team exposes this failure: Consumers pass a repository path to a custom action, but the action silently uses a hard-coded folder instead. What should the engineer change to resolve the reported behavior?
- Align the Dockerfile entrypoint and action metadata args with the script's argument parser.
- Check out the repository first and reference the action directory with an appropriate local path.
- Declare the path as an action input and consume its supplied or default value explicitly.
- Use the supported GITHUB_OUTPUT environment-file mechanism for output exchange.
Explanation
Correct Answer
C:The action omits a documented input contract and ignores the caller's with configuration. Verify the result by checking that the action processes the caller-selected folder while the default works when no value is supplied.
Incorrect Answers
A:The proposal may suit Docker entrypoint argument, but it does not resolve the mechanism visible at a telecommunications infrastructure team: The action omits a documented input contract and ignores the caller's with configuration.
B:This adjustment addresses Local action relative path instead. For a telecommunications infrastructure team, the reported problem is caused by: The action omits a documented input contract and ignores the caller's with configuration.
D:The proposal may suit Workflow command usage, but it does not resolve the mechanism visible at a telecommunications infrastructure team: The action omits a documented input contract and ignores the caller's with configuration.
Question 317
A workflow review for a telecommunications infrastructure team identifies a specific risk: Consumers pass a repository path to a custom action, but the action silently uses a hard-coded folder instead. What explains why the automation behaves this way?
- The image starts correctly but receives none of the intended caller parameters.
- Composite action run steps require a shell specification that the metadata lacks.
- The action omits a documented input contract and ignores the caller's with configuration.
- Plain log output is not the supported structured output channel.
Explanation
Correct Answer
C:This explains the observed behavior at a telecommunications infrastructure team: The action omits a documented input contract and ignores the caller's with configuration. The appropriate correction is: Declare the path as an action input and consume its supplied or default value explicitly.
Incorrect Answers
A:That explanation predicts a separate Docker entrypoint argument problem. The condition reported by a telecommunications infrastructure team instead follows from: The action omits a documented input contract and ignores the caller's with configuration.
B:Although relevant to Composite shell declaration, this diagnosis does not match the described failure. The actual causal link is: The action omits a documented input contract and ignores the caller's with configuration.
D:That explanation predicts a separate Workflow command usage problem. The condition reported by a telecommunications infrastructure team instead follows from: The action omits a documented input contract and ignores the caller's with configuration.
Question 318
During a test network deployment at a telecommunications infrastructure team, engineers observe the following: Consumers pass a repository path to a custom action, but the action silently uses a hard-coded folder instead. What would verify that the original condition is resolved?
- The action's release passes the Marketplace validation and its listing references an approved version.
- The job resolves the local action and completes on a fresh clean runner.
- Only the approved consumer repositories can resolve the action at its pinned version.
- The action processes the caller-selected folder while the default works when no value is supplied.
Explanation
Correct Answer
D:The observation is a direct acceptance condition for a telecommunications infrastructure team. It verifies the action: Declare the path as an action input and consume its supplied or default value explicitly.
Incorrect Answers
A:The proposed signal checks a different behavior involving Marketplace listing metadata. Here evidence must instead demonstrate: The action processes the caller-selected folder while the default works when no value is supplied.
B:The metric relates to Local action relative path and would leave the actual gap untested. A valid check is: The action processes the caller-selected folder while the default works when no value is supplied.
C:That result could verify Private action access, but not the failure reported at a telecommunications infrastructure team. The relevant acceptance result is: The action processes the caller-selected folder while the default works when no value is supplied.
Question 319
A review for a telecommunications infrastructure team during a test network deployment records this problem: Consumers pass a repository path to a custom action, but the action silently uses a hard-coded folder instead. Which engineering principle should guide this decision?
- Workflow commands and environment files have defined parser and scope semantics.
- Custom actions should expose configurable behavior through stable input contracts.
- Action dependency identity should be reproducible and auditable.
- Workflow actions must declare or arrange their filesystem prerequisites.
Explanation
Correct Answer
B:The principle explains the reported failure: The action omits a documented input contract and ignores the caller's with configuration. The acceptance evidence is: The action processes the caller-selected folder while the default works when no value is supplied.
Incorrect Answers
A:This principle does not account for the observed behavior; it belongs to Workflow command usage. The relevant one is: Custom actions should expose configurable behavior through stable input contracts.
C:That concept may matter in a different Action version tag drift design. Here the operational boundary is explained by: Custom actions should expose configurable behavior through stable input contracts.
D:This principle does not account for the observed behavior; it belongs to Action repository checkout. The relevant one is: Custom actions should expose configurable behavior through stable input contracts.
Question 320
A review for a managed service provider during a runner fleet capacity review records this problem: Consumers pass a repository path to a custom action, but the action silently uses a hard-coded folder instead. How can the team reduce the chance that this failure returns?
- Add input-default and override tests to the action release suite.
- Add a checksum output roundtrip test to the action repository.
- Validate action metadata and a sample local consumer on every release.
- Run Marketplace metadata checks before marking a public release ready.
Explanation
Correct Answer
A:This control addresses the recurring source of the defect at a managed service provider: The action omits a documented input contract and ignores the caller's with configuration.
Incorrect Answers
B:The proposed routine targets Composite step output file. At a managed service provider, recurrence is more directly prevented by: Add input-default and override tests to the action release suite.
C:This safeguard protects a different workflow involving Composite action metadata; the actual root cause requires: Add input-default and override tests to the action release suite.
D:This control would reduce risk around Marketplace listing metadata, but it does not prevent the reported failure from recurring. The fitting safeguard is: Add input-default and override tests to the action release suite.
GitHub Actions (GH-200) Practice Tests