ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 386 - SOA-C02 discussion

Report
Export

A company uses AWS Cloud Formation 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 m 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.
Answers
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.
Answers
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.
Answers
C.
Delete the stack again. Specify that the security group be retained.
D.
Perform CloudFormation drift detection Delete the stack.
Answers
D.
Perform CloudFormation drift detection Delete the stack.
Suggested answer: C

Explanation:

Retain the Security Group:

When deleting a CloudFormation stack, you can specify resources to be retained instead of deleted.

Steps:

Go to the AWS Management Console.

Navigate to CloudFormation and select the stack.

Choose to delete the stack.

In the deletion options, specify that the security group should be retained.

This will delete the stack but keep the security group, ensuring no impact on other applications.

asked 16/09/2024
Nuno Silva
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first