Question

Difficulty: MediumDeployment Strategies

A developer needs to deploy a new version of a critical web application. The deployment must satisfy the following constraints:
- The application must maintain 100%100\% 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.)

  1. Blue/Green deploymentAnswer
  2. Immutable deploymentAnswer
  3. C
    Rolling deployment
  4. D
    Rolling with additional batch deployment
  5. E
    All-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, 100%100\% 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

1
Analyze the capacity requirement
Strategies like Rolling or All-at-once, which temporarily take existing instances out of service, are eliminated because they reduce capacity below 100%100\%.
The requirement states that 100%100\% capacity must be maintained at all times.
2
Analyze the requirement to not modify existing instances until verified
Strategies like Rolling with additional batch are eliminated because they perform in-place updates on existing production instances during the rollout.
The system must keep the existing production environment untouched during the verification phase of the new version.
3
Evaluate Blue/Green and Immutable strategies
Both Blue/Green and Immutable deployments provision new resources separately from the active production fleet, keep the active environment intact until fully verified, support zero downtime, and can roll back instantly by redirecting traffic or terminating the new temporary resource group.
These strategies align perfectly with the need for zero downtime, full capacity, isolated verification, and rapid rollback.

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
Rate this question