Skip to Content

DVA-C02: How to Solve Deployment Issue on AWS Elastic Beanstalk with All-At-Once Policy

Learn how to solve deployment issue on AWS Elastic Beanstalk with all-at-once policy without affecting application performance. Find out the most cost-effective way to deploy your application with five EC2 instances.

Table of Contents

Question

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?

A. Change the Auto Scaling group to six desired instances.
B. Change the deployment policy to traffic splitting. Specify an evaluation time of 1 hour.
C. Change the deployment policy to rolling with additional batch. Specify a batch size of 1.
D. Change the deployment policy to rolling. Specify a batch size of 2.

Answer

C. Change the deployment policy to rolling with additional batch. Specify a batch size of 1.

Explanation

The correct answer is C. Change the deployment policy to rolling with additional batch. Specify a batch size of 1.

The reason is that the all-at-once deployment policy updates all instances in the environment at the same time, which causes downtime and performance degradation. The rolling deployment policy updates a few instances at a time, which reduces the impact on the application availability and performance. However, the rolling deployment policy does not increase the capacity of the environment during the deployment, so it may still cause performance issues if the number of instances is not enough to handle the traffic. The rolling with additional batch deployment policy adds an extra batch of instances to the environment during the deployment, which ensures that there is enough capacity to handle the traffic without affecting the existing instances. The batch size determines how many instances are updated at a time. A batch size of 1 means that only one instance is updated at a time, which minimizes the risk of errors and failures.

Therefore, changing the deployment policy to rolling with additional batch and specifying a batch size of 1 is the most cost-effective way to solve the deployment issue, as it does not require increasing the number of instances permanently, and it maintains the application availability and performance during the deployment.

The latest AWS Certified Developer – Associate DVA-C02 certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the AWS Certified Developer – Associate DVA-C02 exam and earn AWS Certified Developer – Associate DVA-C02 certification.

AWS Certified Developer - Associate DVA-C02 Exam Questions and Answers