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

Alert on any root account usage.

IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer

Situation read → Event-based alerting.

What I'd do →

  1. EventBridge rule on CloudTrail event with userIdentity.type equal to Root
  2. Route to SNS and pager
  3. Also detect via Config and Security Hub
  4. Enforce with SCP denying root actions in member accounts

Why → Root should be almost never used.

Interview tip → Centralized root management exists in Organizations.

aws All AWS questions

More on Observability, Secrets, KMS and CloudFormation