ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 580 - SAA-C03 discussion

Report
Export

A company's website is used to sell products to the public. The site runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). There is also an Amazon CloudFront distribution, and AWS WAF is being used to protect against SQL injection attacks. The ALB is the origin for the CloudFront distribution. A recent review of security logs revealed an external malicious IP that needs to be blocked from accessing the website.

What should a solutions architect do to protect the application?

A.
Modify the network ACL on the CloudFront distribution to add a deny rule for the malicious IP address.
Answers
A.
Modify the network ACL on the CloudFront distribution to add a deny rule for the malicious IP address.
B.
Modify the configuration of AWS WAF to add an IP match condition to block the malicious IP address.
Answers
B.
Modify the configuration of AWS WAF to add an IP match condition to block the malicious IP address.
C.
Modify the network ACL for the EC2 instances in the target groups behind the ALB to deny the malicious IP address.
Answers
C.
Modify the network ACL for the EC2 instances in the target groups behind the ALB to deny the malicious IP address.
D.
Modify the security groups for the EC2 instances in the target groups behind the ALB to deny the malicious IP address.
Answers
D.
Modify the security groups for the EC2 instances in the target groups behind the ALB to deny the malicious IP address.
Suggested answer: B

Explanation:

AWS WAF is a web application firewall that helps protect web applications from common web exploits that could affect application availability, compromise security, or consume excessive resources. AWS WAF allows users to create rules that block, allow, or count web requests based on customizable web security rules. One of the types of rules that can be created is an IP match rule, which allows users to specify a list of IP addresses or IP address ranges that they want to allow or block. By modifying the configuration of AWS WAF to add an IP match condition to block the malicious IP address, the solution architect can prevent the attacker from accessing the website through the CloudFront distribution and the ALB.

The other options are not correct because they do not effectively block the malicious IP address from accessing the website. Modifying the network ACL on the CloudFront distribution or the EC2 instances in the target groups behind the ALB will not work because network ACLs are stateless and do not evaluate traffic at the application layer. Modifying the security groups for the EC2 instances in the target groups behind the ALB will not work because security groups are stateful and only evaluate traffic at the instance level, not at the load balancer level.

AWS WAF

How AWS WAF works

Working with IP match conditions

asked 16/09/2024
Sujit Singh
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first