
Answer-first summary for fast verification
Answer: Opt for rolling with additional batch deployment strategy. Set the batch size parameter to 1
Overall explanation Correct option: Opt for rolling with additional batch deployment strategy. Set the batch size parameter to 1 With rolling deployments, Elastic Beanstalk splits the environment's Amazon EC2 instances into batches and deploys the new version of the application to one batch at a time. It leaves the rest of the instances in the environment running the old version of the application. During a rolling deployment, some instances serve requests with the old version of the application, while instances in completed batches serve other requests with the new version. To maintain full capacity during deployments, you can configure your environment to launch a new batch of instances before taking any instances out of service. This option is known as a rolling deployment with an additional batch. When the deployment completes, Elastic Beanstalk terminates the additional batch of instances. For the rolling and rolling with additional batch deployment policies, you can configure Batch size – The size of the set of instances to deploy in each batch. Choose Percentage to configure a percentage of the total number of EC2 instances in the Auto Scaling group (up to 100 percent), or choose Fixed to configure a fixed number of instances (up to the maximum instance count in your environment's Auto Scaling configuration).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An e-commerce company is utilizing AWS Elastic Beanstalk to host its application, with an Auto Scaling group maintaining three Amazon EC2 instances. The application's performance is greatly affected if the instance count drops below two. Currently, the company uses the default all-at-once deployment policy. Considering these factors, the company seeks a more cost-effective deployment strategy for future updates.
Which of the following represents the most cost-effective deployment strategy for the company?
A
Opt for rolling deployment strategy. Set the batch size to 2
B
Opt for rolling with additional batch deployment strategy. Set the batch size parameter to 1
C
Configure an Elastic Load Balancer to front the Auto Scaling Group and choose two different Availability Zones (AZs) for deployment
D
Opt for traffic-splitting deployment strategy with traffic split parameter set to 50% of the total traffic
No comments yet.