nerdexam
CompTIA

XK0-004 · Question #424

An administrator uses a tool to perform roiling deployments when the production application needs to be updated. The tool temporarily removes 10% of the systems from the load balancer at a time and it

The correct answer is A. infrastructure as code. Infrastructure as Code (IaC) defines infrastructure operations - including rolling deployments and automated rollback logic - using code and configuration files managed by tooling.

Scripting, Containers and Automation

Question

An administrator uses a tool to perform roiling deployments when the production application needs to be updated. The tool temporarily removes 10% of the systems from the load balancer at a time and it pushes the newest version of the application to each system. If there are errors the tool rolls back the changes. Which of the following does this scenano BEST describe?

Options

  • Ainfrastructure as code
  • BInfrastructure automation
  • CAgent-based architecture
  • DBuid automation
  • Einventory management

How the community answered

(22 responses)
  • A
    82% (18)
  • B
    9% (2)
  • C
    5% (1)
  • D
    5% (1)

Why each option

Infrastructure as Code (IaC) defines infrastructure operations - including rolling deployments and automated rollback logic - using code and configuration files managed by tooling.

Ainfrastructure as codeCorrect

Infrastructure as Code represents the practice of managing and provisioning infrastructure through machine-readable configuration files rather than manual processes; the described tool embodies IaC by codifying the rolling deployment strategy, load balancer integration, and rollback behavior, making the deployment process repeatable, auditable, and version-controlled using tools such as Ansible or Chef.

BInfrastructure automation

Infrastructure automation is a broader term for any automated execution of IT tasks and does not specifically capture the code-driven, declarative definition of deployment workflows with rollback that characterizes IaC.

CAgent-based architecture

Agent-based architecture refers to management software agents installed on each node that report state to a central controller, and does not describe a deployment orchestration strategy.

DBuid automation

Build automation refers to automated compilation, testing, and packaging of source code artifacts, not the orchestration of deployments to production systems.

Einventory management

Inventory management refers to cataloguing and tracking hardware and software assets, not orchestrating rolling application deployments.

Concept tested: Infrastructure as Code rolling deployment strategy

Source: https://learn.microsoft.com/en-us/devops/deliver/what-is-infrastructure-as-code

Topics

#rolling deployments#infrastructure as code#load balancer#configuration management

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice