
Answer-first summary for fast verification
Answer: Set up an Auto Scaling group tailored to manage web application traffic. Attach a new launch template to the Auto Scaling group. Connect the Auto Scaling group to the existing ALB. Incorporate the existing EC2 instances into the Auto Scaling group.
The correct answer is B. Creating an Auto Scaling group that is configured to handle the web application traffic, attaching a new launch template to the Auto Scaling group, and then attaching the Auto Scaling group to the existing Application Load Balancer (ALB) ensures high availability and minimal downtime. This option allows for the existing EC2 instances to be incorporated into the Auto Scaling group without the need to delete the current ALB, which would increase downtime. Additionally, waiting for the ALB to register the existing EC2 instances as suggested in another option could cause unnecessary delays. Therefore, setting up the Auto Scaling group and linking it to the existing ALB efficiently replaces unresponsive EC2 instances with minimal disruption to the website's operation.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company operates a website on four Amazon EC2 instances behind an Application Load Balancer (ALB). When the ALB identifies that an EC2 instance is unresponsive, it triggers an Amazon CloudWatch alarm to enter the ALARM state. Currently, an operations team member manually replaces the failed EC2 instance. The company seeks a highly available solution that automates EC2 instance replacement to minimize downtime. What steps should a solutions architect implement to achieve this?
A
Remove the current ALB. Establish an Auto Scaling group configured to manage web application traffic. Associate a new launch template with the Auto Scaling group. Deploy a new ALB. Link the Auto Scaling group to the new ALB. Integrate the existing EC2 instances into the Auto Scaling group.
B
Set up an Auto Scaling group tailored to manage web application traffic. Attach a new launch template to the Auto Scaling group. Connect the Auto Scaling group to the existing ALB. Incorporate the existing EC2 instances into the Auto Scaling group.
C
Eliminate the existing ALB and EC2 instances. Create an Auto Scaling group designed to manage web application traffic. Attach a new launch template to the Auto Scaling group. Establish a new ALB. Attach the Auto Scaling group to the new ALB. Allow the Auto Scaling group to initiate the minimum number of EC2 instances.
D
Develop an Auto Scaling group to manage web application traffic. Attach a new launch template to the Auto Scaling group. Link the Auto Scaling group to the existing ALB. Allow the existing ALB to register the existing EC2 instances with the Auto Scaling group.
No comments yet.