SAP-C02 · Question #683
A company needs to improve the security of its web-based application on AWS. The application uses Amazon CloudFront with two custom origins. The first custom origin routes requests to an Amazon API…
The correct answer is A. Configure the ALB to enforce authentication and authorization by integrating the ALB with the IdP. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-
Question
A company needs to improve the security of its web-based application on AWS. The application uses Amazon CloudFront with two custom origins. The first custom origin routes requests to an Amazon API Gateway HTTP API. The second custom origin routes traffic to an Application Load Balancer (ALB). The application integrates with an OpenID Connect (OIDC) identity provider (IdP) for user management. A security audit shows that a JSON Web Token (JWT) authorizer provides access to the API. The security audit also shows that the ALB accepts requests from unauthenticated users. A solutions architect must design a solution to ensure that all backend services respond to only authenticated users. Which solution will meet this requirement?
Options
- AConfigure the ALB to enforce authentication and authorization by integrating the ALB with the IdP.
- BModify the CloudFront configuration to use signed URLs. Implement a permissive signing policy
- CCreate an AWS WAF web ACL that filters out unauthenticated requests at the ALB level. Allow
- DEnable AWS CloudTrail to log all requests that come to the ALB. Create an AWS Lambda
How the community answered
(22 responses)- A77% (17)
- B5% (1)
- C14% (3)
- D5% (1)
Explanation
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-authenticate-
Community Discussion
No community discussion yet for this question.