Topic 1 Question 62
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?
Change the Auto Scaling group to six desired instances.
Change the deployment policy to traffic splitting. Specify an evaluation time of 1 hour.
Change the deployment policy to rolling with additional batch. Specify a batch size of 1.
Change the deployment policy to rolling. Specify a batch size of 2.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: C
Explanation: The rolling with additional batch deployment policy allows Elastic Beanstalk to launch additional instances in a new batch before terminating the old instances. In this case, specifying a batch size of 1 means that Elastic Beanstalk will deploy the application updates to 1 new instance at a time, ensuring that there are always at least 4 instances available during the deployment process. This method maintains application performance while minimizing the additional cost.
👍 4gpt_test2023/04/03 - 正解だと思う選択肢: C👍 3Untamables2023/03/26
The correct answer is: D. Change the deployment policy to rolling. Specify a batch size of 2.
A rolling deployment policy will deploy the new application version to one batch of instances at a time, while the other batches continue to serve traffic. This ensures that the application always has at least four instances available during the deployment.
Specifying a batch size of 2 means that two instances will be deployed at a time. This is the most cost-effective option because it minimizes the number of instances that are needed to maintain application performance during the deployment.
The other options are not as cost-effective because they require more instances to be running during the deployment. Option A requires six instances, option B requires at least five instances, and option C requires at least four instances.
👍 1Prem282023/06/07
シャッフルモード