AWS Certified Solutions Architect – Professional (SAP-C02) — Question 385

A company hosts an intranet web application on Amazon EC2 instances behind an Application Load Balancer (ALB). Currently, users authenticate to the application against an internal user database.

The company needs to authenticate users to the application by using an existing AWS Directory Service for Microsoft Active Directory directory. All users with accounts in the directory must have access to the application.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Amazon Cognito user pools support federation with external identity providers (IdPs) like Active Directory via SAML. By integrating the ALB with Amazon Cognito using the authenticate-cognito action, the ALB offloads user authentication to Cognito, which in turn authenticates users against the Active Directory. Other options using authenticate-oidc directly with Active Directory or attempting to use IAM roles for ALB access do not properly facilitate ALB-level user authentication.