AWS Certified Developer – Associate (DVA-C02) — Question 464
A gaming company has deployed a web portal on AWS Elastic Beanstalk. The company sometimes needs to deploy new versions three or four times in a day. The company needs to deploy new features for all users as quickly as possible. The solution must minimize performance impact and must maximize availability.
What solution will meet these requirements?
Answer options
- A. Use a rolling deployment policy to deploy to Amazon EC2 instances.
- B. Use an immutable deployment policy to deploy to Amazon EC2 instances.
- C. Use an all-at-once deployment policy to deploy to Amazon EC2 instances.
- D. Use a-canary deployment strategy to deploy changes to Amazon EC2 instances.
Correct answer: B
Explanation
An immutable deployment policy ensures maximum availability and zero performance impact by launching a full set of new Amazon EC2 instances in a separate Auto Scaling group to test the new version before swapping traffic. In contrast, rolling and all-at-once policies reduce active capacity or cause service downtime during the update, which negatively impacts performance. Canary deployments are not a standard native deployment policy option for AWS Elastic Beanstalk environments.