Interview Prep/AWS/Observability, Secrets, KMS and CloudFormation

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 →

  1. Config records configuration items for AWS::EC2::SecurityGroup
  2. Retrieve history: aws configservice get-resource-config-history --resource-type AWS::EC2::SecurityGroup --resource-id sg-0abc
  3. CloudTrail shows who made the call
  4. Retain in S3 with lifecycle for 12 months

Why → Config shows what changed, CloudTrail shows who.

Interview tip → Know the split.

aws All AWS questions

More on Observability, Secrets, KMS and CloudFormation