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

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. A configuration management server shows dozens of managed nodes as unreachable, though the nodes themselves are running and reachable over SSH. What is the most likely cause?

Explanation

When a fleet of nodes appears unreachable to the management server while still responding to direct SSH, the most likely cause is the agent process itself, since it is a separate service from SSH. The agent may have crashed, lost its network path to the server, or have an expired credential. Checking the agent's service status and logs on an affected node is the right next step.

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

This assessment focuses on the CompTIA AutoOps + AT0-001 (V1) exam content, evaluating your knowledge of automation and operational practices in IT environments. It is designed to help learners prepare effectively for certification by testing key concepts and skills essential for success in the field. Engaging with this material will... see moreenhance your understanding of AutoOps, making it a valuable resource for aspiring professionals. 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. An automation job running inside a cloud environment needs to call a third-party SaaS API that requires an API key. What is the most secure way to supply that key to the job?

Explanation

A secrets manager stores sensitive values like third-party API keys centrally and releases them only to identities that IAM policy explicitly authorizes. Injecting the value at runtime means it never lives in source code, images, or chat logs, which are all much easier for an attacker to access than a scoped secrets manager. This approach also makes it easy to rotate the key without touching application code.

Submit

3. A team sets an internal SLO of 99.95% monthly availability, while their contract with customers specifies an SLA of 99.9% with service credits for missed months. Which two statements are correct? (Select two.)

Explanation

Setting the internal SLO tighter than the external SLA gives the team a warning sign before they risk breaching the customer-facing commitment. At 99.92% availability, the team fell short of its own 99.95% SLO target but still stayed above the 99.9% SLA threshold, so no contractual breach occurred. SLOs are internal targets and typically carry no financial penalty on their own, unlike SLAs.

Submit

4. Shortly after a release, a critical bug causes failed payments in production. The team prepares a minimal, urgent fix targeted only at that bug and pushes it through an expedited pipeline outside the normal release cycle. What is this called?

Explanation

A hotfix is a small, urgent change made specifically to address a critical issue in production, usually released outside the team's normal cadence because the problem cannot wait for the next scheduled release. It is typically applied to the affected release branch and then merged back into ongoing development. Feature branches, by contrast, carry planned new functionality rather than emergency fixes.

Submit

5. Before a major marketing campaign, a team wants to confirm the checkout service can handle five times its normal traffic without unacceptable latency or errors. Which QA practice should they run?

Explanation

Load testing simulates elevated traffic volumes to measure how a system performs under stress, revealing bottlenecks before they affect real customers. This is exactly the kind of validation needed before an expected traffic spike. Regression testing instead checks that existing functionality still works correctly, which is a different concern from capacity.

Submit

6. A small internal tool with a single instance and no user-facing uptime requirement is updated by stopping the running process, replacing its files, and starting it again. Which delivery method is this?

Explanation

An in-place deployment updates a single running instance directly, which necessarily causes a brief outage while the process is stopped and restarted. This is acceptable for low-priority internal tools where downtime has minimal impact, but it is a poor fit for services requiring continuous availability. Rolling and blue-green deployments avoid this downtime by keeping other instances or environments serving traffic during the update.

Submit

7. A CI configuration file defines named jobs such as build, test, and deploy, each specifying the commands to execute and the environment to run in. The component responsible for actually executing these defined jobs is called the task ____.

Explanation

A task runner is the component that reads a job's defined steps and executes them in a provisioned environment, whether that is a container, a virtual machine, or a bare-metal agent. It handles environment provisioning, running the specified commands, and reporting the result back to the pipeline. Popular CI platforms each ship their own task runner implementation, sometimes called an agent or executor.

Submit

8. A pipeline is configured so that any commit pushed to any branch automatically starts the build and test stages, without a person clicking anything. What kind of trigger is this?

Explanation

A push trigger starts a pipeline automatically whenever new commits are pushed to the repository, which is the most common way to run continuous integration builds. This gives developers immediate feedback on every change without needing to start the pipeline themselves. A scheduled trigger instead runs at fixed times regardless of push activity.

Submit

9. A pipeline occasionally fails with lengthy, unfamiliar error logs, and engineers spend significant time manually scanning them to find the root cause. Which pipeline-enhancing concept is designed to speed this up?

Explanation

AI-based log analysis tools scan pipeline output and surface the most likely relevant error or root cause automatically, cutting down manual log review time. This is especially useful for lengthy logs from complex, multi-stage builds. Containerization and versioning address environment consistency and release tracking, not log interpretation.

Submit

10. A pipeline should only run its deployment job when changes are pushed to the main branch, and should skip deployment for pushes to any other branch. Which orchestration feature accomplishes this?

Explanation

Conditional execution lets a pipeline evaluate context, such as the branch name, and decide whether a specific job should run. This allows one pipeline definition to safely handle both feature branches and the main branch without deploying every push. Removing the job entirely would prevent deployment even from main.

Submit

11. A security team is redesigning how the pipeline accesses cloud secrets, aiming for a Zero Trust approach instead of trusting any request that reaches the internal network. Which two practices reflect Zero Trust principles? (Select two.)

Explanation

Zero Trust assumes no request should be trusted by default, even from inside the network, so every request for a secret must be authenticated and authorized on its own merits. Pairing this with least-privilege, short-lived credentials limits what an attacker could do even if one request were compromised. Trusting internal network location alone, or sharing one broad-access file, is exactly the assumption Zero Trust is designed to remove.

Submit

12. A company wants to cache third-party packages from the public internet locally, both to speed up builds and to keep working if the public package index has an outage. What should they configure?

Explanation

An external, or proxy, artifact repository sits between the build system and public package sources, caching packages the first time they are requested. Later builds pull from the local cache, which is faster and keeps working even if the public source is temporarily unavailable. This is a common practice for npm, PyPI, and similar package ecosystems.

Submit

13. A central controller opens a connection to each managed server and immediately applies a new configuration the moment an administrator runs the command. This describes the ____ provisioning model.

Explanation

In a push model, the controller initiates the connection to each managed node and sends configuration changes out to them immediately when triggered. This gives administrators tight, on-demand control over exactly when changes apply. It contrasts with a pull model, where each node checks in with the controller on its own schedule.

Submit

14. An automation script loops through a list of servers and stores each server's status in a variable named status inside the loop body, intending to use the last server's status after the loop ends. In Python, does this work as expected?

Explanation

Unlike many languages, Python's for loops do not introduce their own variable scope, so a name assigned inside the loop body remains defined in the enclosing scope after the loop ends. This means status is still readable with its last-assigned value once the loop completes. This differs from language-level function scope, where a variable defined inside a function is not visible outside it.

Submit

15. An engineer wants to send a POST request with a JSON body to https://api.example.com/servers from a terminal, without writing any code. Which tool is designed for exactly this?

Explanation

curl is a command-line tool built for making HTTP requests, including specifying the method, headers, and request body needed to POST JSON data to an API. It is commonly used for quick, scriptable API testing. Tools like awk and sed are text-processing utilities and are not designed to make network requests themselves.

Submit

16. A team spins up a full test environment for each pull request and tears it down automatically once the pull request is merged or closed. What best describes this kind of environment?

Explanation

An ephemeral environment is created for a temporary purpose, such as testing one pull request, and is destroyed once that purpose is complete. This avoids configuration drift between long-lived environments and keeps costs down, since infrastructure only exists while it is needed. Persistent environments, by contrast, are meant to exist continuously, such as staging or production.

Submit

17. A newly provisioned application server cannot reach a database server in a different subnet, even though both have correct IP addresses assigned. Which two configuration items should the automation check? (Select two.)

Explanation

Reaching a resource in another subnet depends on both a route existing to get the traffic there and a firewall rule permitting it once it arrives. Missing either one blocks connectivity even when addressing looks correct. Hostname ordering, matching operating systems, and repository documentation have no effect on network reachability.

Submit

18. An automation playbook provisions a new file share, but users in the finance group report they cannot write to it even though the share was created successfully. What should the playbook verify next?

Explanation

An access control list determines which identities can perform which actions on a resource, separately from whether the resource itself exists. A share can be created successfully while still denying write access because its ACL was never updated to include the finance group. DNS records and load balancers control name resolution and traffic routing, not file permissions.

Submit

19. A script needs to represent a single true or false flag indicating whether a deployment succeeded. The most appropriate primitive data type for this value is a ____.

Explanation

A boolean is a primitive data type that holds exactly one of two values, true or false, making it the natural choice for a success or failure flag. Using an integer or string to represent the same concept, such as 1/0 or "yes"/"no", works but is less explicit and more error-prone. Most languages provide a native boolean type for exactly this purpose.

Submit

20. A developer runs git checkout a1b2c3d to inspect an old commit, then makes and commits a change. Later, after checking out main, the change appears to be gone. What happened?

Explanation

Checking out a specific commit hash instead of a branch name puts Git into a detached HEAD state. Commits made there are not attached to any branch, so switching to another branch leaves them without a direct reference, and they can eventually be garbage collected if nothing else points to them. Creating a branch from that commit before switching away would have preserved the work.

Submit

21. A team currently copies and pastes nearly identical Terraform code for every new environment, changing only a few values each time. Which infrastructure as code principle would most reduce this duplication?

Explanation

Reusability is achieved by packaging common logic into a module or template that takes parameters, so the same code serves many environments without being copied and modified. This reduces duplication and makes updates easier, since a fix in the module applies everywhere it is used. Idempotency and declarative syntax address different concerns, namely repeated execution safety and how the desired state is expressed.

Submit

22. A team enforces a consistent branch naming scheme. Match each branch name to the type of work it represents under that scheme.

Explanation

Consistent branch naming conventions use a prefix to signal the purpose of the branch, which helps reviewers and automation tools apply the right rules. feature/ branches carry new functionality, release/ branches stabilize a specific version, hotfix/ branches patch production urgently, and chore/ branches cover maintenance tasks. Automated pipelines can use these prefixes to decide, for example, which branches require extra approval.

Submit

23. A developer has committed changes locally and wants teammates to be able to see those commits by pulling from the shared repository. Which command uploads the local commits to the remote?

Explanation

git push uploads local commits on the current branch to the corresponding branch on the remote repository, making them available to anyone who fetches or pulls afterward. git commit only records changes locally, and git add only stages changes for the next commit. Without a push, teammates cannot see the new commits no matter how many times they fetch.

Submit

24. A CSV access log has fields separated by commas, and the fourth field holds the response time in milliseconds. An engineer wants to print only that field for every line. Which command does this?

Explanation

awk -F',' sets the field separator to a comma, and $4 refers to the fourth field on each line. This is a concise way to extract a single column from delimited text without writing a custom parser. jq is built for JSON rather than raw CSV, and grep is designed for pattern matching rather than field extraction.

Submit

25. A function named create_user(name, role="viewer") is called in three places: create_user("amir"), create_user("lee", "admin"), and create_user(role="editor", name="drew"). Which two statements about these calls are correct? (Select two.)

Explanation

A parameter with a default value can be omitted by the caller, so the first call uses viewer automatically. Keyword arguments can be supplied in any order because they are matched by name rather than position, which is why the third call is valid. None of the three calls is missing a required argument, so none raises an error.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (25)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
A configuration management server shows dozens of managed nodes as...
An automation job running inside a cloud environment needs to call a...
A team sets an internal SLO of 99.95% monthly availability, while...
Shortly after a release, a critical bug causes failed payments in...
Before a major marketing campaign, a team wants to confirm the...
A small internal tool with a single instance and no user-facing uptime...
A CI configuration file defines named jobs such as build, test, and...
A pipeline is configured so that any commit pushed to any branch...
A pipeline occasionally fails with lengthy, unfamiliar error logs, and...
A pipeline should only run its deployment job when changes are pushed...
A security team is redesigning how the pipeline accesses cloud...
A company wants to cache third-party packages from the public internet...
A central controller opens a connection to each managed server and...
An automation script loops through a list of servers and stores each...
An engineer wants to send a POST request with a JSON body to...
A team spins up a full test environment for each pull request and...
A newly provisioned application server cannot reach a database server...
An automation playbook provisions a new file share, but users in the...
A script needs to represent a single true or false flag indicating...
A developer runs git checkout a1b2c3d to inspect an old commit, then...
A team currently copies and pastes nearly identical Terraform code for...
A team enforces a consistent branch naming scheme. Match each branch...
A developer has committed changes locally and wants teammates to be...
A CSV access log has fields separated by commas, and the fourth field...
A function named create_user(name, role="viewer") is called in three...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!