Bird
0
0

You want to transform the incoming JSON request body before passing it to Lambda via API Gateway. Which feature should you use?

hard📝 Application Q9 of 15
AWS - API Gateway
You want to transform the incoming JSON request body before passing it to Lambda via API Gateway. Which feature should you use?
ALambda environment variables
BAPI Gateway mapping templates
CCloudWatch Logs
DAWS Step Functions
Step-by-Step Solution
Solution:
  1. Step 1: Understand request transformation

    API Gateway mapping templates allow modifying request data before Lambda.
  2. Step 2: Choose correct feature

    Mapping templates use Velocity Template Language to transform JSON.
  3. Final Answer:

    API Gateway mapping templates -> Option B
  4. Quick Check:

    Request transformation = Mapping templates [OK]
Quick Trick: Use mapping templates to modify requests before Lambda [OK]
Common Mistakes:
  • Using Lambda env variables for request data
  • Confusing Step Functions with request transformation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes