exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 52 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 52
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company uses a series of individual Amazon CloudFormation templates to deploy its multi-Region applications. These templates must be deployed in a specific order. The company is making more changes to the templates than previously expected and wants to deploy new templates more efficiently. Additionally, the data engineering team must be notified of all changes to the templates.
What should the company do to accomplish these goals?

  • A. Create an AWS Lambda function to deploy the CloudFormation templates in the required order. Use stack policies to alert the data engineering team.
  • B. Host the CloudFormation templates in Amazon S3. Use Amazon S3 events to directly trigger CloudFormation updates and Amazon SNS notifications.
  • C. Implement CloudFormation StackSets and use drift detection to trigger update alerts to the data engineering team.
  • D. Leverage CloudFormation nested stacks and stack sets for deployments. Use Amazon SNS to notify the data engineering team.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Goozian
Highly Voted 2 years, 7 months ago
Selected Answer: D
D seems a better choice among others "in a specific order." => Nested Stack guarantee
upvoted 8 times
ceros399
2 years, 4 months ago
Nested Stack doesn't manage the order in which the templates are applied, for hat you use Stack Sets
upvoted 1 times
devops7
2 years, 3 months ago
I wrote nested stack in CDK. It does deploy the child stacks in order. D is the answer because the question is about the (SNS) notification of any changes
upvoted 3 times
...
...
...
okm1997_2
Most Recent 2 years, 2 months ago
Selected Answer: D
Nested stack for order and sns for notification
upvoted 1 times
...
DevOpsJagadGuru
2 years, 2 months ago
Option C is the best choice to accomplish the company's goals. With CloudFormation StackSets, the company can deploy the same set of CloudFormation templates to multiple accounts and regions at once. The StackSets can be used to maintain the ordering of the templates while allowing changes to be deployed more efficiently across multiple accounts and regions. In addition, StackSets can use drift detection, which can detect differences between the expected and actual stack configuration in each account and region. If a drift is detected, it can trigger an update of the affected stack, which can then notify the data engineering team of any changes made to the templates. Option A may be used to deploy the templates in order but may not be efficient for deploying changes. Option B may work for triggering CloudFormation updates and SNS notifications but may not maintain the required order of deployment. Option D may work for notifications but may not handle the required ordering of deployment or efficiently deploy changes.
upvoted 3 times
...
Bulti
2 years, 3 months ago
D is the right answer
upvoted 2 times
...
saeidp
2 years, 4 months ago
I go with D
upvoted 1 times
...
ceros399
2 years, 4 months ago
Selected Answer: C
Stack Sets will take care of the multi-region ordered deployment. and I don't see the need for nested stack
upvoted 3 times
apcloud
2 years, 4 months ago
They aren’t looking for drift notifs, they want to notify the team about template changes
upvoted 6 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago