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 7 Question 86 Discussion

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

An application running on a set of Amazon EC2 instances in an Auto Scaling group requires a configuration file to operate. The instances are created and maintained with AWS Cloud Formation. A DevOps engineer wants the instances to have the latest configuration file when launched, and wants changes to the configuration file to be reflected on all the instances with a minimal delay when the CloudFormation template is updated Company policy requires that application configuration files be maintained along with AWS infrastructure configuration files in source control.

Which solution will accomplish this?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Delisa
9 days ago
Option A mentions using AWS Config and Systems Manager, which could work, but it seems a bit more complex than the other options. I'm not sure if that's the intended solution here.
upvoted 0 times
...
Louis
10 days ago
I'm leaning towards Option D. Using CloudFormation init metadata to store the configuration file content and configuring the cfn-init and cfn-hup scripts seems like a straightforward way to handle this requirement.
upvoted 0 times
...
Ressie
11 days ago
Option B looks promising. By placing the configuration file content in the launch template and using cfn-init and cfn-hup, we can ensure the instances have the latest configuration when launched and when the template is updated.
upvoted 0 times
...
Launa
12 days ago
This question seems to be testing our understanding of AWS CloudFormation and how to manage application configuration files. The key is to find a solution that allows the configuration file to be updated with minimal delay when the CloudFormation template is updated.
upvoted 0 times
...

Save Cancel