Bird
0
0

You want API Gateway to forward the full client request (headers, query, body) to your Lambda function and receive the Lambda response directly. Which integration type and setup should you use?

hard📝 Application Q15 of 15
AWS - API Gateway
You want API Gateway to forward the full client request (headers, query, body) to your Lambda function and receive the Lambda response directly. Which integration type and setup should you use?
AUse AWS integration type with manual mapping templates
BUse MOCK integration type and configure static responses
CUse HTTP integration type pointing to Lambda's REST endpoint
DUse AWS_PROXY integration type with Lambda and grant invoke permissions
Step-by-Step Solution
Solution:
  1. Step 1: Identify integration type for full request forwarding

    AWS_PROXY integration forwards the entire client request to Lambda and returns Lambda's response directly.
  2. Step 2: Confirm permissions and setup

    Granting API Gateway permission to invoke Lambda is required for this integration to work.
  3. Final Answer:

    Use AWS_PROXY integration type with Lambda and grant invoke permissions -> Option D
  4. Quick Check:

    AWS_PROXY + invoke permission = full request forwarding [OK]
Quick Trick: AWS_PROXY forwards full request and response [OK]
Common Mistakes:
  • Using MOCK for dynamic Lambda calls
  • Using HTTP integration which doesn't call Lambda directly
  • Using AWS integration without proxy causing manual mapping

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes