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 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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
certainly
Highly Voted 3 years, 2 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
3 years, 2 months ago
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-endpoint-types.html
upvoted 3 times
...
...
rahulrajtiwari
Most Recent 2 years, 1 month ago
Selected Answer: A
it's A
upvoted 1 times
...
tkanmani76
2 years, 10 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, 12 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, 12 months ago
A is for sure
upvoted 1 times
...
andylogan
3 years ago
It's A
upvoted 1 times
...
tgv
3 years ago
AAA ---
upvoted 2 times
...
denccc
3 years, 1 month ago
It's A
upvoted 1 times
...
WhyIronMan
3 years, 1 month ago
I'll go with A
upvoted 2 times
...
vimgoru24
3 years, 1 month ago
B is classic, but A works better to minimize cost and overhead. So A
upvoted 2 times
...
cmthiru
3 years, 1 month ago
Will got for B. https://aws.amazon.com/blogs/database/latency-reduction-of-hybrid-architectures-with-amazon-elasticache/
upvoted 1 times
...
Waiweng
3 years, 1 month ago
it's A
upvoted 2 times
...
ppshein
3 years, 2 months ago
it should be A. B = costly
upvoted 1 times
...
anandbabu
3 years, 2 months ago
its B as it was mentioned "same Queries"
upvoted 3 times
...
Pupu86
3 years, 2 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
3 years, 2 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
3 years, 2 months ago
Neal Davis exam also selected this option as the correct one.
upvoted 4 times
MrCarter
3 years, 1 month ago
yessir Neal Davis ftw
upvoted 3 times
...
...
...
kejam
3 years, 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago