Bird
0
0

Which of the following is the correct way to configure an API Gateway method to trigger a Lambda function?

easy📝 Architecture Q12 of 15
AWS - Serverless Architecture
Which of the following is the correct way to configure an API Gateway method to trigger a Lambda function?
ASet the integration type to HTTP and specify the Lambda URL
BSet the integration type to VPC Link and attach Lambda
CSet the integration type to Lambda Function and select the function ARN
DSet the integration type to MOCK and provide Lambda code inline
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct integration type

    API Gateway uses 'Lambda Function' integration to directly invoke Lambda functions.
  2. Step 2: Specify Lambda function ARN

    You must provide the ARN (Amazon Resource Name) of the Lambda function to link it properly.
  3. Final Answer:

    Set the integration type to Lambda Function and select the function ARN -> Option C
  4. Quick Check:

    Integration type Lambda Function + ARN = D [OK]
Quick Trick: Use 'Lambda Function' integration with ARN [OK]
Common Mistakes:
  • Using HTTP integration instead of Lambda Function
  • Confusing MOCK integration with Lambda
  • Incorrectly using VPC Link for Lambda

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes