Which Elastic Beanstalk deployment policy minimizes impact and maximizes availability?
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?
Community Votes
80% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests the ability to select the correct Elastic Beanstalk deployment policy based on the dual requirements of minimal performance impact and maximum availability during frequent deployments.
AWS Elastic Beanstalk offers several deployment policies; for rapid, frequent deployments that minimize performance impact and maximize availability, the immutable deployment policy is the recommended choice.
Many candidates choose the canary deployment strategy (Option D) because it limits risk by deploying to a small subset first, but canary deployments do not minimize overall deployment duration or maximize availability as effectively as immutable deployments.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
The correct answer is B. Use an immutable deployment policy to deploy to Amazon EC2 instances.
An immutable deployment in AWS Elastic Beanstalk launches a completely new set of instances with the updated application version in a separate Auto Scaling group. Once the new instances pass health checks, the load balancer is updated to route traffic to them, and the old instances are terminated. This approach ensures zero downtime during the deployment process, which directly satisfies the requirement to maximize availability. Additionally, because the old instances continue to serve traffic until the new ones are fully validated, there is minimal performance impact on the running application.
Let's examine why the other options are incorrect:
- Option A (Rolling deployment): This policy updates instances in batches, meaning some instances run the old version while others run the new version simultaneously. This can lead to downtime or degraded performance during the transition, failing to maximize availability.
- Option C (All-at-once deployment): This policy updates all instances simultaneously, which results in complete downtime during the deployment. This is the opposite of maximizing availability.
- Option D (Canary deployment): While canary deployments are excellent for testing new features on a limited scale and reducing risk, they do not minimize the overall deployment duration. The gradual rollout process takes longer, which conflicts with the requirement to deploy new features as quickly as possible. As noted by community members, canary deployments prioritize risk mitigation over speed and availability.
Official Reference
Exam Strategy
When a question emphasizes both minimizing performance impact and maximizing availability, look for deployment strategies that involve launching new resources in parallel (like immutable deployments) rather than gradually updating existing ones (like canary or rolling).
Related Analysis
Practice All DVA-C02 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DVA-C02 Practice Test →