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?
✗ Incorrect
Stack drift detection compares the actual state of resources with the expected state defined in the CloudFormation template.
Which action can cause stack drift?
✗ Incorrect
Manual changes outside CloudFormation cause drift because they are not tracked by the template.
What should you do after detecting stack drift?
✗ Incorrect
After detecting drift, you must fix the resources or update the stack to match the desired state.
Does AWS CloudFormation automatically fix drift?
✗ Incorrect
CloudFormation detects drift but does not fix it automatically.
Why is stack drift detection important?
✗ Incorrect
Detecting drift helps maintain consistency and avoid unexpected issues.
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.