AWS Certified Developer – Associate — Question 322

A developer is creating a new application that will be accessed by users through an API created using Amazon API Gateway. The users need to be authenticated by a third-party Security Assertion Markup Language (SAML) identity provider. Once authenticated, users will need access to other AWS services, such as Amazon S3 and Amazon DynamoDB.

How can these requirements be met?

Answer options

Correct answer: B

Explanation

Amazon Cognito identity pools enable federated authentication, allowing users authenticated via an external SAML identity provider to obtain temporary AWS credentials to access services like Amazon S3 and Amazon DynamoDB. Amazon Cognito user pools are used for user directories and authentication rather than directly granting temporary AWS credentials for resource access. Neither AWS IAM nor Amazon CloudFront signed URLs are designed to handle SAML federation and user sign-in flows in this manner.