
Explanation:
Correct Answers: A and C
A. Create a usage plan with an API key that is shared with genuine users only.
C. Implement an AWS WAF rule to target malicious requests and trigger actions to filter them out.
Why other options are incorrect:
B. Integrate logic within the Lambda function to ignore the requests from fraudulent IP addresses.
D. Convert the existing public API to a private API. Update the DNS records to redirect users to the new API endpoint.
E. Create an IAM role for each user attempting to access the API. A user will assume the role when making the API call.
Ultimate access to all questions.
No comments yet.
A company is running a publicly accessible serverless application that uses Amazon API Gateway and AWS Lambda. The application's traffic recently spiked due to fraudulent requests from botnets.
Which steps should a solutions architect take to block requests from unauthorized users? (Choose two.)
A
Create a usage plan with an API key that is shared with genuine users only.
B
Integrate logic within the Lambda function to ignore the requests from fraudulent IP addresses.
C
Implement an AWS WAF rule to target malicious requests and trigger actions to filter them out.
D
Convert the existing public API to a private API. Update the DNS records to redirect users to the new API endpoint.
E
Create an IAM role for each user attempting to access the API. A user will assume the role when making the API call.