Deal of The Day! 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
24 days 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
25 days 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
5 days ago
Yeah, using Tag Editor for searching and adding tags seems like a straightforward approach.
upvoted 0 times
...
Tamera
6 days 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 days ago
The lifecycle hook option could work too, as it ensures tags are attached just before termination.
upvoted 0 times
...
Fidelia
8 days 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
9 days 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
10 days ago
C) Update the Auto Scaling group to include the cost center tags. Set the PropagateAtLaunch property to true.
upvoted 0 times
...
Vinnie
11 days ago
B) Update the Auto Scaling group launch template to include the cost center tags for EBS volumes.
upvoted 0 times
...
...
Alexis
25 days 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
26 days 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77