Question

Difficulty: EasyDeployment Strategies

An organization runs an internal test environment on AWS Elastic Beanstalk. The system administrator wants to update the application version with zero budget for temporary resource overhead, meaning no additional EC2 instances can be launched during the update. A temporary reduction in application performance or brief downtime is acceptable during the process. Which of the following deployment strategies can be used to meet these requirements? (Select TWO.)

  1. A
    Rolling with additional batch
  2. All at onceAnswer
  3. C
    Immutable
  4. RollingAnswer
  5. E
    Blue/Green

Answer

The correct deployment strategies are All at once and Rolling.
The All at once and Rolling deployment strategies perform the update on the existing EC2 instances in the environment. Neither strategy provisions additional instances, ensuring that no extra costs are incurred. The All at once strategy updates all instances simultaneously (causing downtime), whereas the Rolling strategy updates instances in batches (temporarily reducing capacity), both of which fit within the allowed constraints.

Step-by-Step Solution

1
Analyze the resource and cost constraints.
The scenario requires zero additional budget for temporary resource overhead, meaning no new EC2 instances can be provisioned.
This rules out any deployment strategies that launch new instances (e.g., Rolling with additional batch, Immutable, and Blue/Green).
2
Analyze the availability and capacity constraints.
Temporary capacity reduction or complete downtime is acceptable during the update.
This allows for strategies that take instances out of service or deploy to all instances simultaneously.
3
Identify strategies matching both criteria.
All at once updates all existing instances at once (causing downtime but no extra cost). Rolling updates existing instances in batches (reducing capacity but no extra cost). Both satisfy the constraints.
Both strategies perform in-place deployments on existing instances without provisioning new ones.

Key Concept

AWS Elastic Beanstalk Deployment Strategies and Cost Trade-offs
Estimated Time:1m 0s
Rate this question