nerdexam
CompTIA

XK0-004 · Question #351

Which of the following is considered best practices when using definition files for the provisioning of Linus servers to the cloud?

The correct answer is B. Container orchestration. Using definition files (such as YAML or HCL) to provision cloud servers is the core practice of Infrastructure as Code - note that the marked answer B appears to conflict with the question stem.

Scripting, Containers and Automation

Question

Which of the following is considered best practices when using definition files for the provisioning of Linus servers to the cloud?

Options

  • ABuild automation
  • BContainer orchestration
  • CInfrastructure as code
  • DContinuous integration

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    93% (37)
  • C
    5% (2)

Why each option

Using definition files (such as YAML or HCL) to provision cloud servers is the core practice of Infrastructure as Code - note that the marked answer B appears to conflict with the question stem.

ABuild automation

Build automation refers to automating software compilation and artifact creation pipelines, not the provisioning of cloud server infrastructure.

BContainer orchestrationCorrect

WARNING - the marked correct answer B (Container orchestration) does not align with the question stem, which asks specifically about definition files for provisioning Linux servers to the cloud. Container orchestration (e.g., Kubernetes) manages containerized workloads, not server-level provisioning. The technically accurate best-practice answer for this scenario is C (Infrastructure as Code), using tools such as Terraform, Ansible, or AWS CloudFormation - this appears to be a question error.

CInfrastructure as code

Infrastructure as Code is actually the industry-standard best practice for using definition files to provision Linux servers in the cloud - this choice appears to be the intended correct answer despite the marked answer.

DContinuous integration

Continuous integration is a development practice focused on frequently merging and testing code changes, not on provisioning server infrastructure.

Concept tested: Infrastructure as Code for cloud server provisioning

Source: https://docs.aws.amazon.com/whitepapers/latest/introduction-devops-aws/infrastructure-as-code.html

Topics

#infrastructure as code#cloud provisioning#definition files#automation best practices

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice