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

A company is deploying a third-party web application on AWS. The application is packaged as a Docker image. The company has deployed the Docker image as an AWS Fargate service in Amazon Elastic Container Service (Amazon ECS). An Application Load Balancer (ALB) directs traffic to the application.

The company needs to give only a specific list of users the ability to access the application from the internet. The company cannot change the application and cannot integrate the application with an identity provider. All users must be authenticated through multi-factor authentication (MFA).

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Integrating an Application Load Balancer (ALB) with an Amazon Cognito user pool allows the ALB to handle user authentication and enforce multi-factor authentication (MFA) before forwarding traffic to the application, eliminating the need to modify application code. AWS IAM and AWS IAM Identity Center are designed for managing AWS resource access rather than authenticating external application users via ALB listener rules. AWS Amplify does not provide native listener rule integration with an ALB for user authentication.