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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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

A car rental company has built a serverless REST API to provide data to its mobile app. The app consists of an Amazon API Gateway API with a Regional endpoint, AWS Lambda functions, and an Amazon Aurora MySQL Serverless DB cluster. The company recently opened the API to mobile apps of partners. A significant increase in the number of requests resulted, causing sporadic database memory errors. Analysis of the API traffic indicates that clients are making multiple HTTP GET requests for the same queries in a short period of time. Traffic is concentrated during business hours, with spikes around holidays and other events.
The company needs to improve its ability to support the additional usage while minimizing the increase in costs associated with the solution.
Which strategy meets these requirements?

  • A. Convert the API Gateway Regional endpoint to an edge-optimized endpoint. Enable caching in the production stage.
  • B. Implement an Amazon ElastiCache for Redis cache to store the results of the database calls. Modify the Lambda functions to use the cache.
  • C. Modify the Aurora Serverless DB cluster configuration to increase the maximum amount of available memory.
  • D. Enable throttling in the API Gateway production stage. Set the rate and burst values to limit the incoming calls.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://aws.amazon.com/getting-started/projects/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/module-4/

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
certainly
Highly Voted 2 years, 10 months ago
it is A for me. you can enabled cached on API gateway. no need for extra cache layer for additional cost. also changing to Edge-optimized endpoint would also help caching content base on Cookie https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html
upvoted 14 times
certainly
2 years, 9 months ago
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-endpoint-types.html
upvoted 3 times
...
...
rahulrajtiwari
Most Recent 1 year, 8 months ago
Selected Answer: A
it's A
upvoted 1 times
...
tkanmani76
2 years, 6 months ago
Was inclined to B but it does add additional cost for Elasticache. Using API gateway caching helps. You can enable API caching in Amazon API Gateway to cache your endpoint's responses. With caching, you can reduce the number of calls made to your endpoint and also improve the latency of requests to your API. When you enable caching for a stage, API Gateway caches responses from your endpoint for a specified time-to-live (TTL) period, in seconds. API Gateway then responds to the request by looking up the endpoint response from the cache instead of making a request to your endpoint. The default TTL value for API caching is 300 seconds. The maximum TTL value is 3600 seconds. TTL=0 means caching is disabled.
upvoted 1 times
...
cldy
2 years, 7 months ago
A. Convert the API Gateway Regional endpoint to an edge-optimized endpoint. Enable caching in the production stage.
upvoted 1 times
...
AzureDP900
2 years, 7 months ago
A is for sure
upvoted 1 times
...
andylogan
2 years, 8 months ago
It's A
upvoted 1 times
...
tgv
2 years, 8 months ago
AAA ---
upvoted 2 times
...
denccc
2 years, 8 months ago
It's A
upvoted 1 times
...
WhyIronMan
2 years, 8 months ago
I'll go with A
upvoted 2 times
...
vimgoru24
2 years, 8 months ago
B is classic, but A works better to minimize cost and overhead. So A
upvoted 2 times
...
cmthiru
2 years, 9 months ago
Will got for B. https://aws.amazon.com/blogs/database/latency-reduction-of-hybrid-architectures-with-amazon-elasticache/
upvoted 1 times
...
Waiweng
2 years, 9 months ago
it's A
upvoted 2 times
...
ppshein
2 years, 9 months ago
it should be A. B = costly
upvoted 1 times
...
anandbabu
2 years, 9 months ago
its B as it was mentioned "same Queries"
upvoted 3 times
...
Pupu86
2 years, 9 months ago
Default endpoint setting is usually edge-optimised to support cookie forwarding which in turn caches multiple identical reads in its cloudfront cache. Thus reducing the need to keep fetching identical data from the origin. While B is viable but implemented persistent memory based caching is definitely more costly. So I’m inclined to move towards A.
upvoted 2 times
...
SD13
2 years, 9 months ago
Correct option A. B is not an option for me because API gateway caching will eliminate lambda invocations and costs associated with it.
upvoted 3 times
SD13
2 years, 9 months ago
Neal Davis exam also selected this option as the correct one.
upvoted 4 times
MrCarter
2 years, 8 months ago
yessir Neal Davis ftw
upvoted 3 times
...
...
...
kejam
2 years, 9 months ago
B: https://aws.amazon.com/getting-started/hands-on/real-time-leaderboard-amazon-aurora-serverless-elasticache/
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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in