Cyber Monday 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 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:

Ronny
6 months ago
I agree with Shenika, I think option D is the way to go.
upvoted 0 times
...
Shenika
6 months ago
Option D uses CloudFormation init metadata which allows for more control over the configuration file updates.
upvoted 0 times
...
Myra
7 months ago
Why do you think option D is better, Shenika?
upvoted 0 times
...
Shenika
7 months ago
I disagree, I believe option D is the best choice.
upvoted 0 times
...
Myra
7 months ago
I think option B sounds like a good solution.
upvoted 0 times
...
Delisa
8 months 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
Maybelle
7 months ago
Let's go with Option B then, it should get the job done without unnecessary complexity.
upvoted 0 times
...
Xenia
8 months ago
Option B definitely seems like the most efficient solution here.
upvoted 0 times
...
Kenneth
8 months ago
It's important to keep things as simple as possible while still meeting the requirements.
upvoted 0 times
...
Shantell
8 months ago
I agree, using the cfn-init and cfn-hup scripts for configuration updates makes sense.
upvoted 0 times
...
Vallie
8 months ago
Option B does seem more straightforward and simpler to implement.
upvoted 0 times
...
Larae
8 months ago
I think Option B might be the better choice in this scenario.
upvoted 0 times
...
...
Louis
8 months 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
8 months 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
8 months 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
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