Your web application is getting a suspicious amount of bad requests from foreign IP addresses. Your business is operating in only a few countries and you would like to block any other traffic. What is the best practice for limiting access to your web application by country?

Digital Marketing, LinkedIn Amazon Web Services (AWS) Skill Quiz Answers

You no longer need to be worried if you are taking the LinkedIn Amazon Web Services (AWS) Skill Quiz Exam and are unsure about the proper answer to the question “Your web application is getting a suspicious amount of bad requests from foreign IP addresses. Your business is operating in only a few countries and you would like to block any other traffic. What is the best practice for limiting access to your web application by country?”. I have provided the right answer to your question below.

Your web application is getting a suspicious amount of bad requests from foreign IP addresses. Your business is operating in only a few countries and you would like to block any other traffic. What is the best practice for limiting access to your web application by country?

Options

  • Host the front end of your website in CloudFront and configure a geo restriction on the distribution.
  • Use Web Application Firewall and create a geo match condition to drop all requests from countries that aren’t on your allow list.
  • Use Application Load Balancer to create a new routing rule that looks at source IP address. Add an IP block for the countries that have access.
  • Use CloudTrail to monitor the IP addresses of the bad requests. Use Lambda to add these IP addresses to an Application Load Balancer rule that blocks the IPs.

The Correct Answer Is:

  • Use Web Application Firewall and create a geo match condition to drop all requests from countries that aren’t on your allow list.

Conclusion

I believe I was successful in answering your query “Your web application is getting a suspicious amount of bad requests from foreign IP addresses. Your business is operating in only a few countries and you would like to block any other traffic. What is the best practice for limiting access to your web application by country?”. I hope you easily pass the certification exam and get the certificate as soon as possible. Have a great time! Good luck!