3.4 Summarize 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.
Concept
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.
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
An administrator asks how Terraform knows which real resources it already manages so it can compute the next changes. What holds that record?
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.