Scenario: You are building a microservices architecture where multiple AWS Lambda functions handle different API endpoints. How would you design API Gateway to efficiently route incoming requests to the corresponding Lambda functions?

  • Use API Gateway custom headers
  • Use API Gateway query parameters
  • Use API Gateway resource paths and HTTP methods
  • Use API Gateway stage variables
By using API Gateway resource paths and HTTP methods, you can efficiently route incoming requests to the corresponding Lambda functions based on the request path and method.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *