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.

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

Alex Lim is a certified IT Technical Support Architect with over 15 years of experience in designing, implementing, and troubleshooting complex IT systems and networks. He has worked for leading IT companies, such as Microsoft, IBM, and Cisco, providing technical support and solutions to clients across various industries and sectors. Alex has a bachelor’s degree in computer science from the National University of Singapore and a master’s degree in information security from the Massachusetts Institute of Technology. He is also the author of several best-selling books on IT technical support, such as The IT Technical Support Handbook and Troubleshooting IT Systems and Networks. Alex lives in Bandar, Johore, Malaysia with his wife and two chilrdren. You can reach him at [email protected] or follow him on Website | Twitter | Facebook

    Ads Blocker Image Powered by Code Help Pro

    Your Support Matters...

    We run an independent site that is committed to delivering valuable content, but it comes with its challenges. Many of our readers use ad blockers, causing our advertising revenue to decline. Unlike some websites, we have not implemented paywalls to restrict access. Your support can make a significant difference. If you find this website useful and choose to support us, it would greatly secure our future. We appreciate your help. If you are currently using an ad blocker, please consider disabling it for our site. Thank you for your understanding and support.