ETExamTower
Q26Configuration Management and IaC

A company uses AWS CodeDeploy to deploy an application to Amazon EC2 instances in an Auto Scaling group. The company configures the Auto Scaling group by using an EC2 launch template that references a custom AMI with the CodeDeploy agent installed. The company updates the AMI weekly, and replaces all EC2 instances with new instances launched from the updated AMI. The company requires each EC2 instance to have an application tag that identifies the application deployed on that instance. Currently, the company tags the EC2 instances manually. To deploy the application, the company creates a CodeDeploy application and a deployment group. The company sets a custom resource tag in the deployment group and configures the deployment group to target the Auto Scaling group. The company must ensure that every instance in the Auto Scaling group is tagged with the appropriate application tag. Which solution meets this requirement?

← → navigate · a answer
Discussion · 0
No comments yet. Be the first.