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
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)- A3% (1)
- B77% (23)
- C7% (2)
- D13% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.