AWS Certified Developer – Associate — Question 182

A company has deployed an application on AWS Elastic Beanstalk. The company has configured the Auto Scaling group that is associated with the Elastic Beanstalk environment to have five Amazon EC2 instances. If the capacity is fewer than four EC2 instances during the deployment, application performance degrades. The company is using the all-at-once deployment policy.

What is the MOST cost-effective way to solve the deployment issue?

Answer options

Correct answer: C

Explanation

The correct answer is C because changing the deployment policy to rolling with an additional batch allows for a more gradual deployment, minimizing the impact on application performance while ensuring that at least one instance remains available during updates. Options A and B do not directly address the performance issue during deployments, while option D may still lead to inadequate capacity that could impact performance.