Free AT0-001 sample questions
Real questions from the CompTIA AutoOps+ practice bank, with the correct answer and an explanation for each one. No junk, no filler.
Try them in the simulator Same questions, with study, timed and flashcard modes.
Showing 10 of 20 free sample questions.
When writing a Bash script to iterate over a list of server IP addresses stored in a text file, which loop construct is most appropriate for reading the file line by line? Select the correct keyword to fill in the blank. _____ line in $(cat servers.txt); do ping -c 1 $line done
An automation engineer is refactoring a monolithic PowerShell script into modular functions. The engineer wants to ensure that a custom function accepts parameters explicitly by name and enforces data typing. Which TWO of the following approaches can be used to define parameters for a PowerShell function? (Select TWO)
A DevOps team uses a Python automation script to restart critical production services via a third-party REST API. During automated testing in the CI pipeline, the team wants to ensure the script's logic is tested without actually sending HTTP requests to the live production API. Which of the following is the BEST approach to achieve this?
A junior administrator has finished editing a Terraform configuration file locally and wants to save this snapshot of the work to their local Git repository history. However, they are not yet ready to share this code with the rest of the team. Which Git command accomplishes this?
According to Semantic Versioning (SemVer) principles, an update to an automation module that introduces backwards-incompatible API changes requires incrementing the MINOR version number.
A large enterprise uses a strict Git branching strategy for their infrastructure automation code. The team maintains a `main` branch representing production and a `develop` branch for integration. During a weekend deployment, a critical bug is discovered in production that is causing automated database backups to fail. The development team is currently midway through building several new features in the `develop` branch. Which workflow represents the correct strategy to address this issue while adhering to standard GitFlow principles?
An automation team prefers a linear, clean commit history without 'merge commits' cluttering the repository. When a developer pulls changes from the remote tracking branch into their local feature branch, which Git command should they use to place their local commits on top of the remote commits?
A cloud architect is explaining the benefits of Infrastructure as Code (IaC) to a new team member. The architect highlights that running the same deployment script multiple times will yield the exact same environment state without creating duplicate resources or causing errors on subsequent runs. Which IaC principle is the architect describing?
An organization mandates that server instances must never be modified in-place after they are provisioned. If an operating system patch is required, the automation pipeline must destroy the existing instances and deploy entirely new instances from an updated image. Which Infrastructure as Code (IaC) principle does this strictly enforce?
10 more free samples are waiting
Create a free account to unlock the whole AT0-001 sample bank, or get full access to all 150 practice questions in the simulator.