AWS Certified Developer – Associate (DVA-C02) — Question 244
A company is using AWS Elastic Beanstalk to manage web applications that are running on Amazon EC2 instances. A developer needs to make configuration changes. The developer must deploy the changes to new instances only.
Which types of deployment can the developer use to meet this requirement? (Choose two.)
Answer options
- A. All at once
- B. Immutable
- C. Rolling
- D. Blue/green
- E. Rolling with additional batch
Correct answer: B, D
Explanation
The Immutable deployment method (B) creates new instances with the updated configuration, ensuring that the old instances remain unaffected during the change. The Blue/green deployment method (D) simultaneously maintains two environments, allowing for a seamless transition to the new instances while the old ones remain live, making it ideal for this scenario. The other options either update existing instances or do not ensure that only new instances receive the changes.