SAA-C03 · Question #518
A developer creates a web application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Auto Scaling group. The developer reviews the deployment…
The correct answer is D. Add the malicious IP address to an IP set in AWS WAF. Create a web ACL. Include an IP set rule. When an application is fronted by an Application Load Balancer (ALB) and malicious traffic is detected from a specific IP, the correct way to block the IP is by using AWS WAF (Web Application Firewall). With AWS WAF, you can create an IP Set to include the offending IP address…
Question
A developer creates a web application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Auto Scaling group. The developer reviews the deployment and notices some suspicious traffic to the application. The traffic is malicious and is coming from a single public IP address. A solutions architect must block the public IP address. Which solution will meet this requirement?
Options
- ACreate a security group rule to deny all inbound traffic from the suspicious IP address. Associate
- BImplement Amazon Detective to monitor traffic and to block malicious activity from the internet.
- CImplement AWS Resource Access Manager (AWS RAM) to manage traffic rules and to block
- DAdd the malicious IP address to an IP set in AWS WAF. Create a web ACL. Include an IP set rule
How the community answered
(43 responses)- A2% (1)
- C5% (2)
- D93% (40)
Explanation
When an application is fronted by an Application Load Balancer (ALB) and malicious traffic is detected from a specific IP, the correct way to block the IP is by using AWS WAF (Web Application Firewall). With AWS WAF, you can create an IP Set to include the offending IP address or range. Then create a Web ACL (Access Control List) with a rule set to BLOCK requests from that IP set. Finally, associate the Web ACL with the ALB. Security groups (Option A) cannot deny specific IPs because they are stateful and allow-only Amazon Detective (Option B) is a security analysis and investigation tool; it doesn't block traffic. AWS RAM (Option C) is for resource sharing across accounts, not for blocking IPs. This approach aligns with AWS's Security Pillar of the Well-Architected Framework and is fully managed, with minimal operational effort.
Community Discussion
No community discussion yet for this question.