An auditor asks for proof of every configuration change to security groups for 12 months. What do you provide?
IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer
Situation read → AWS Config timeline plus CloudTrail.
What I'd do →
- Config records configuration items for
AWS::EC2::SecurityGroup - Retrieve history:
aws configservice get-resource-config-history --resource-type AWS::EC2::SecurityGroup --resource-id sg-0abc - CloudTrail shows who made the call
- Retain in S3 with lifecycle for 12 months
Why → Config shows what changed, CloudTrail shows who.
Interview tip → Know the split.
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?IntermediateAuto-remediate any security group opened to 0.0.0.0/0 on port 22.AdvancedWhere should application database passwords live and how do they rotate?Intermediate