exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 940 discussion

A company provides specialized analytics services to customers. The analytics run on Amazon EC2 instances that need to be launched and terminated in response to requests from customers. A solutions architect is creating automation to manage the EC2 instances that handle customer requests. However, when the automation scripts attempt to launch many EC2 instances at the same time, a RequestLimitExceeded error frequently occurs.
What should the solutions architect do to handle this error?

  • A. Implement an exponential backoff strategy so that the API token bucket can refill.
  • B. Modify the EC2 instance launch configuration to install diagnostic tools on each instance to troubleshoot the issue.
  • C. Request an increase for API throttling quotas from the AWS Support Center.
  • D. Request an EC2 API quota increase through the Service Quotas console.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
WhyIronMan
11 months, 3 weeks ago
The answer is A
upvoted 1 times
...
mrgreatness
2 years, 7 months ago
The answer is A -- I had to do this myself. see: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html . I'm 100% sure. AWS will very rarely approve increases to this limit
upvoted 3 times
...
Ni_yot
2 years, 8 months ago
Selected Answer: A
Both A and C appear to be correct. As a solutions architect though i would apply the workaround to handle the error before thinking of requesting an increase. so for me A seems the best ans. - https://aws.amazon.com/premiumsupport/knowledge-center/ec2-launch-multiple-requestlimitexceeded/
upvoted 1 times
...
hqmb
2 years, 8 months ago
Not A, exponential backoff strategy only slows down the retry API, but it will not solve the problem as the automation script has to launch many EC2 instances at the same time anyway https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#api-request-rate If an API request exceeds the API request rate for its category, the request returns the RequestLimitExceeded error code. To prevent this error, ensure that your application doesn't retry API requests at a high rate. You can do this by using care when polling and by using exponential backoff retries. Ans C https://docs.aws.amazon.com/AWSEC2/latest/APIReference/throttling.html If you exceed an API throttling limit, you get the RequestLimitExceeded error code. Adjusting API throttling limits You can request an increase for API throttling limits for your AWS account. To request a limit adjustment, contact the AWS Support Center.
upvoted 2 times
superuser784
2 years, 8 months ago
I was thinking the same, but, even though if you request an increase for the API, it does not guarantee that you will not have that error again as everything has a limit, you can not request for an infinite amount of API call, thats why we have to implement exponential backoff. for that reason I changed my answer from C to A
upvoted 2 times
...
...
blitzzzz
2 years, 9 months ago
A - If an API request exceeds the API request rate for its category, the request returns the RequestLimitExceeded error code. To prevent this error, ensure that your application doesn't retry API requests at a high rate. You can do this by using care when polling and by using exponential backoff retries. https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#api-request-rate
upvoted 3 times
...
redipa
2 years, 9 months ago
Selected Answer: A
A- Exponential Backoff A RequestLimitExceeded error for Amazon EC2 APIs usually indicates request rate limiting or resource rate limiting API throttling. You can use a combination of retry logic and exponential backoff strategies to work around this issue. https://aws.amazon.com/premiumsupport/knowledge-center/ec2-launch-multiple-requestlimitexceeded/
upvoted 4 times
...
Cloudxie
2 years, 9 months ago
RequestLimitExceeded error for Amazon EC2 APIs usually indicates request rate limiting or resource rate limiting API throttling. You can use a combination of retry logic and exponential backoff strategies to work around this issue.
upvoted 2 times
...
Guoxian
2 years, 9 months ago
I will vote for C simply because it will resolve the EC2 API call. A will not solve the problem of excessive API call.
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 ...