Topic · 15 of 52 questions freeContinuous Integration
Question 11Choose 1
Match release metadata to its purpose.
SBOM Artifact digest Commit SHA
Supplied source solution: SBOM -> C. Component inventory; Artifact digest -> B. Exact artifact content identifier; Commit SHA -> A. Exact source revision identifier Explanation:
SBOM maps to C, the inventory of software components. Artifact digest maps to B, an identifier derived from the artifact's content. Commit SHA maps to A, the repository's source revision identifier. These metadata items answer different traceability questions and should be recorded together where required. Import review: The source solution is preserved above. The sample does not establish the application's ColumnMatch answer representation, so the existing answer-storage fields remain unchanged.
Why the other options are incorrect:
Not applicable: the supplied items are sequence steps or matching choices, rather than incorrect distractors.
A build consumes packages from an external repository. What should be enforced?
Correct answer:
B. Trusted sources and integrity verification
Answer Option (Which option is correct) B. Trusted sources and integrity verification Explanation:
Dependency retrieval should use approved sources and verify the expected package identity and integrity. A successful download alone does not establish that the content is the intended trusted input. Enforce the repository and integrity policy before using those packages in a release build.
Why the other options are incorrect:
A. Blindly trust all downloads: Blind trust provides no provenance or integrity assurance. A substituted package may be consumed without detection. External inputs need deliberate trust checks.
C. Accept unpinned arbitrary scripts: Arbitrary unpinned scripts can change between runs. Their origin and behavior are uncontrolled. That raises supply-chain and reproducibility risks.
D. Disable TLS: Disabling TLS weakens protection against transport interception. It does not verify package integrity. Trusted delivery and content checks should be retained.
A task runner needs an isolated environment for every job. What improves consistency?
Correct answer:
B. Provision clean declared environments
Answer Option (Which option is correct) B. Provision clean declared environments Explanation:
Provisioning a clean environment from a declared specification reduces variation caused by leftovers from earlier jobs. The same declared dependencies and configuration can then be applied for each execution. Isolation also limits accidental state sharing, but it must be implemented rather than assumed from the runner's name.
Why the other options are incorrect:
A. Use a developer's desktop session: A desktop session can contain undocumented tools and state. Another runner may not reproduce that environment. A declared isolated environment reduces hidden dependencies.
C. Disable dependency installation: Skipping dependency installation omits required runtime inputs. Clean jobs can then fail for missing libraries. Isolation must include the declared dependencies.
D. Reuse unknown host state forever: Unknown reused state carries contamination between jobs. Prior files or packages can alter later results. Fresh controlled environments improve consistency.
A long-running job's secret lease expires mid-run. What should be designed?
Correct answer:
B. Authorized renewal or reauthentication
Answer Option (Which option is correct) B. Authorized renewal or reauthentication Explanation:
The job should renew a renewable lease through the approved flow or obtain fresh credentials through authorized reauthentication. Do this before expiry when the operation must continue, and fail safely if the issuer refuses access. Extending execution does not automatically extend the credential's validity.
Why the other options are incorrect:
A. Silently ignore auth failures: Ignoring authentication failures leaves the job without valid access. It can create misleading success signals. Renewal failure needs explicit handling.
C. Expose the secret in logs: Logging the secret exposes the credential. It does not extend its lease. Renewal must use the authorized lifecycle interface.
D. Unlimited plaintext credential lifetime: Unlimited plaintext lifetime removes the intended expiry protection. It also leaves sensitive material unprotected. Bounded access with approved renewal is safer.
Order a pipeline where tests consume compiled output.
Test the compiled output
Check out the exact source revision
Publish the validated artifact
Compile the source
Supplied source solution: C. Check out the exact source revision -> B. Compile the source -> A. Test the compiled output -> D. Publish the validated artifact Explanation:
Check out the exact source revision before compiling it. Run the tests against that compiled output, then publish the output only after the required checks succeed. The stated dependency is that tests consume compiled output, so compilation must finish first. Import review: The source solution is preserved above. The sample does not establish the application's Ordering answer representation, so the existing answer-storage fields remain unchanged.
Why the other options are incorrect:
Not applicable: the supplied items are sequence steps or matching choices, rather than incorrect distractors.
Get exam-ready with a timed AT0 001 CompTIA AutoOps+ V1 mock exam designed to match the official exam's question format, question count, and time limit.