Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
CompTIA logo

CompTIAAutoOps+

Domain 1Objective 4

Troubleshoot Common Issues with the Code Life Cycle AT0-001 Practice Questions (Page 4)

Part of the Automation Coding Concepts domain, which accounts for 31% of the AT0-001 exam. CompTIA does not publish an official question count, but from its 60-minute exam (~25–40 total, ~8–12 in this domain), expect 2–3 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)

22questions here
5free pages
6concepts
31%of the exam

Questions 16–20

  1. 16foundation · easy

    A Bash script runs a command that fails with the error: `./script.sh: line 3: mycmd: command not found`. What type of error is this?

    Select an answer first
  2. 17foundation · easy

    After manually resolving a merge conflict in a file, which Git command should be run to mark the conflict as resolved?

    Select an answer first
  3. 18foundation · easy

    A Python script contains the line `def greet(name):` followed by `print('Hello', name)` on the next line. The script fails with an `IndentationError: expected an indented block`. Which correction resolves this error?

    Select an answer first
  4. 19application · medium

    A developer is merging a feature branch into main and receives the error: 'CONFLICT (modify/delete): src/old_file.py deleted in HEAD and modified in feature. Version feature of src/old_file.py left in tree.' What does this conflict indicate?

    Select an answer first
  5. 20application · medium

    A Node.js application that connects to a database fails with the error: 'TypeError: Cannot read properties of undefined (reading 'name')' at the line 'console.log(user.name)'. The code is: 'const user = getUser(123); console.log(user.name);'. The getUser function is asynchronous. What is the most likely cause of this runtime error?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “AT0-001” is a trademark of its owner, used for identification only.