A multi-player online gaming platform hosts its workloads across hundreds of AWS accounts managed under a single organization in AWS Organizations. The company uses an external SAML 2.0-compliant Identity Provider (IdP) to manage employee identities. To simplify cross-account access, the security team is implementing direct SAML federation to each member account, allowing developers to federate directly into roles. However, during initial testing, users receive an Access Denied error after authenticating at the IdP redirect page. Simultaneously, the security team needs to ensure that no developer role can modify security logging configurations, regardless of any local IAM permissions or administrator privileges.
Which combinations of actions will resolve the federation issue and enforce the logging restriction? (Select TWO.)
- Modify the trust policy of the IAM roles in the member accounts to ensure the principal is the SAML provider metadata ARN and the Action is set to sts:AssumeRoleWithSAML.Answer
- Create a Service Control Policy (SCP) with an explicit Deny rule for the logging modifications and attach it to the target Organizational Units (OUs).Answer
- CModify the trust policy of the IAM roles in the member accounts to trust the external IdP domain name as a principal and allow the sts:AssumeRoleWithWebIdentity action.
- DApply a Service Control Policy (SCP) to the member accounts that explicitly allows the federated roles to perform actions and relies on the SCP to grant the permissions without local IAM policies.
- EConfigure the SAML assertion attributes in the external IdP to pass the IAM role ARN as the Subject identifier (NameID) and specify the sts:AssumeRole action in the audience restriction.