Medium1 markMultiple Choice
Domain 1.2: Secure WorkloadsSecurityWAFAPI Gateway

AWS SAA-C03 · Question 54 · Domain 1.2: Secure Workloads

A company has an application that uses Amazon API Gateway and AWS Lambda. The security team wants to block requests originating from specific countries and protect the API from SQL injection attacks. <br/><br/>How can this be achieved?

Answer options:

A.

Configure Security Groups on the Lambda functions.

B.

Attach an AWS WAF Web ACL to the API Gateway.

C.

Use Amazon GuardDuty to block the requests.

D.

Configure Network ACLs on the VPC where the API Gateway resides.

How to approach this question

Identify the service that provides Layer 7 protection (SQLi) and geo-blocking.

Full Answer

B.Attach an AWS WAF Web ACL to the API Gateway.✓ Correct
Attach an AWS WAF Web ACL to the API Gateway.
AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to an Amazon API Gateway API, Amazon CloudFront, or an Application Load Balancer. It can block traffic based on IP, geography, and malicious payloads like SQLi.

Common mistakes

Thinking Security Groups can block traffic by country.

Practice the full AWS SAA-C03 Practice Exam 4

65 questions · hints · full answers · grading

More questions from this exam