Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 451 discussion

A company uses AWS CloudFormation to deploy its infrastructure. The company recently retired an application. A cloud operations engineer initiates CloudFormation stack deletion, and the stack gets stuck in DELETE_FAILED status.

A SysOps administrator discovers that the stack had deployed a security group. The security group is referenced by other security groups in the environment. The SysOps administrator needs to delete the stack without affecting other applications.

Which solution will meet these requirements in the MOST operationally efficient manner?

  • A. Create a new security group that has a different name. Apply identical rules to the new security group. Replace all other security groups that reference the new security group Delete the stack.
  • B. Create a CloudFormation change set to delete the security group. Deploy the change set.
  • C. Delete the stack again. Specify that the security group be retained.
  • D. Perform CloudFormation drift detection. Delete the stack.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vaa2020
Highly Voted 3 months ago
Selected Answer: C
Option B is incorrect because Change Sets allow you to see how your proposed changes might impact your running resources before implementing them, it will not prevent the error when deleting the stack. Option D is incorrect because Drift Detection identifies stack resources whose actual configuration differs from their template, it does not allow the SG to be retained when deleting the stack. Option A works, but is extremely inefficient. Option C is correct. E.G. using the CLI command $ aws cloudformation delete-stack --stack-name my-stack --retain-resources mysg1 https://repost.aws/knowledge-center/cloudformation-stack-delete-failed
upvoted 6 times
...
Aamee
Most Recent 2 weeks, 3 days ago
Selected Answer: C
Def. option C here..
upvoted 1 times
...
aragon_saa
3 months ago
Selected Answer: A
Answer is A
upvoted 1 times
Aamee
2 weeks, 3 days ago
Absolutely incorrect!... why would you ever re-associate all those existing security groups with a new one manually specially when it asks about 'Operationally efficient' method!...
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 ...