🔥 3-day streak
AWS Certified Developer - Associate3 / 150
Question 3 of 150
A developer exposes a REST API through Amazon API Gateway that forwards requests to a Lambda function. The Lambda code is being invoked with malformed JSON bodies and missing required query parameters, wasting compute and generating errors. The team wants to reject these bad requests before they reach Lambda, without adding custom validation code. What is the MOST appropriate approach?
Reviewed for accuracy · Report an issueNext question