exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 580 discussion

Exam question from Amazon's AWS-SysOps
Question #: 580
Topic #: 1
[All AWS-SysOps Questions]

A SysOps Administrator is using AWS CloudFormation to deploy resources but would like to manually address any issues that the template encounters.
What should the Administrator add to the template to support the requirement?

  • A. Enable Termination Protection on the stack
  • B. Set the OnFailure parameter to ג€DO_NOTHINGג€
  • C. Restrict the IAM permissions for CloudFormation to delete resources
  • D. Set the DeleteStack API action to ג€Noג€
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html

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
YashBindlish
Highly Voted 2 years, 7 months ago
Correct Answer is B
upvoted 12 times
...
albert_kuo
Most Recent 9 months, 4 weeks ago
Selected Answer: B
By setting the OnFailure parameter to "DO_NOTHING", the CloudFormation stack will not take any automatic actions in response to a failure during stack creation or update. Instead, it will allow the Administrator to manually review and address any issues before deciding how to proceed.
upvoted 1 times
...
TroyMcLure
2 years, 5 months ago
Correct Answer: B https://docs.aws.amazon.com/cli/latest/reference/cloudformation/create-stack.html Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback , but not both. Default: ROLLBACK Possible values: DO_NOTHING ROLLBACK DELETE
upvoted 2 times
...
pleasespammelater
2 years, 6 months ago
B is the best answer. But actually the OnFailure option is set in the CreateStack API call; as far as I can tell, you can't set that within the template itself.
upvoted 4 times
...
wshyang
2 years, 6 months ago
https://docs.aws.amazon.com/cli/latest/reference/cloudformation/create-stack.html
upvoted 2 times
...
wshyang
2 years, 6 months ago
https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-prevent-rollback-failure/
upvoted 1 times
...
karmaah
2 years, 6 months ago
Yes. B..Same in Console : https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-prevent-rollback-failure/
upvoted 3 times
...
saumenP
2 years, 6 months ago
B is correct
upvoted 3 times
...
jxhyxxclyp
2 years, 7 months ago
ans is B
upvoted 3 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