
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company has an application that serves clients that are deployed in more than 20,000 retail storefront locations around the world. The application consists of backend web services that are exposed over HTTPS on port 443. The application is hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). The retail locations communicate with the web application over the public internet. The company allows each retail location to register the IP address that the retail location has been allocated by its local ISP.
The company’s security team recommends to increase the security of the application endpoint by restricting access to only the IP addresses registered by the retail locations.
What should a solutions architect do to meet these requirements?
A
Associate an AWS WAF web ACL with the ALB. Use IP rule sets on the ALB to filter traffic. Update the IP addresses in the rule to include the registered IP addresses.
B
Deploy AWS Firewall Manager to manage the ALB. Configure firewall rules to restrict traffic to the ALB. Modify the firewall rules to include the registered IP addresses.
C
Store the IP addresses in an Amazon DynamoDB table. Configure an AWS Lambda authorization function on the ALB to validate that incoming requests are from the registered IP addresses.
D
Configure the network ACL on the subnet that contains the public interface of the ALB. Update the ingress rules on the network ACL with entries for each of the registered IP addresses.
Explanation:
Correct Answer: A
AWS WAF (Web Application Firewall) is the appropriate service for filtering web traffic based on IP addresses at the application layer (Layer 7). Here's why:
Why other options are incorrect:
B. AWS Firewall Manager: While Firewall Manager can manage WAF rules across accounts, it's primarily for centralized management rather than direct IP filtering. It doesn't directly filter traffic at the ALB level.
C. Lambda authorization function: This adds unnecessary complexity and latency. Lambda authorizers are typically used for token-based authentication, not IP filtering. It would require every request to trigger a Lambda function and DynamoDB query, which is inefficient for simple IP filtering.
D. Network ACL: Network ACLs operate at the subnet level (Layer 3/4) and have limitations:
Key Considerations: