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.
Loading...
Related Quiz
- How does the AWS Lambda execution environment process SNS messages when triggered?
- How does Lambda@Edge integrate with AWS CloudFront?
- When using a custom runtime, you have full control over the __________ and execution environment of your Lambda functions.
- What are CloudWatch Logs Insights used for?
- What is the primary goal of performance testing?