A global pharmaceutical corporation is building a multi-tenant clinical analytics platform on AWS. The platform allows external clinical research organizations (CROs) to upload sensitive clinical trial data directly into Amazon S3 buckets. The corporation uses an external SAML 2.0 compliant identity provider (IdP) to manage external researcher identities. To comply with strict data protection regulations, the solutions architect must design a secure federation solution. The design must ensure that external researchers can only assume their assigned IAM roles in the member accounts if the external IdP has validated their session using multi-factor authentication (MFA). Furthermore, to prevent accidental or malicious modification of these security configurations, local administrators in the member accounts must not be able to delete or modify the federated IAM roles or the SAML provider configuration. Which two actions should the solutions architect recommend to meet these requirements? (Select two.)
- Configure the trust policy of the IAM roles in the member accounts with the principal set to the SAML provider ARN, specify the sts:AssumeRoleWithSAML action, and add a condition checking that the saml:AuthnMethodsReferences key contains the multi-factor authentication (MFA) context class reference.Answer
- Apply a Service Control Policy (SCP) at the Organizational Unit (OU) level containing the member accounts that denies the iam:DeleteRole, iam:UpdateRole, and iam:DeleteSAMLProvider actions when the resource matches the specific federated IAM roles and SAML provider ARNs.Answer
- CConfigure the trust policy of the IAM roles in the member accounts using the sts:AssumeRole action and specify the SAML identity provider ARN as the Principal.
- DApply a Service Control Policy (SCP) at the Organizational Unit (OU) level containing the member accounts that explicitly allows the sts:AssumeRoleWithSAML action for the SAML identity provider to grant access to the federated IAM roles without requiring local trust policies.
- EConfigure the trust policy of the IAM roles in the member accounts to trust the AWS-managed KMS key for Amazon S3 (aws/s3) to verify the digital signature of the SAML assertions and authorize the federated session.