You need change previews before applying an infrastructure change.
IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer
Situation read → Change sets.
What I'd do →
aws cloudformation create-change-set --stack-name s --change-set-name c1 --template-body file://t.yamldescribe-change-setto see replacements- Look for
Replacement: Trueon stateful resources execute-change-setafter review
Why → Replacement of a database is a data-loss event.
Interview tip → Use stack policies for protected resources.
More on Observability, Secrets, KMS and CloudFormation
You need to be paged when 5xx errors on the ALB exceed 2 percent for 5 minutes. How?BeginnerHow do you centralize application logs from many EC2 and ECS services?BeginnerCloudWatch costs exploded. Where do you look?IntermediateInvestigate a latency spike across microservices on AWS. What tools do you use?IntermediateAn auditor asks for proof of every configuration change to security groups for 12 months. What do you provide?IntermediateAuto-remediate any security group opened to 0.0.0.0/0 on port 22.Advanced