nerdexam
CompTIA

XK0-005 · Question #11

A systems administration team has decided to their systems as immutable instances. They keep the desired state of each of their systems in version control and apply automation whenever they…

The correct answer is C. Infrastructure as code. This scenario describes Infrastructure as Code (IaC). The key indicators are: desired state stored in version control, automation used for provisioning, and instances being rebuilt from code rather than manually patched. Tools like Terraform, Ansible, Puppet, or Chef implement…

Scripting, Containers, and Automation

Question

A systems administration team has decided to their systems as immutable instances. They keep the desired state of each of their systems in version control and apply automation whenever they provision a new instance. If there is an issue with one of their servers, instead of troubleshooting the issue they terminate the instance and rebuild it using automation. Which of the following is this an example of?

Options

  • AInventory
  • BOrchestration
  • CInfrastructure as code
  • DAgentless deployment

How the community answered

(37 responses)
  • B
    3% (1)
  • C
    95% (35)
  • D
    3% (1)

Explanation

This scenario describes Infrastructure as Code (IaC). The key indicators are: desired state stored in version control, automation used for provisioning, and instances being rebuilt from code rather than manually patched. Tools like Terraform, Ansible, Puppet, or Chef implement IaC by defining infrastructure in text-based configuration files that can be version-controlled and applied consistently. Option A (Inventory) refers to cataloging existing resources, not defining or automating their creation. Option B (Orchestration) refers to coordinating the execution order of tasks, which is a related but narrower concept. Option D (Agentless deployment) describes a deployment method where no agent software runs on target nodes - it is not the concept being described here.

Topics

#Infrastructure as Code#Immutable Infrastructure#Automation#Version Control

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice