An AWS WAF web ACL must rate-limit POST requests to /login and /reset separately for each client IP and path. Trusted office IPs must be exempt from this limit but remain subject to subsequent security rules; all other requests must be excluded from the rate count. Which design meets these requirements?
Show the answer
Correct answerA. Aggregate by IP and URI path; scope down to the specified POST paths, excluding the trusted IP set.
AWhy this is right: Each IP-path pair receives its own rate count, while scope-down exclusions preserve evaluation by subsequent rules.
BWhy not this: A terminating Allow action exempts trusted office requests from subsequent security rules, not just rate limiting.
CWhy not this: Path-only aggregation combines requests from all clients to each path into one rate count.
DWhy not this: IP-only aggregation combines a client's requests to both paths into one rate count.
Custom aggregation by IP and URI path creates a separate rate count for each client-path pair. The scope-down statement excludes unrelated requests and trusted IPs; an earlier Allow rule would terminate evaluation and bypass subsequent security rules.