exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 111 discussion

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
emupsx1
Highly Voted 1 year, 3 months ago
The answer is D because: A few hours ago, I just finished the DOP-C02 exam. My score is 1000 points. This question has come up, I choose D.
upvoted 13 times
BaburTurk
1 year, 1 month ago
pics or it did not happen, troll bot account
upvoted 9 times
...
...
c3518fc
Highly Voted 6 months, 1 week ago
Selected Answer: D
Here's why this solution is the best approach: Nested Stacks: CloudFormation nested stacks allow you to break down complex templates into smaller, more manageable templates. You can create a root stack that references and manages multiple nested stacks. This approach simplifies the management and deployment of multiple interdependent templates in the correct order. StackSets: CloudFormation StackSets allow you to create, update, or delete stacks across multiple AWS accounts and regions with a single operation. This addresses the requirement of deploying applications across multiple regions efficiently. Amazon SNS: Amazon Simple Notification Service (SNS) can be used to send notifications to the data engineering team whenever changes are made to the CloudFormation templates or stacks.
upvoted 5 times
...
dkp
Most Recent 6 months, 1 week ago
Selected Answer: D
should be D
upvoted 1 times
...
WhyIronMan
6 months, 3 weeks ago
Selected Answer: D
Answer is D.
upvoted 1 times
...
jojom19980
8 months, 1 week ago
Selected Answer: D
the nested for order : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
upvoted 2 times
...
thanhnv142
8 months, 3 weeks ago
D is correct: <uses a series of individual Amazon CloudFormation templates to deploy its multi-Region applications> and <wants to deploy new templates more efficiently> mean stacksets, which is template for multiple regions. <the data engineering team must be notified of all changes> means SNS A and B: no mention of stacksets C: no mention of SNS
upvoted 3 times
...
sarlos
9 months, 3 weeks ago
D is the answer
upvoted 1 times
...
YR4591
12 months ago
Selected Answer: D
It's D. C is not correct since according to this link: https://aws.amazon.com/blogs/mt/implementing-an-alarm-to-automatically-detect-drift-in-aws-cloudformation-stacks/ We need AWS config rule to detect drifts and to send event. There is no build in solution to notify drift detection like mentioned in C,
upvoted 1 times
...
daburahjail
1 year, 1 month ago
Selected Answer: D
C is for notifying changes on what has been deployed by Cloud Formation D is for notifying changes made on the Cloud Formation template (the recipe) itself
upvoted 1 times
...
beanxyz
1 year, 1 month ago
Selected Answer: D
C didn't mention how to deploy in a specific order. D mentioned nested stack, which you can configure the dependency ordering
upvoted 1 times
...
OrganizedChaos25
1 year, 5 months ago
I got D as my answer
upvoted 1 times
...
devnv
1 year, 5 months ago
D is correct
upvoted 1 times
...
PhuocT
1 year, 5 months ago
Selected Answer: D
it' s D, I think.
upvoted 1 times
...
ParagSanyashiv
1 year, 5 months ago
Selected Answer: D
D is correct.
upvoted 1 times
...
Sazeka
1 year, 5 months ago
Selected Answer: D
The correct solution is D: The solution works as follows: AWS Config triggers the evaluation when any resource that matches the rule’s scope (currently set to “AWS::CloudFormation::Stack”) changes in configuration and at the frequency (“MaximumExecutionFrequency” parameter) that you specify at the time of this solution deployment. EventBridge receives the events from AWS Config, applies the EventBridge rule to match the compliance change event, and transforms the input (customize the text) as defined in the “InputTransformer” template. The chosen customer-managed KMS Key is then accessed to encrypt the notification. The encrypted notification is published to the target SNS topic. The endpoints subscribed to this topic start receiving the published messages.
upvoted 1 times
...
Jeanphi72
1 year, 5 months ago
Selected Answer: C
I think C: https://aws.amazon.com/blogs/mt/implementing-an-alarm-to-automatically-detect-drift-in-aws-cloudformation-stacks/
upvoted 1 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