DOP-C02 practice question 13 of 35

A company builds an application that uses an Application Load Balancer in front of Amazon EC2 instances that are in an Auto Scaling group. The…

Full set: 449 questions
A company builds an application that uses an Application Load Balancer in front of Amazon EC2 instances that are in an Auto Scaling group. The application is stateless. The Auto Scaling group uses a custom AMI that is fully prebuilt. The EC2 instances do not have a custom bootstrapping process. The AMI that the Auto Scaling group uses was recently deleted. The Auto Scaling group's scaling activities show failures because the AMI ID does not exist. Which combination of steps should a DevOps engineer take to meet these requirements? (Select THREE.)
Answer options
A: Create a new launch template that uses the new AMI.
B: Update the Auto Scaling group to use the new launch template.
C: Reduce the Auto Scaling group's desired capacity to O.
D: Increase the Auto Scaling group's desired capacity by I.
E: Create a new AMI from a running EC2 instance in the Auto Scaling group.
F: Create a new AMI by copying the most recent public AMI of the operating system that the EC2 instances use.
Correct Answer:
ABF
Explanation

To restore the functionality of the Auto Scaling group after the AMI was deleted, the DevOps engineer needs to create a new AMI and update the Auto Scaling group to use it. The DevOps engineer can create a new AMI by copying the most recent public AMI of the operating system that the EC2 instances use. This will ensure that the new AMI has the same operating system as the custom AMI that was deleted. The DevOps engineer can then create a new launch template that uses the new AMI and update the Auto Scaling group to use the new launch template. This will allow the Auto Scaling group to launch new instances with the new AMI.

Scroll to Top