nerdexam
CompTIA

XK0-005 · Question #4

A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrator to define the server infrastructure…

The correct answer is C. To define the infrastructure so it can be provisioned consistently with minimal manual tasks. The scenario describes Infrastructure as Code (IaC), where a text-based file (e.g., Terraform HCL, Ansible YAML, CloudFormation JSON) defines the desired server infrastructure. The BEST reason to use this approach is to ensure consistent, repeatable provisioning across multiple…

Scripting, Containers, and Automation

Question

A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrator to define the server infrastructure using a specific tool that consumes a text-based file. Which of the following is the BEST reason to do this?

Options

  • ATo document the infrastructure so it can be included in the system security plan
  • BTo ensure the administrator follows the planning phase of the system development life cycle
  • CTo define the infrastructure so it can be provisioned consistently with minimal manual tasks
  • DTo validate user requirements have been met within each regional datacenter for compliance

How the community answered

(15 responses)
  • A
    7% (1)
  • B
    7% (1)
  • C
    87% (13)

Explanation

The scenario describes Infrastructure as Code (IaC), where a text-based file (e.g., Terraform HCL, Ansible YAML, CloudFormation JSON) defines the desired server infrastructure. The BEST reason to use this approach is to ensure consistent, repeatable provisioning across multiple regional datacenters with minimal manual intervention. This eliminates configuration drift and human error that occur when servers are built manually. Option A (documentation for security plans) is a secondary benefit, not the primary driver. Option B (SDLC planning phase) is unrelated to the tool's purpose. Option D (compliance validation) is a governance concern, not the purpose of IaC tooling.

Topics

#Infrastructure as Code#Automation#Server Provisioning

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice