0
0
AWScloud~5 mins

Updating and deleting stacks in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a CloudFormation stack update?
A stack update is the process of changing the resources or settings in an existing CloudFormation stack to match a new template or parameters.
Click to reveal answer
beginner
What happens if a stack update fails?
If a stack update fails, CloudFormation rolls back the changes to keep the stack in its previous stable state.
Click to reveal answer
beginner
How do you delete a CloudFormation stack?
You delete a stack by telling CloudFormation to remove all the resources it created for that stack, cleaning up everything automatically.
Click to reveal answer
intermediate
What should you check before deleting a stack?
Check if any resources are still in use or have dependencies outside the stack to avoid breaking other systems.
Click to reveal answer
intermediate
Can you update a stack to remove resources?
Yes, by modifying the template to remove resources and then updating the stack, CloudFormation deletes those resources during the update.
Click to reveal answer
What does CloudFormation do if a stack update fails?
ARolls back to the previous stack state
BLeaves the stack partially updated
CDeletes the stack automatically
DIgnores the failure and continues
Which action deletes all resources created by a CloudFormation stack?
APausing the stack
BUpdating the stack
CCreating a new stack
DDeleting the stack
How can you remove a resource from a stack?
AUpdate the stack with a template that excludes the resource
BDelete the resource manually
CPause the stack
DRename the resource
Before deleting a stack, what should you verify?
AThat the stack is paused
BThat no resources are used elsewhere
CThat the stack is updated
DThat the stack has no outputs
What is the main benefit of stack updates?
ACreating new resources only
BDeleting the stack automatically
CChanging existing resources without deleting the stack
DBacking up stack data
Explain the process and safety mechanisms involved when updating a CloudFormation stack.
Think about how CloudFormation keeps your resources safe during changes.
You got /4 concepts.
    Describe the steps and considerations before deleting a CloudFormation stack.
    Deleting a stack is like cleaning up a project; make sure nothing important is still connected.
    You got /4 concepts.