An enterprise uses AWS Organizations to manage its multi-account environment. The security team wants to establish guardrails that apply to all member accounts, including the local account administrators. Specifically, they must prevent any member account from leaving the AWS Organization, and prevent the deletion or modification of a centralized security audit IAM role named CentralSecOpsRole in any member account. Which two configurations should the Solutions Architect implement to meet these requirements? (Select two.)
- Apply a Service Control Policy (SCP) to the organization root that denies the organizations:LeaveOrganization action.Answer
- Apply an SCP to the organizational units containing the member accounts that denies configuration changes and deletion of the CentralSecOpsRole.Answer
- CApply an IAM permission boundary to all users and roles in the member accounts that explicitly denies organizations:LeaveOrganization and modification of CentralSecOpsRole.
- DAttach an SCP to the organization root that explicitly allows the CentralSecOpsRole to perform all actions and denies all other roles from modifying it.
- EConfigure a resource-based policy on the IAM role CentralSecOpsRole in each member account that denies access to all principals except the security team's cross-account role.
Answer
The correct configurations are to apply a Service Control Policy (SCP) to the organization root that denies the organizations:LeaveOrganization action, and apply an SCP to the organizational units containing the member accounts that denies configuration changes and deletion of the CentralSecOpsRole.
Applying a Service Control Policy (SCP) at the organization root that denies the organizations:LeaveOrganization action effectively prevents any principal in a member account from removing the account from the organization. Additionally, applying an SCP to the organizational units (OUs) that denies IAM actions (such as update and delete actions) on the resource path of CentralSecOpsRole ensures that even local administrators cannot modify or delete the role, as SCPs override local administrator permissions.
Step-by-Step Solution
Key Concept
Service Control Policies (SCPs) act as permission boundaries for AWS Organizations and are required to restrict actions for local administrators in member accounts.
Estimated Time:2m 0s