An enterprise hosts an internal web application on Amazon EC2 instances behind an internal Application Load Balancer (ALB) inside a VPC. Corporate users access the application through an AWS Site-to-Site VPN connection. The security team wants to improve the network security posture by deploying AWS WAF on the internal ALB. The requirements are:
1. Block all requests containing SQL injection (SQLi) patterns.
2. Restrict all other access to the corporate network public CIDR block ().
The security team configures an AWS WAF WebACL with the following rules:
- Rule A (Priority 10): A custom rule with an Allow action for source IP addresses in .
- Rule B (Priority 20): An AWS Managed Rules SQL database rule set with a Block action.
- Default Action: Block.
During a security audit, simulated SQLi attacks originating from the corporate network successfully reach the EC2 instances. Which of the following modifications should the security team perform to remediate this vulnerability and meet the requirements? (Select TWO.)
- Increase the priority value of Rule A so that it is evaluated after Rule B (e.g., set Rule A to Priority 30).Cevap
- Modify Rule A to block traffic that does not originate from , set its priority to 30, and change the WebACL default action to Allow.Cevap
- CChange the action of Rule A to Count, keep its priority at 10, and keep the WebACL default action as Block.
- DModify Rule A to block traffic that does not originate from , keep its priority at 10, and keep the WebACL default action as Block.
- EChange the action of Rule B to Count and change its priority to 5, allowing all corporate network traffic to be allowed by Rule A.