A developer needs to deploy a new version of a critical web application. The deployment must satisfy the following constraints:
- The application must maintain of its serving capacity throughout the deployment.
- The deployment must have zero downtime.
- The deployment must not modify the existing production instances until the new version is fully verified.
- Rollbacks must be fast and have minimal impact on the active production environment if the new version fails verification.
Which two deployment strategies will satisfy these requirements? (Select two.)
- Blue/Green deploymentAnswer
- Immutable deploymentAnswer
- CRolling deployment
- DRolling with additional batch deployment
- EAll-at-once deployment
Answer
The correct strategies are Blue/Green deployment and Immutable deployment.
The correct strategies are Blue/Green deployment and Immutable deployment. Both strategies deploy the new version of the application to new resources that are separate from the active production environment. This ensures that the active environment is not modified during the deployment, capacity is maintained using the old version, and rollbacks are fast and simple (either by swapping DNS/traffic back or by terminating the temporary instances) if the verification fails.
Step-by-Step Solution
Key Concept
Deployment strategies vary in how they handle capacity, resource overhead, in-place modifications, and rollback speed. Blue/Green and Immutable deployments prevent modification of existing production resources during validation, while Rolling and All-at-once modify them in-place.
Estimated Time:2m 0s