Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 301 discussion

A company is building an application that will run on an AWS Lambda function. Hundreds of customers will use the application. The company wants to give each customer a quota of requests for a specific time period. The quotas must match customer usage patterns. Some customers must receive a higher quota for a shorter time period.

Which solution will meet these requirements?

  • A. Create an Amazon API Gateway REST API with a proxy integration to invoke the Lambda function. For each customer, configure an API Gateway usage plan that includes an appropriate request quota. Create an API key from the usage plan for each user that the customer needs.
  • B. Create an Amazon API Gateway HTTP API with a proxy integration to invoke the Lambda function. For each customer configure an API Gateway usage plan that includes an appropriate request quota Configure route-level throttling for each usage plan. Create an API Key from the usage plan for each user that the customer needs.
  • C. Create a Lambda function alias for each customer. Include a concurrency limit with an appropriate request quota. Create a Lambda function URL for each function alias. Share the Lambda function URL for each alias with the relevant customer.
  • D. Create an Application Load Balancer (ALB) in a VPC. Configure the Lambda function as a target for the ALB. Configure an AWS WAF web ACL for the ALB. For each customer configure a rale-based rule that includes an appropriate request quota.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ayadmawla
Highly Voted 11 months, 3 weeks ago
Selected Answer: A
REST APIs and HTTP APIs are both RESTful API products. REST APIs support more features than HTTP APIs, while HTTP APIs are designed with minimal features so that they can be offered at a lower price. Choose REST APIs if you need features such as API keys, per-client throttling, request validation, AWS WAF integration, or private API endpoints. Choose HTTP APIs if you don't need the features included with REST APIs.
upvoted 9 times
...
career360guru
Highly Voted 1 year ago
Selected Answer: A
Option A answer is little confusing because it talks about Quota but not about Throttle limits. Option B mentions route-level throttling that is also not correct. Route-level throttling can not be applied at per user basis. So option A is right answer.
upvoted 5 times
...
AzureDP900
Most Recent 1 week ago
A This approach allows you to create a separate API Gateway instance for each customer, which enables you to implement quotas at the API level. By using a proxy integration, you can invoke the Lambda function on behalf of each customer, while still enforcing their individual quota limits. Configuring an API Gateway usage plan and creating an API key for each user within a customer's organization allows you to manage and enforce quotas for each user separately. This solution is particularly well-suited for managing multiple customers with different quota requirements. By using API Gateway, you can create separate APIs for each customer, which enables fine-grained control over quota enforcement at the client level.
upvoted 1 times
...
Andres123456
1 year ago
Selected Answer: A
Option A https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html
upvoted 2 times
...
Sab
1 year ago
Selected Answer: B
In order to achieve "Some customers must receive a higher quota for a shorter time period.", throttling should be set with rate and burst can be set using Throttling
upvoted 3 times
...
gonzales
1 year ago
Selected Answer: A
Option A https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html
upvoted 4 times
...
KungLjao
1 year ago
Selected Answer: A
Its A, you dont need route level throttling
upvoted 1 times
...
Jun_W
1 year ago
Option B route-level throttling for each usage plan
upvoted 1 times
...
AM_aws
1 year ago
Selected Answer: A
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html HTTP API doesn't include USAGE feature.
upvoted 1 times
...
airgead
1 year ago
Option A Create REST API with Proxy Integration and for each customer set the usage plan and Create API Key. https://medium.com/geekculture/api-key-and-usage-plan-integration-with-aws-api-gateway-2d07bbb9a2a4
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...