0
0
AWScloud~5 mins

Stack drift detection in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is stack drift in AWS CloudFormation?
Stack drift happens when the actual resources in your cloud environment change from what your CloudFormation template says they should be.
Click to reveal answer
beginner
How does AWS CloudFormation detect stack drift?
It compares the current state of your resources with the expected state defined in your CloudFormation stack to find differences.
Click to reveal answer
beginner
What types of changes can cause stack drift?
Manual changes outside CloudFormation, like updating a server or changing a security group directly in the AWS console, cause stack drift.
Click to reveal answer
beginner
What is the benefit of detecting stack drift?
Detecting drift helps keep your cloud resources consistent with your templates, avoiding unexpected problems and making management easier.
Click to reveal answer
beginner
Can AWS CloudFormation fix stack drift automatically?
No, CloudFormation only detects drift. You must update the stack or fix resources manually to correct the drift.
Click to reveal answer
What does stack drift detection compare?
AUser access logs
BTwo different CloudFormation templates
CAWS billing reports
DCurrent resource state vs. CloudFormation template
Which action can cause stack drift?
AUpdating resources manually outside CloudFormation
BDeploying a new CloudFormation stack
CDeleting a CloudFormation stack
DCreating a CloudFormation change set
What should you do after detecting stack drift?
AIgnore the drift
BDelete the stack immediately
CUpdate the stack or fix resources manually
DRestart AWS services
Does AWS CloudFormation automatically fix drift?
AOnly if drift is minor
BNo, it only detects drift
COnly for EC2 instances
DYes, it fixes drift automatically
Why is stack drift detection important?
ATo keep resources consistent with templates
BTo increase AWS billing
CTo speed up deployments
DTo backup data
Explain what stack drift is and how AWS CloudFormation detects it.
Think about how changes outside the template affect your stack.
You got /3 concepts.
    Describe the steps you would take after detecting stack drift in your AWS environment.
    Consider what actions keep your cloud environment healthy.
    You got /3 concepts.