BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DOP-C01 Topic 3 Question 83 Discussion

Actual exam question for Amazon's DOP-C01 exam
Question #: 83
Topic #: 3
[All DOP-C01 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Nan
7 months ago
True, the lifecycle hook could work, but it feels a bit hacky to me. I'd rather have the tags applied upfront, you know? Plus, the launch template option is more proactive and less reactive.
upvoted 0 times
...
Antione
7 months ago
But what about the lifecycle hook option? Wouldn't that also work by attaching the tags just before the instances are terminated? That seems like a pretty efficient solution too.
upvoted 0 times
Casie
6 months ago
Yeah, using Tag Editor for searching and adding tags seems like a straightforward approach.
upvoted 0 times
...
Tamera
7 months ago
I think updating the Auto Scaling group launch template or group directly might be more efficient in the long run.
upvoted 0 times
...
Rima
7 months ago
The lifecycle hook option could work too, as it ensures tags are attached just before termination.
upvoted 0 times
...
Fidelia
7 months ago
A) Create a lifecycle hook on the autoscaling:EC2_INSTANCE_TERMINATING instance state that attaches the cost center tags to the EBS volumes.
upvoted 0 times
...
Dorthy
7 months ago
D) Use Tag Editor to search for EBS volumes that are missing the tags and to add the cost center tags to the volumes.
upvoted 0 times
...
Emilio
7 months ago
C) Update the Auto Scaling group to include the cost center tags. Set the PropagateAtLaunch property to true.
upvoted 0 times
...
Vinnie
7 months ago
B) Update the Auto Scaling group launch template to include the cost center tags for EBS volumes.
upvoted 0 times
...
...
Alexis
7 months ago
I agree, updating the launch template is probably the best option. It ensures that the tags are applied consistently and automatically, without the need for any manual intervention. Plus, it's less error-prone than the other options.
upvoted 0 times
...
Roy
7 months ago
Hmm, this question seems to test our understanding of tagging and Auto Scaling groups. I think the most efficient solution here would be to update the Auto Scaling group launch template to include the cost center tags for the EBS volumes. That way, any new instances and their attached volumes will automatically have the correct tags.
upvoted 0 times
...

Save Cancel