Question

Difficulty: EasyDeployment Strategies

A developer is planning an update for a non-critical internal application deployed on AWS Elastic Beanstalk. Because the application has low usage, the developer wants to minimize deployment duration and is comfortable with the environment's capacity being temporarily reduced or offline during the update. Which two Elastic Beanstalk deployment strategies will result in a temporary reduction of active instance capacity during the deployment? (Select TWO).

  1. All-at-onceAnswer
  2. RollingAnswer
  3. C
    Rolling with additional batch
  4. D
    Immutable
  5. E
    Traffic splitting

Answer

All-at-once and Rolling
The correct strategies are All-at-once and Rolling. The All-at-once strategy deploys the update to all instances at the same time, which temporarily takes all instances out of service and reduces active capacity to zero. The Rolling strategy updates the environment in batches, taking one batch of instances out of service at a time, which temporarily reduces the overall active capacity of the environment.

Step-by-Step Solution

1
Analyze the capacity behavior of each Elastic Beanstalk deployment strategy.
Identify how each strategy handles active instances during an update.
The requirement specifies selecting strategies that temporarily reduce the active instance capacity of the environment.
2
Evaluate which strategies take existing instances out of service without pre-provisioning replacement capacity.
All-at-once takes all instances out of service simultaneously. Rolling takes a subset (batch) of instances out of service at a time.
Both of these strategies deploy directly to existing instances in-place, leading to a temporary reduction in capacity.
3
Verify that the remaining strategies maintain 100% capacity.
Rolling with additional batch, Immutable, and Traffic splitting all provision new instances before taking old ones out of service to maintain full capacity.
Confirming these strategies are incorrect because they preserve full capacity during deployment.

Key Concept

Understanding the impact of AWS Elastic Beanstalk deployment strategies on environment capacity and instance count.
Rate this question