Drift Detection
Drift Detection is a feature in AWS CloudFormation that allows you to detect if the actual stack resources have drifted from the expected stack configuration, as defined by the stack template and applied parameters. Drift is any unintentional change in the stack resources made outside of CloudForma…
AWS Certified Solutions Architect - Drift Detection Example Questions
Test your knowledge of Drift Detection
Question 1
A company manages infrastructure with AWS CloudFormation, but some engineers occasionally modify resources directly in AWS, causing stack drift. Which approach most effectively prevents drift by ensuring that all changes go through CloudFormation?
Question 2
An organization is using AWS CloudFormation to create stacks for different environments such as development, staging, and production. They want to use Drift Detection to ensure that the stacks stay in-sync with the defined templates. They noticed some drifts in the development environment. What could be the next action?
Question 3
An organization manages its AWS resources using AWS CloudFormation. They want to detect when stack resources drift from their templates and receive alerts (for example, via EventBridge and SNS). Which AWS capability should they use to detect the drift?