A healthcare software provider uses AWS Organizations to manage 150 member accounts. The security team mandates that a specific IAM role named SecurityAuditRole must exist in all accounts and must be protected from deletion or modification by any local administrator. However, developers in the Research and Development (R&D) Organizational Unit (OU) require full administrative access to create, update, and delete IAM roles for local microservices testing. Which strategy should the solutions architect implement to enforce this governance control with the least administrative overhead?
- Attach a Service Control Policy (SCP) to the R&D OU that denies IAM modification and deletion actions where the resource matches the ARN of the SecurityAuditRole, while continuing to grant developers administrative access via local IAM policies.Answer
- BAttach a Service Control Policy (SCP) to the R&D OU that explicitly allows all IAM actions except those targeting the SecurityAuditRole, and remove the local administrative IAM policies from the member accounts.
- CConfigure an AWS KMS customer managed key (CMK) policy that denies key usage permissions to any IAM role modification API requests targeting the SecurityAuditRole across all member accounts.
- DUse AWS Resource Access Manager (RAM) to share a master IAM policy from the management account to the R&D OU member accounts, and attach this shared policy directly to the developer roles to explicitly deny modifications to the SecurityAuditRole.
Answer
Attach a Service Control Policy (SCP) to the R&D OU that denies IAM modification and deletion actions where the resource matches the ARN of the SecurityAuditRole, while continuing to grant developers administrative access via local IAM policies.
The correct strategy combines a Service Control Policy (SCP) with local IAM policies. The SCP acts as a guardrail by denying IAM delete and modification API actions specifically targeting the ARN of the SecurityAuditRole. Because explicit denies override any allows, this prevents local administrators from modifying the role. Since SCPs do not grant permissions directly, developers still need local IAM policies granting administrative permissions (such as iam:*) to manage other resources in their account.
Step-by-Step Solution
Key Concept
Service Control Policies (SCPs) act as permission filters (guardrails) and must be combined with local IAM policies to grant permissions.
Estimated Time:2m 30s