Infrastructure Security

An AWS WAF web ACL must rate-limit /login requests independently for each combination of client IP address and HTTP method. Other paths must not contribute to the counts. Which rate-based rule configuration meets these requirements?

Show the answer

Correct answerA. Aggregate by IP address and HTTP method; scope down to the /login path

AWhy this is right: The composite keys separate client-method pairs, and the scope-down excludes other paths from counting.

BWhy not this: IP-only aggregation combines all HTTP methods from a client into one counter.

CWhy not this: Including the URI path separates paths, not HTTP methods.

DWhy not this: Without a path scope-down, requests to other paths contribute to the client-method counters.

Custom aggregation keys create separate rate counters for each IP address and HTTP method combination. A scope-down statement restricts counting to /login; adding the URI path as a key would not separate HTTP methods.