A company is using tagging to allocate AWS costs. The company has Amazon EC2 instances that run in Auto Scaling groups. The Amazon Elastic Block Store (Amazon EBS) volumes that are attached to the EC2 instances are being created without the appropriate cost center tags. A DevOps engineer must ensure that the new EBS volumes are properly tagged.
What is the MOST efficient solution that meets this requirement?
A. Create a lifecycle hook on the autoscaling:EC2_INSTANCE_TERMINATING instance state that attaches the cost center tags to the EBS volumes.
B. Update the Auto Scaling group launch template to include the cost center tags for EBS volumes.
C. Update the Auto Scaling group to include the cost center tags. Set the PropagateAILaunch property to true.
D. Use Tag Editor to search for EBS volumes that are missing the tags and to add the cost center tags to the volumes.
What is the MOST efficient solution that meets this requirement?
A. Create a lifecycle hook on the autoscaling:EC2_INSTANCE_TERMINATING instance state that attaches the cost center tags to the EBS volumes.
B. Update the Auto Scaling group launch template to include the cost center tags for EBS volumes.
C. Update the Auto Scaling group to include the cost center tags. Set the PropagateAILaunch property to true.
D. Use Tag Editor to search for EBS volumes that are missing the tags and to add the cost center tags to the volumes.