
Answer-first summary for fast verification
Answer: Utilize Amazon API Gateway with REST API features to integrate with the Lambda function. Set up individual usage plans in API Gateway for each customer, incorporating tailored request quotas. Generate API keys from these usage plans for customer access.
Option A is the correct answer because utilizing Amazon API Gateway REST API enables you to configure usage plans for each customer, including setting appropriate request quotas. This meets the requirement of tailored quotas based on customer usage patterns. API Gateway also allows you to generate individual API keys for users, ensuring that each customer's requests are tracked separately. Route-level throttling mentioned in Option B is not suitable for per-customer throttling, while Options C and D do not provide a robust quota management system suited for this use case.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is developing an application to be hosted on AWS Lambda, serving hundreds of customers. The application requires a system to allocate specific request quotas to each customer within a defined time frame, tailored to individual usage patterns. Certain customers may need higher quotas for shorter durations. What AWS service configuration would effectively manage these customized quota requirements?
A
Utilize Amazon API Gateway with REST API features to integrate with the Lambda function. Set up individual usage plans in API Gateway for each customer, incorporating tailored request quotas. Generate API keys from these usage plans for customer access.
B
Employ Amazon API Gateway with HTTP API capabilities to link with the Lambda function. Establish customer-specific usage plans in API Gateway, including customized request quotas. Implement route-level throttling within each usage plan and issue API keys for customer use.
C
Develop Lambda function aliases for each customer, setting concurrency limits that reflect their respective request quotas. Create Lambda function URLs for these aliases and distribute them to the appropriate customers.
D
Deploy an Application Load Balancer (ALB) within a VPC, targeting the Lambda function. Integrate an AWS WAF web ACL with the ALB. Configure rule-based throttling for each customer, aligning with their required request quotas.