A company's regional API Gateway REST API is protected by an AWS WAF Web ACL. During a security audit, the SysOps administrator identifies a brute-force attempt targeting the `/checkout` endpoint. To mitigate this threat, the administrator must restrict each client IP address to a maximum of requests per minutes on the `/checkout` path only. Traffic to other endpoints must not be affected.
Which configuration should the SysOps administrator implement to meet these requirements?
- ADeploy stateless Network Access Control List (NACL) rules on the VPC subnets to limit traffic to requests per minutes, ensuring outbound rules restrict traffic to only HTTPS port .
- Create an AWS WAF Web ACL rule with a rate-based statement set to a limit of , and configure a scope-down statement that matches the URI path `/checkout`.Cevap
- CConfigure an Amazon CloudWatch metric filter for the `/checkout` path that triggers an AWS Config remediation rule, which directly executes an Amazon EventBridge rule to update the API Gateway resource policy.
- DModify the API Gateway backend Application Load Balancer target group health check configuration, changing the health check path to `/checkout` and adjusting the threshold to mark targets unhealthy when requests exceed per minutes.
Cevap
Create an AWS WAF Web ACL rule with a rate-based statement set to a limit of , and configure a scope-down statement that matches the URI path `/checkout`.
The correct option correctly uses an AWS WAF rate-based rule with a scope-down statement matching the `/checkout` URI. AWS WAF evaluates the request rate per client IP address over a sliding -minute window and blocks traffic exceeding requests on that path, satisfying the requirements without affecting other endpoints.
Adım Adım Çözüm
Anahtar Kavram
AWS WAF rate-based rules evaluate the rate of requests from client IP addresses. To apply rate limiting to a subset of requests, a scope-down statement restricts evaluation to matching criteria, such as a specific URI path.
Tahmini Süre:1m 30s