All CompTIA exams
CompTIA AT0-001: CompTIA AutoOps+
What the AT0-001 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Duration
- 60 minutes
- Questions on the exam
- 60
- Passing score
- 600 (scale 100-900)
- Level
- Professional
- Topic areas
- 4
- Free practice questions
- 30
- Full question bank
- 112 questions
What the AT0-001 exam covers
The topic areas in our AT0-001 question bank, with each one's share of the 112 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Automation Coding Concepts | 31% | 35 |
| System Configuration | 25% | 28 |
| Continuous Integration | 24% | 27 |
| Continuous Delivery | 20% | 22 |
AT0-001 cost and format
| Exam code | AT0-001 |
|---|---|
| Certification | CompTIA AutoOps+ |
| Vendor | CompTIA |
| Level | Professional |
| Status | New |
| Languages | English |
| Released | June 2, 2026 |
Last checked November 10, 2026 against the official CompTIA exam page.
AT0-001 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Automation Coding Concepts
A Bash script pipes a file into a while loop and increments a counter inside the loop. After the loop finishes, echoing the counter prints 0. What is the most likely cause?
- AThe while loop does not support arithmetic expansion because the counter was never declared as an integer type
- BThe piped while loop runs in a subshell, so changes to its variables are not visible to the parent shell
- CVariables cannot be changed inside any loop construct, so the counter must be set in a separate function
- DThe counter was marked as read-only earlier in the script, which blocks every later assignment to it
Show answer and explanationHide answer
Correct answer: BIn Bash, each part of a pipeline, including the while loop here, runs in a subshell, so the parent shell keeps its original value of 0. The other options are wrong because Bash arithmetic works on untyped variables, loops can modify variables, and a read-only variable would produce an error rather than a silent 0.
Question 2System Configuration
A compliance scan shows that the SSH daemon setting on a web server differs from the value in the configuration repository. No one has committed a change to the repository. What is this condition called?
- ACanary deviation, where a subset of hosts is running a release that was intentionally held back from the fleet
- BImmutable replacement, where the server was rebuilt from a freshly built image that carries a new configuration
- CConfiguration drift, where the live system has diverged from its declared baseline over time
- DState locking, where a lock file prevents two concurrent runs from modifying the same state at the same time
Show answer and explanationHide answer
Correct answer: CConfiguration drift describes live systems that no longer match the declared desired state, often because of manual or out-of-band changes. The other options describe a rebuild, a release strategy, and a concurrency control, none of which explains a mismatch with the repository.
Question 3Continuous Integration
A pipeline builds an application and publishes the result for later deployment stages. Which property makes the published output suitable for storage in an artifact repository?
- AIt is a copy of the production database that is refreshed each time a new build of the application starts
- BIt is a mutable folder of source files that each deployment stage edits in place before it ships
- CIt is a list of unit test results that is overwritten by every new commit pushed to the shared branch
- DIt is a versioned, immutable build output such as a package or image that deployments reuse
Show answer and explanationHide answer
Correct answer: DAn artifact repository stores versioned build outputs so that the same tested package or image can be promoted through environments without being rebuilt. Editable source folders, overwritten test results, and database copies are not artifacts that deployments are meant to reuse.
Question 4Continuous Delivery
A team releases a new version to a small share of users first, watches error rates and latency, and only then sends more traffic to it. Which deployment strategy is this?
- ACanary release, where a small portion of traffic reaches the new version before a wider rollout
- BBlue-green deployment, where the full new environment is switched in at a single cutover point
- CRolling deployment, where instances are replaced in batches until every instance runs the new version
- DRecreate deployment, where all old instances are stopped before any new instances are started
Show answer and explanationHide answer
Correct answer: AA canary release exposes a limited group of users to the new version so that problems appear early with limited impact. Blue-green switches all traffic at a cutover, rolling replaces instances in batches, and recreate stops everything before starting the new version.
Question 5Automation Coding Concepts
A team writes a reusable Bash function that deletes files from the directory passed as its first argument. A caller once passed an empty value, and the team wants to prevent accidental deletion. Which safeguard fits best?
- AValidate that the argument is non-empty and matches an expected directory before any deletion runs
- BRemove the argument check and rely on each caller to pass a trusted, well-formed value every time
- CStore the target path in a global variable that defaults to the root directory when left unset
- DRun the function with elevated privileges so that permission errors never interrupt the cleanup job
Show answer and explanationHide answer
Correct answer: AChecking inputs inside the function stops an empty or unexpected value from reaching a destructive command. Removing the check, defaulting to the root directory, or raising privileges all increase the risk of deleting the wrong data.
How to prepare for AT0-001
- Read the official CompTIA outline first (exam page), so you know exactly what is in scope.
- Give the most time to Automation Coding Concepts and System Configuration: together they make up 56% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full AT0-001 question bank
All 112 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 112-question bank for AT0-001 is in final review. The free practice test is open now.
Start the free practice testAT0-001 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| CAS-005: CompTIA SecurityX | CompTIA | Expert |
| CS0-004: CompTIA CySA+ (V4) | CompTIA | Professional |
| CV0-004: CompTIA Cloud+ | CompTIA | Professional |
| CY0-001: CompTIA SecAI+ | CompTIA | Professional |
| DA0-002: CompTIA Data+ | CompTIA | Associate |
| FC0-U71: CompTIA Tech+ | CompTIA | Foundational |