AWS Certified Developer – Associate / Question #718 of 557

Question #718

A developer is preparing to roll out a major update to an AWS Elastic Beanstalk application. The deployment process must ensure continuous availability with no downtime and keep the application running at full capacity. The developer also needs to minimize the additional resource costs incurred during the deployment.

Which deployment strategy should the developer choose to satisfy these requirements?

A

All at once

B

Rolling with additional batch

C

Blue/green

D

Immutable

Explanation

The Rolling with additional batch strategy (B) is optimal because it maintains full capacity during deployment by adding new instances incrementally before terminating old ones. This avoids downtime and ensures continuous availability.

- A (All at once) causes downtime by updating all instances simultaneously.
- C (Blue/green) requires running duplicate environments, doubling costs temporarily.
- D (Immutable) launches a full set of new instances, increasing costs more than a rolling batch.

B balances cost-efficiency and availability by adding batches incrementally, keeping the original instances active until replacements are healthy. This aligns with the requirement to minimize resource costs while ensuring no downtime.

Answer

The correct answer is: B