CompTIA certification · Exam AT0-001

AT0-001 Mock Exam Page 5

CompTIA AutoOps+ V1

Free AT0-001 mock exam questions 41–50, each with the answer and an explanation.

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

Free AT0-001 questions

41–50 of 61 free
Question 41 Choose 1
A build output should be stored for later controlled deployments. What resource fits?
Show answerHide answer

Correct answer: A Artifact registry

Explanation

Answer Option (Which option is correct) A. Artifact registry
Explanation:

An artifact registry stores build outputs so later stages can retrieve the intended version. It can apply access and version controls independently of the source repository. A controlled deployment should select a recorded artifact identity rather than assuming any current output is the validated one.

Why the other options are incorrect:

B. A local temporary log only:
A temporary log stores observations and may be discarded. It is not a controlled release-artifact distribution service. Builds need retrievable versioned storage.

C. Interactive shell history:
Shell history records entered commands. It does not reliably store the build output for later deployment. Release content belongs in an artifact repository.

D. DNS cache:
A DNS cache stores resolution results. It cannot hold and distribute application build packages. Artifact storage serves a different purpose.

References:

AWS ECR: immutable image tags

AWS IAM: security best practices
Question 42 Choose 2
Choose TWO artifact controls that support traceable releases.
Show answerHide answer

Correct answer: C, D Immutable artifact identifiersRecorded source revision

Explanation

Answer Option (Which option is correct) C. Immutable artifact identifiers
Answer Option (Which option is correct) D. Recorded source revision
Explanation:

Option C fixes the artifact identity so a released build cannot silently become different content. Option D records the source revision associated with that build. Together they support tracing a deployment back to both its built bytes and its source inputs.

Why the other options are incorrect:

A. Overwrite released versions silently:
Silent overwriting changes content behind an existing release identity. Earlier validation may no longer apply. Immutable identifiers preserve the tested artifact.

B. Deploy whichever latest tag resolves:
A mutable latest tag can resolve to different content later. It does not establish which exact build was approved. Traceability needs a fixed content identity.

References:

AWS ECR: immutable image tags

AWS IAM: security best practices
Question 43 Choose 1
A registry allows a builder to upload but a deployer only to download. What control is this?
Show answerHide answer

Correct answer: B Authorization

Explanation

Answer Option (Which option is correct) B. Authorization
Explanation:

Authorization assigns permitted actions to an authenticated identity. Granting upload to a builder and download to a deployer separates their registry capabilities. The identities can use the same registry while having different rights over its resources.

Why the other options are incorrect:

A. Load testing:
Load testing measures workload performance. It does not decide which registry operations an identity may perform. Upload and download rights are permissions.

C. Git merge:
Git merge combines source histories. It is not registry access enforcement. Distinct builder and deployer privileges require authorization rules.

D. JSON validation:
JSON validation checks document structure and values. It does not grant identity-specific registry rights. Syntax validation cannot substitute for permissions.

References:

AWS ECR: immutable image tags

AWS IAM: security best practices
Question 44 Choose 1
A released artifact version must never be overwritten. What registry policy fits?
Show answerHide answer

Correct answer: C Immutability

Explanation

Answer Option (Which option is correct) C. Immutability
Explanation:

An immutable release policy rejects attempts to replace an already published version under the same protected identifier. That preserves the relationship between a release identifier and its content. New content should receive a new permitted version or identifier rather than silently changing the existing release.

Why the other options are incorrect:

A. Anonymous write access:
Anonymous writing permits unidentified changes to registry content. It does not prevent a release from being replaced. It undermines controlled artifact ownership.

B. Disable checksums:
Disabling checksums removes an integrity check. It does not make a release unchangeable. Verification and overwrite prevention should remain enabled where supported.

D. Mutable latest-only tagging:
Mutable tagging allows a tag's target to change. That conflicts with the stated no-overwrite requirement. Release identifiers must be protected from reassignment.

References:

AWS ECR: immutable image tags

AWS IAM: security best practices
Question 45 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 46 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 47 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 48 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 49
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
Question 50 Choose 1
A new release should serve 5 percent of users before broader rollout. Which strategy fits?
Show answerHide answer

Correct answer: D Canary

Explanation

Answer Option (Which option is correct) D. Canary
Explanation:

A canary release initially exposes the candidate to a small portion of production traffic. Five percent is the limited initial sample specified here. Expansion should depend on the release policy and observed results rather than the initial percentage alone.

Why the other options are incorrect:

A. In-place:
In-place updating changes the existing environment. It does not inherently restrict traffic to a small user sample. The percentage-based rollout describes canary exposure.

B. Manual local patching:
Manual local patching changes a host directly. It supplies no defined small traffic cohort. A controlled rollout strategy is required.

C. Full immediate replacement:
Immediate full replacement exposes the release broadly at once. It removes the intended limited trial. Canary deployment starts with a small group.

References:

AWS: deployment strategies
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