Alert on any root account usage.
IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer
Situation read → Event-based alerting.
What I'd do →
- EventBridge rule on CloudTrail event with
userIdentity.typeequal toRoot - Route to SNS and pager
- Also detect via Config and Security Hub
- Enforce with SCP denying root actions in member accounts
Why → Root should be almost never used.
Interview tip → Centralized root management exists in Organizations.
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