Q: Your company uses AWS Organizations. You log in as the absolute overarching Root User of a member account and try to delete a CloudTrail log, but you receive an `Access Denied` error. How is the Root User denied permission?
This is the immense power of Service Control Policies (SCPs) administered from the AWS Organizations Management (Master) account.
Want to master this scenario in a live sandbox? Stephane Maarek's AWS Certified DevOps Engineer Professional Masterclass on Udemy covers this exact problem with hands-on terminal drills.
🛠️ Production Runbook & Step-by-Step Resolution
Direct Answer: "In our AWS cloud environment, we managed high-traffic microservices where this exact scenario occurred. The interviewer is testing: Service Control Policies (SCPs) overriding Root.. I structure my answer around systematic triage first, root cause analysis second, and permanent remediation third."
Production Solution & Architecture
This is the immense power of Service Control Policies (SCPs) administered from the AWS Organizations Management (Master) account. An SCP operates as an invisible, overarching boundary. If an SCP applied at the Organization or OU level possesses an explicit Deny for cloudtrail:DeleteTrail, it forcefully supersedes everything below it. It mathematically strips that permission away from *every* entity inside the member account—expressly including the usually omnipotent Root User and Administrator IAM Roles. Only the supreme administrators of the overarching Management Account can alter the SCP.
- Immediate Triage: This is the immense power of Service Control Policies (SCPs) administered from the AWS Organiza
- Run targeted verification commands before modifying configuration.
- Automate permanent guardrails (CI check, alerts, IaC policy) to prevent recurrence.
Senior hiring managers and bar raisers evaluate how you prioritize during outages. Avoid these common anti-patterns:
- Purging compromised IAM user credentials immediately prior to querying CloudTrail forensic event logs when configuring company uses Organizations Deactivating a compromised key prevents abuse while preserving identity records for CloudTrail forensic queries to assess blast radius.
- Conflating local IAM Permissions Boundaries with organizational Service Control Policies (SCPs) when configuring company uses Organizations SCPs define maximum permission guards at the AWS Organization level across accounts, whereas permission boundaries limit delegate privileges within a single account.
- Deploying single-AZ cloud infrastructure for production workloads without multi-AZ failover resilience when configuring company uses Organizations Availability Zone hardware failures or localized network partitions cause complete service downtime when resources are not distributed across >=2 AZs.
- Jumping straight to SSH or instance restarts without reviewing CloudWatch metrics and AWS Systems Manager logs when configuring company uses Organizations Senior SREs triage control plane and hypervisor metrics via CloudWatch and SSM Session Manager before executing invasive host-level actions.