CompTIA AutoOps + AT0-001 (V1) Exam Practice Test 3

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11201 | Total Attempts: 9,875,275
| Questions: 25 | Updated: Sep 25, 2026
Please wait...
Question 1 / 26
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. After a configuration change, a deployed service starts but immediately exits with a stack trace pointing to a missing environment variable that the application expects at startup. What kind of issue is this?

Explanation

The service itself is failing because a value it depends on was not provided, which is an application-level configuration failure rather than an infrastructure or networking issue. The fix is to ensure the automation supplies every environment variable the application requires before starting it. Reviewing the deployment's environment variable list against the application's documented requirements would catch this.

Submit
Please wait...
About This Quiz
CompTIA Autoops + At0-001 (V1) Exam Practice Test 3 - Quiz

This assessment focuses on the CompTIA AutoOps + AT0-001 (V1) certification, evaluating your understanding of automation operations in IT environments. It covers essential concepts such as cloud computing, automation tools, and operational best practices. This resource is valuable for learners preparing for the certification, helping to reinforce knowledge and identify... see moreareas for improvement. see less

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. A development team wants to manage cloud storage buckets directly from within their Python application code, rather than shelling out to CLI commands. What should they use?

Explanation

An SDK provides libraries that let application code call a cloud provider's APIs natively in a given programming language, without spawning external CLI processes. This integrates more cleanly with error handling, typing, and the application's existing code structure. The CLI is better suited to interactive or scripted shell use rather than embedding in application logic.

Submit

3. A service maintained 99.5% uptime over a 30-day month (43,200 minutes). The total downtime for the month was approximately ____ minutes.

Explanation

Uptime of 99.5% means 0.5% of the month was downtime. Multiplying 43,200 minutes by 0.005 gives 216 minutes of downtime. Tracking this figure against an SLO or SLA target shows whether the service is meeting its reliability commitment.

Submit

4. A team reviews last month's incidents in a retrospective and updates its alerting thresholds and runbooks based on what was learned. Which two statements describe how this supports application service levels? (Select two.)

Explanation

A feedback loop uses information from past incidents, such as what triggered them and how long they took to resolve, to make targeted improvements. Clearer runbooks and better alerting typically reduce how long the next similar incident takes to resolve. None of this changes the wording of a contractual SLA or guarantees future uptime, since new and different failures can still occur.

Submit

5. Immediately after a release finishes rolling out, the pipeline automatically runs a suite of checks against the live production endpoints to confirm the new version behaves correctly under real traffic patterns. What is this practice called?

Explanation

Post-deployment testing validates the application after it has actually been released, checking real endpoints rather than a staging copy. This catches environment-specific issues that pre-release testing might miss. If problems are found, the pipeline can trigger a hotfix or an automated rollback.

Submit

6. A team wants to update 20 application instances behind a load balancer, replacing a few at a time so the service never has zero healthy instances and no second full environment is needed. Which delivery method fits?

Explanation

A rolling deployment updates instances in small batches, taking each batch out of the load balancer, updating it, and returning it to service before moving to the next batch. This avoids a full outage and does not require duplicating the entire environment like blue-green does. It is a common default for stateless web tiers with several instances.

Submit

7. A pipeline can successfully log in to the artifact registry with its service account credentials, but every attempt to publish a new package returns HTTP 403 Forbidden. What is the most likely cause?

Explanation

A 403 response after a successful login indicates an authorization problem: the identity is recognized, but it does not have permission for the requested action. Authentication confirms who the caller is, while authorization determines what that caller is allowed to do. The fix is to grant the service account write access to the target repository.

Submit

8. A pipeline definition file at the root of a GitLab repository defines stages, jobs, and rules for when each job runs. What is this file called?

Explanation

GitLab CI/CD reads its pipeline configuration from a file named .gitlab-ci.yml at the repository root by default. It defines stages, jobs, scripts, and rules that control execution. Other platforms use their own equivalent file, such as a Jenkinsfile for Jenkins or workflow YAML files for GitHub Actions.

Submit

9. A team wants engineers to be able to trigger a rollback of the last deployment by typing a command in their team chat channel, without opening the CI tool's web interface. What capability supports this?

Explanation

ChatOps connects a chat platform to automation tooling so that typing a recognized command in a channel triggers a corresponding pipeline job, such as a rollback. This keeps common operational actions available to the team without leaving the tool they already collaborate in. Scheduled triggers and push-based webhooks are not initiated by a person's chat message.

Submit

10. A team wants to add security scanning and code quality scanning to its pipeline without slowing down every build significantly. Which two practices help balance thoroughness with speed? (Select two.)

Explanation

Running scans in parallel with independent stages, and caching scanner dependencies between runs, both cut wall-clock time without skipping any checks. Scanning only after production deployment defeats the purpose of catching issues before release. Serializing every job behind the scan adds delay without any security benefit.

Submit

11. A CI job needs a clean, isolated environment with a specific Node.js version for every run, without leftover state from previous jobs. Which task runner capability addresses this?

Explanation

Task runners can provision a fresh, isolated environment, often a container, for each job so dependencies and state never leak between runs. This keeps builds reproducible regardless of what a previous job left behind. Artifact immutability and branch naming address different concerns entirely.

Submit

12. A pipeline currently uses a database password that is manually rotated every six months. Security wants credentials that are generated fresh for each pipeline run and automatically expire shortly after. Which capability should the team adopt?

Explanation

Dynamic secret rotation generates a new, short-lived credential for each request or run and revokes it automatically after a set lease. This drastically reduces the exposure window compared with a long-lived password rotated on a fixed schedule. Static secrets and encoded passwords in YAML both keep a long-lived value that is valuable if leaked.

Submit

13. A configuration file fails validation with Unexpected token } in JSON. The last two key-value pairs in the object are "port": 8080, "host": "db01",} . The trailing character before the closing brace that must be removed is a ____.

Explanation

Standard JSON does not allow a trailing comma after the last item in an object or array. The extra comma after "host": "db01" makes the closing brace appear where another key-value pair was expected, which causes the parse error. Removing the trailing comma restores valid JSON.

Submit

14. An automation script reads a configuration file and must distinguish between the number 5, the string "5", and the boolean true. Which data format natively preserves these as distinct types when the file is parsed?

Explanation

JSON defines distinct literal syntaxes for numbers, strings, and booleans, so a parser returns 5 as a number, "5" as a string, and true as a boolean without extra conversion. Plain text and CSV formats store everything as characters, leaving the script to infer or cast types itself. This is why JSON is a common format for structured automation input and API payloads.

Submit

15. A script authenticates to a REST API using a bearer token and needs the API to return JSON instead of its default XML response. Which two HTTP headers should the request include?

Explanation

The Authorization header carries the bearer token that proves the caller's identity to the API. The Accept header tells the server which response format the client wants back, so setting it to application/json requests a JSON body instead of the default XML. Getting these headers right is a common first troubleshooting step for REST API scripts.

Submit

16. A configuration management tool is being selected for a fleet of 2,000 ephemeral cloud instances that boot and configure themselves without any central system reaching out to them. Which two statements correctly describe the pull model being used? (Select two.)

Explanation

In a pull model, each managed node periodically checks in with a central source and applies whatever configuration it finds, rather than waiting for a controller to reach out. This scales well because nodes pull independently instead of requiring the controller to maintain live connections to every host. A push model is the one that requires the controller to know and connect to each node directly.

Submit

17. A newly provisioned application server cannot resolve internal-db.corp.local, even though the address is reachable by IP. What configuration item should the automation verify first?

Explanation

A name that resolves by IP but not by hostname points to a DNS resolution problem rather than a network reachability problem. Checking the resolver addresses and search domain configured on the host is the right first step. CPU allocation and Git branches have no bearing on name resolution.

Submit

18. A configuration management run reports that a fleet of internal API servers is serving an expired TLS certificate, causing client connections to fail. What is the most appropriate remediation to build into the automation?

Explanation

Automating certificate renewal before expiration prevents outages caused by expired certificates, which is a common and avoidable failure. This typically integrates with a certificate authority or an internal PKI to request and install the new certificate. Disabling TLS would remove encryption entirely and is not an acceptable fix.

Submit

19. A script runs without any syntax complaints from the interpreter, but it crashes partway through execution with a division by zero when a particular input file is empty. What category of error is this?

Explanation

A runtime error occurs while the code is executing, even though the code itself parsed correctly. Dividing by zero depends on the data encountered during a specific run, which is why it was not caught earlier. Adding a check for an empty input, or wrapping the operation in error handling, prevents the crash.

Submit

20. An engineer is choosing the right command-line tool for different automation tasks. Match each task to the best-suited tool.

Explanation

Each tool specializes in a different text-processing task. grep filters lines by pattern, awk works well with column-based data, sed performs stream substitutions, jq parses and queries JSON, and PowerShell Cmdlets return structured .NET objects rather than plain text. Choosing the right tool avoids writing complex logic that a purpose-built tool already handles.

Submit

21. A CI job that has run successfully for months suddenly fails with remote: Support for password authentication was removed. What is the most likely fix?

Explanation

Many Git hosting providers have disabled plain password authentication over HTTPS in favor of tokens or SSH keys. The fix is to generate a personal access token or SSH key and update the pipeline's stored credential or remote URL to use it. Reinitializing the repository or force-pushing does nothing to address the authentication method.

Submit

22. One infrastructure script says "there should be three web servers running version 2.4" and lets the tool figure out what to create, change, or remove to reach that state. Another script issues step-by-step commands to create each server one at a time. Which approach does the first script use?

Explanation

A declarative approach describes the desired end state and leaves the tool to determine the steps needed to get there. An imperative approach instead lists the exact sequence of commands to execute. Declarative tools like Terraform or Ansible compare current and desired state and compute the difference automatically.

Submit

23. A team wants every commit to automatically fail if the code has syntax problems or violates the team's style guide, before a human reviewer even looks at it. Which two commit-hook practices achieve this? (Select two.)

Explanation

Pre-commit hooks run automatically before a commit is created, so a linter can reject code with syntax or style violations right away. An auto-formatter hook rewrites code into a consistent style so reviewers do not need to comment on formatting. Disabling hooks removes this safety net entirely.

Submit

24. A nightly job fails intermittently, and the on-call engineer wants to know exactly which line of automation code threw the exception and what input triggered it. Where should the engineer look first?

Explanation

Application logs capture what the running code actually did, including error messages, stack traces, and relevant variable values at the time of failure. This is the most direct source of evidence for diagnosing a runtime problem. Git history explains what changed in the code, not what happened during a specific failed execution.

Submit

25. A script must replace every occurrence of the word staging with production inside deploy.conf and save the change in place. The command is: sed ____ 's/staging/production/g' deploy.conf

Explanation

The -i flag tells sed to edit the file in place rather than printing the result to standard output. The s/staging/production/g expression substitutes every occurrence on each line because of the trailing g flag. On some BSD-based systems -i requires an explicit empty string argument for the backup suffix.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (25)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
After a configuration change, a deployed service starts but...
A development team wants to manage cloud storage buckets directly from...
A service maintained 99.5% uptime over a 30-day month (43,200...
A team reviews last month's incidents in a retrospective and updates...
Immediately after a release finishes rolling out, the pipeline...
A team wants to update 20 application instances behind a load...
A pipeline can successfully log in to the artifact registry with its...
A pipeline definition file at the root of a GitLab repository defines...
A team wants engineers to be able to trigger a rollback of the last...
A team wants to add security scanning and code quality scanning to its...
A CI job needs a clean, isolated environment with a specific Node.js...
A pipeline currently uses a database password that is manually rotated...
A configuration file fails validation with Unexpected token } in JSON....
An automation script reads a configuration file and must distinguish...
A script authenticates to a REST API using a bearer token and needs...
A configuration management tool is being selected for a fleet of 2,000...
A newly provisioned application server cannot resolve...
A configuration management run reports that a fleet of internal API...
A script runs without any syntax complaints from the interpreter, but...
An engineer is choosing the right command-line tool for different...
A CI job that has run successfully for months suddenly fails with...
One infrastructure script says "there should be three web servers...
A team wants every commit to automatically fail if the code has syntax...
A nightly job fails intermittently, and the on-call engineer wants to...
A script must replace every occurrence of the word staging with...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!