Objective 3.4
XK0-005Summarize common infrastructure as code technologies.
Objective 3.4 sits in Scripting, Containers, and Automation, which carries 19% of the Linux+ exam. The questions below are original, written from the official objective title above, and each explanation cites the CompTIA page it rests on.
Objective title verbatim from the official objectives. CompTIA exam page ↗
A worked example
Shown solved, with the whole explanation open: this is what every question here carries.
An administrator runs an Ansible playbook a second time and it reports no changes. Which property of the tool explains this?
Correct.
Checked against docs.ansible.com, August 2026Concept
A well-designed automation tool converges a system toward a described state and makes no further change once that state already holds, however many times it runs.
Why A
Idempotency means that when the system already matches the state the playbook describes, Ansible alters nothing on a repeat run.
Source
Ansible documentation, Introduction, checked August 2026When the system is in the state your playbook describes, Ansible does not change anything, even if the playbook runs multiple times.
Now you: objective 3.4 questions
No account needed. The explanation opens when you answer.
Sample question 1 of 3
A team wants a configuration tool that installs no agent on managed nodes and connects over existing SSH credentials. Which tool fits?
Sample question 2 of 3
You run terraform plan on an existing environment and Terraform reports only two resources to change out of forty in the configuration. Which artifact tells it what already exists?
Sample question 3 of 3
Before making any changes, an administrator wants to preview exactly what Terraform will create, update, or destroy. Which command shows that?
Full Linux+ question bank coming
We’re writing the complete bank from the official objectives right now. Leave your email and we’ll tell you when it ships, nothing else, ever.
Read the sources
These are the official pages the questions above cite. Reading them is studying the objective from the primary source, which is what the explanations point you toward anyway.