AWS Certified Developer – Associate (DVA-C02) — Question 158

A developer wants to deploy a new version of an AWS Elastic Beanstalk application. During deployment, the application must maintain full capacity and avoid service interruption. Additionally, the developer must minimize the cost of additional resources that support the deployment.

Which deployment method should the developer use to meet these requirements?

Answer options

Correct answer: B

Explanation

The 'Rolling with additional batch' deployment method allows for deploying new versions gradually while maintaining capacity by adding extra instances, thus avoiding service interruptions. 'All at once' would lead to downtime, while 'Blue/green' and 'Immutable' deployments, although effective, generally incur higher costs due to the need for additional environments or instances.