nerdexam
CompTIA

CV0-002 · Question #545

A CSA needs to apply new OS security patches to the application cluster server farm in a public cloud provider. The CSA wants to ensure the security patch and configuration are consistent for all memb

The correct answer is B. Leverage the infrastructure as code and replace each server farm member.. To ensure consistent security patching and configuration across an application cluster server farm, the best approach is to leverage infrastructure as code (IaC) to replace each server farm member with new, fully patched, and consistently configured instances. This promotes an im

Operations

Question

A CSA needs to apply new OS security patches to the application cluster server farm in a public cloud provider. The CSA wants to ensure the security patch and configuration are consistent for all members of the server farm. Which of the following deployment practices is the BEST approach to do this?

Options

  • AUpdate and validate the runbook procedures prior to the patch rollout.
  • BLeverage the infrastructure as code and replace each server farm member.
  • CConfigure and patch each server individually and take an OS differential backup.
  • DSnapshot all existing server farm members before installing the patch.

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    77% (23)
  • C
    7% (2)
  • D
    13% (4)

Why each option

To ensure consistent security patching and configuration across an application cluster server farm, the best approach is to leverage infrastructure as code (IaC) to replace each server farm member with new, fully patched, and consistently configured instances. This promotes an immutable infrastructure model.

AUpdate and validate the runbook procedures prior to the patch rollout.

Updating runbook procedures is a good process step but does not directly ensure the technical consistency of the server farm members during the actual patching and configuration.

BLeverage the infrastructure as code and replace each server farm member.Correct

Leveraging infrastructure as code (IaC) to replace each server farm member aligns with the "immutable infrastructure" approach. This ensures consistency by provisioning new servers with the desired patched OS and configuration from an IaC definition, then swapping them in, rather than modifying existing servers and minimizing configuration drift.

CConfigure and patch each server individually and take an OS differential backup.

Configuring and patching each server individually is highly prone to human error and configuration drift, making it difficult to ensure consistency across all members of a server farm.

DSnapshot all existing server farm members before installing the patch.

Snapshotting servers before patching provides a rollback point, which is a good practice for disaster recovery, but it does not ensure that the patching process itself results in consistent configurations across all servers.

Concept tested: Immutable infrastructure and Infrastructure as Code for consistency

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

Topics

#patch management#server snapshots#rollback strategy#operational safety

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice