AWS Certified Developer – Associate — Question 231
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 without affecting the existing ones, ensuring no downtime. Blue/green deployments (D) also deploy changes to a separate environment, allowing for a smooth switch to the new instances. The other options either update all instances at once or do not guarantee the deployment to only new instances.