CompTIA Cloud+ (CV0-004)DeploymentHard
A cloud engineer is deploying a new web application and needs to ensure that the application's resources (compute, storage, network) are provisioned in a way that allows for easy rollback to a previous known good state if a deployment fails. The current deployment model involves creating new resources for each version. Which provisioning concept is crucial for achieving this rollback capability efficiently?
- AImmutable Infrastructure
- BEphemerality
- CMutable Infrastructure
- DImperative Provisioning
Show answer & explanationAnswer & explanation
Correct answer: A. Immutable Infrastructure
Immutable infrastructure ensures that once a server or resource is deployed, it is never modified. Instead, any update or change requires deploying entirely new resources. This makes rollbacks simple and efficient: if a new deployment fails, traffic can immediately be switched back to the previous, unmodified, and known-good set of resources.
Why the other options are wrong
- B. Ephemerality refers to resources being short-lived, which is a characteristic of immutable infrastructure, but not the core concept enabling easy rollback itself.
- C. Mutable infrastructure allows in-place modifications, making rollbacks complex and prone to errors.
- D. Imperative provisioning focuses on 'how' to achieve a state, not necessarily on enabling easy rollback through immutability.
Immutable Infrastructure
A server or resource that, once deployed, is never modified, patched, or updated in place. Any change requires replacing it with a new, updated instance.
- Simplifies rollbacks to previous known good states.
- Reduces configuration drift and inconsistencies.
- Enhances reliability and predictability of deployments.
Memory trick: Immutable: Build anew, never change in place.