SOA-C02 Exam QuestionsBrowse all questions from this exam

SOA-C02 Exam - Question 360


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 SysOps administrator must block the public IP address.

Which solution will meet this requirement?

Show Answer
Correct Answer: D

To block a specific IP address, the use of AWS WAF (Web Application Firewall) is the most appropriate solution. By adding the malicious IP address to an IP set in AWS WAF, creating a web ACL, and including an IP set rule with the action set to BLOCK, you can effectively prevent traffic from that IP address from reaching the Application Load Balancer (ALB). AWS WAF is designed to manage and block specific types of traffic based on rules, including IP addresses, making it suited for this scenario.

Discussion

7 comments
Sign in to comment
rdiazOption: D
Jun 26, 2023

D waf. “A” cannot be because security groups do not have deny rules.

WarzaOption: D
Jun 27, 2023

D. meets ALL requirements for the question

[Removed]
Jul 10, 2023

D. Add the malicious IP address to an IP set in AWS WAF. Create a web ACL. Include an IP set rule with the action set to BLOCK. Associate the web ACL with the ALB.

Pete987Option: D
Jun 30, 2023

S: WAF for blocking IP address

jas26saysOption: A
Jun 24, 2023

Ans is A

jas26says
Jul 6, 2023

Sorry, it´s D

Zotarix
Jul 23, 2023

Security Groups only allows traffic to your resources, you can't block traffic using Security Groups. https://docs.aws.amazon.com/vpc/latest/userguide/security-groups.html

joshnortOption: D
Apr 5, 2024

D: Add the malicious IP address to an IP set in AWS WAF. Create a web ACL. Include an IP set rule with the action set to BLOCK. Associate the web ACL with the ALB. AWS Web Application Firewall (WAF) allows you to create rules to control which traffic is allowed or blocked to your web applications. By creating an IP set containing the malicious IP address and associating it with a web ACL with a BLOCK action, you effectively block the IP address from reaching the ALB. https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html (A) is wrong because Security Groups don't have Deny Rules.

james2033Option: D
Jul 5, 2024

a single malicious public IP address --> AWS WAF (Web Application Firewall) --> D.