An enterprise operates a web application deployed on Amazon ECS tasks running on AWS Fargate in private subnets, fronted by an internet-facing Application Load Balancer (ALB). The application requires users to authenticate via SAML 2.0 with an external corporate identity provider (IdP). To improve security, the organization wants to offload the authentication process from the application layer to the ALB. Additionally, the application must be protected against SQL injection attacks and brute-force traffic spikes. Which of the following actions should the solutions architect take to meet these requirements? (Select two.)
- Configure the Application Load Balancer HTTPS listener to authenticate users using an authenticate-oidc action integrated with an Amazon Cognito user pool that is federated with the external identity provider.Cevap
- Associate an AWS WAF web ACL with the Application Load Balancer, and configure rate-limiting and SQL injection mitigation rules, ensuring they are placed at higher priority and evaluated before the default action.Cevap
- CAssociate an AWS WAF web ACL with the Application Load Balancer, and configure a default allow rule at priority 0, followed by rate-limiting and SQL injection block rules at lower priority to minimize processing overhead.
- DConfigure the Application Load Balancer HTTPS listener to forward traffic to the tasks, and configure the Fargate execution role to trust the external identity provider using a trust policy with the sts:AssumeRole action.
- EDeploy a Route 53 Resolver endpoint and associate a Private Hosted Zone containing the portal records with a shared services VPC, without associating it with the Fargate VPC.
Cevap
The solutions architect should configure the Application Load Balancer HTTPS listener to authenticate users using an authenticate-oidc action integrated with an Amazon Cognito user pool, and associate an AWS WAF web ACL configured with rate-limiting and SQL injection rules evaluated at high priority.
Configuring the Application Load Balancer HTTPS listener to use the authenticate-oidc action with Amazon Cognito simplifies application logic by offloading authentication to the load balancer tier. Associating AWS WAF with the ALB and ordering SQL injection and rate-limiting rules at a higher priority ensures malicious requests are blocked before they are routed to the backend tasks.
Adım Adım Çözüm
Anahtar Kavram
Continuous security improvement by offloading authentication to the ALB with Cognito and placing blocking WebACL rules at high priority in AWS WAF.
Tahmini Süre:2m 0s