AWS Certified Developer – Associate — Question 95

A developer is using AWS Elastic Beanstalk to create a deployment for a web application that supports ecommerce. According to a company requirement. Amazon EC2 instances that host one version of the application must be retired when the deployment of a new version is complete.

Which deployment methods can the developer use to meet this requirement? (Choose two.)

Answer options

Correct answer: D, E

Explanation

The correct answers are D and E because both Blue/green deployment and Immutable deployment allow for the complete replacement of the old version with a new version without retaining the old instances. In contrast, All-at-once, In-place, and Rolling deployments may not fully retire the previous version's instances immediately, thus not meeting the company's requirement.