exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 335 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 335
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company that manages movie reviews wants to make its movie review data available to its customers by calling a set of REST web service endpoints. The company will develop the retrieval functionality as AWS Lambda functions and will expose the functionality to customers as an Amazon API Gateway REST API.

The company needs to ensure that no consumer exceeds 100 requests a day to the API during the initial deployment. The company decides to use API Gateway API keys to restrict access. The company creates and issues API keys for each customer.

What should the company do next to meet these requirements with the LEAST administrative effort?

  • A. Create a usage plan that applies throttling at 100 requests a day. Associate the usage plan with the API keys of all customers.
  • B. Create an Amazon DynamoDB table to track all the requests that use a particular API key. For each request to the API, count the number of records in the DynamoDB table for that day for the API key. If the number of requests is 100 or greater, generate an exception.
  • C. Create a usage plan that applies a quota of 100 requests a day. Associate the usage plan with the API keys of all customers.
  • D. Create an Amazon Aurora table to track all the requests that use a particular API key. For each request to the API, count the number of records in the Aurora table for that day for the API key. If the number of requests is 100 or greater, generate an exception.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DrCloud
Highly Voted 2 years, 5 months ago
Selected Answer: C
What is quota in API gateway? API quotas usually describe a certain amount of calls for longer intervals. For example, your API quota might be 5.000 calls per month. Remember that this could be combined with a rate limit or throttling setup e.g. 20 TPS (Transactions per Second). What is throttling in AWS API gateway? AWS throttling limits are applied across all accounts and clients in a region. These limit settings exist to prevent your API—and your account—from being overwhelmed by too many requests. These limits are set by AWS and can't be changed by a customer. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-create Choose Enable quota, and set specify a value (for example, 5000) for a selected time interval (for example, Month).
upvoted 10 times
pancman
2 years, 3 months ago
This is great info. Just wanted to show my appreciation and say thanks!
upvoted 1 times
...
...
fabriciollf
Most Recent 2 years, 5 months ago
Selected Answer: C
DynamoDB is not the correct ansewer here and Thronttling is applay for all API. So I belive rigth choice is C.
upvoted 1 times
...
JAG1808
2 years, 5 months ago
Selected Answer: C
A quota limit sets the target maximum number of requests with a given API key that can be submitted within a specified time interval.
upvoted 1 times
...
fswklotto1
2 years, 5 months ago
Selected Answer: A
Vote for A https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html A throttling limit sets the target point at which request throttling should start. This can be set at the API or API method level. A quota limit sets the target maximum number of requests with a given API key that can be submitted within a specified time interval. You can configure individual API methods to require API key authorization based on usage plan configuration.
upvoted 1 times
fswklotto1
2 years, 5 months ago
Should be C
upvoted 2 times
...
...
SoMaL69
2 years, 5 months ago
Selected Answer: C
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-create
upvoted 1 times
...
michaldavid
2 years, 5 months ago
Selected Answer: D
This is C
upvoted 1 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: A
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html
upvoted 1 times
k1kavi1
2 years, 5 months ago
Going with C based on quota limit instead of throttling limit
upvoted 1 times
...
...
kapil206001
2 years, 5 months ago
C https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-create
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago