A multinational enterprise runs an API gateway and an Application Load Balancer (ALB) to expose critical financial APIs to both public users and verified third-party payment processors. The ALB is currently protected by an AWS WAF Web ACL containing the AWS Managed Rules Common Rule Set. During a routine security assessment, the team identifies a need to strengthen network security by implementing rate-limiting to mitigate HTTP flood attacks. The new security policy dictates that verified payment processors, who transmit high-volume API requests from a known static block of IP addresses, must never be throttled. However, all incoming traffic—including that from payment processors—must remain protected against common web exploits. Which configuration represents the most secure and operationally efficient way to implement this policy?
- Create an AWS WAF IP set containing the payment processors' IP addresses. Configure a custom rate-based rule in the Web ACL, and define a scope-down statement within the rule to evaluate only requests where the source IP is NOT in the IP set. Associate the rate-based rule and the AWS Managed Rules group with the Web ACL, ensuring both are evaluated for all incoming traffic.Answer
- BCreate an AWS WAF IP set containing the payment processors' IP addresses. Configure a custom rule in the Web ACL with an action of ALLOW that matches the IP set, and position it at the highest evaluation priority (lowest numeric value). Below this rule, add the custom rate-based rule and the AWS Managed Rules group.
- CCreate an AWS WAF IP set containing the payment processors' IP addresses. Configure a Service Control Policy (SCP) at the organizational level to bypass Web ACL evaluation for any requests originating from the payment processors' IP set, and apply the rate-based rule globally to the Web ACL.
- DCreate an AWS WAF IP set containing the payment processors' IP addresses. Configure the rate-based rule to encrypt client request payloads using an AWS-managed KMS key, and configure an IAM policy on the ALB that allows the payment processors' IAM roles to bypass the Web ACL inspection.