Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
CompTIA logo

CompTIALinux+

Domain 4Objective 1

Automation XK0-006 Practice Questions (Page 1)

Part of the Automation, Orchestration, and Scripting domain, which accounts for 17% of the XK0-006 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~6–10 in this domain), expect 1–2 from this objective — we provide 18 practice questions to prepare you well beyond it. (estimate)

18questions here
4free pages
10concepts
17%of the exam

Questions 1–5

  1. 1foundation · medium

    A developer wants to automate the build, test, and deployment of an application every time a commit is pushed to the main branch. Which component of a CI/CD pipeline defines the sequence of stages (build, test, deploy) and the conditions under which each stage runs?

    Select an answer first
  2. 2foundation · easy

    What is the standard directory structure for a Puppet module?

    Select an answer first
  3. 3expert · hard

    An Ansible playbook uses the `copy` module to deploy a configuration file. The playbook runs successfully, but the administrator notices that the file on the target server has different permissions than expected. The source file on the control node has mode `0644`. The playbook does not specify a `mode` attribute. What is the most likely reason for the permission difference?

    Select an answer first
  4. 4foundation · easy

    Which Ansible module is used to copy a file to managed hosts?

    Select an answer first
  5. 5foundation · easy

    Which component of Ansible is responsible for defining the desired state of managed hosts?

    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. “XK0-006” is a trademark of its owner, used for identification only.