CompTIA certification · Exam AT0-001

AT0-001 Mock Exam Page 2

CompTIA AutoOps+ V1

Free AT0-001 questions on Continuous Integration, each with the answer and an explanation.

20 questions · 20 minutes · free, no sign-up

Continuous Integration questions

11–15 of 15 free
Question 11 Choose 1
Match release metadata to its purpose.

SBOM
Artifact digest
Commit SHA
Show answerHide answer

Explanation

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.

References:

NIST: software bill of materials

Docker: build best practices

Git: git commit
Question 12 Choose 1
A build consumes packages from an external repository. What should be enforced?
Show answerHide answer

Correct answer: B Trusted sources and integrity verification

Explanation

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.

References:

pip: repeatable installations

GitHub Actions: secure use
Question 13 Choose 1
A task runner needs an isolated environment for every job. What improves consistency?
Show answerHide answer

Correct answer: B Provision clean declared environments

Explanation

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.

References:

GitHub Actions: self-hosted runners

GitHub Actions: secure use
Question 14 Choose 1
A long-running job's secret lease expires mid-run. What should be designed?
Show answerHide answer

Correct answer: B Authorized renewal or reauthentication

Explanation

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.

References:

Vault: leases, renewal and revocation
Question 15
Order a pipeline where tests consume compiled output.
Show answerHide answer

Explanation

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.

References:

GitHub Actions: workflow syntax

That's the last free question in Continuous Integration

You've seen the free 30% (15 of 52 questions). Full access unlocks every question and full-length AT0-001 mock exams (60 questions, 60 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the AT0-001 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real AT0-001 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full AT0-001 mock exam
  • 60questions per mock
  • 60 mintime limit
  • 211questions in the bank
  • Newmock on every attempt