How do you enforce that every CloudFormation or Terraform change is reviewed for security before deploy?
IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer
Situation read → Policy as code in CI.
What I'd do →
- Run
cfn-guard validateorcheckovon templates in pull requests - Fail on high severity
- Require approval in the pipeline
- Use SCP as the backstop
- Report in Security Hub
Why → Shifting left is cheaper than detecting later.
Interview tip → Policies in version control are auditable.
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