AWS Certified Solutions Architect – Professional (SAP-C02) — Question 187
A solutions architect has implemented a SAML 2.0 federated identity solution with their company's on-premises identity provider (IdP) to authenticate users' access to the AWS environment. When the solutions architect tests authentication through the federated identity web portal, access to the AWS environment is granted. However, when test users attempt to authenticate through the federated identity web portal, they are not able to access the AWS environment.
Which items should the solutions architect check to ensure identity federation is properly configured? (Choose three.)
Answer options
- A. The IAM user's permissions policy has allowed the use of SAML federation for that user.
- B. The IAM roles created for the federated users' or federated groups' trust policy have set the SAML provider as the principal. B. Test users are not in the AWSFederatedUsers group in the company's IdP.
- C. The web portal calls the AWS STS AssumeRoleWithSAML API with the ARN of the SAML provider, the ARN of the IAM role, and the SAML assertion from IdP.
- D. The on-premises IdP's DNS hostname is reachable from the AWS environment VPCs.
- E. The company's IdP defines SAML assertions that properly map users or groups. In the company to IAM roles with appropriate permissions.
Correct answer: B, C, E
Explanation
The correct answers B, C, and E are essential checks for ensuring that the federated identity setup works correctly. Option B ensures that the trust relationship is correctly defined, while option C verifies that the API call is appropriately formatted. Option E confirms that the IdP's assertions correctly map users to roles. Options A and D are not critical to the federation process as they do not directly relate to the configuration of SAML assertions or role assumptions.