exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 293 discussion

A company owns an asynchronous API that is used to ingest user requests and, based on the request type, dispatch requests to the appropriate microservice for processing. The company is using Amazon API Gateway to deploy the API front end, and an AWS Lambda function that invokes Amazon DynamoDB to store user requests before dispatching them to the processing microservices.
The company provisioned as much DynamoDB throughput as its budget allows, but the company is still experiencing availability issues and is losing user requests.
What should a solutions architect do to address this issue without impacting existing users?

  • A. Add throttling on the API Gateway with server-side throttling limits.
  • B. Use DynamoDB Accelerator (DAX) and Lambda to buffer writes to DynamoDB.
  • C. Create a secondary index in DynamoDB for the table with the user requests.
  • D. Use the Amazon Simple Queue Service (Amazon SQS) queue and Lambda to buffer writes to DynamoDB.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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 3 years, 7 months ago
D Company is losing user requests. SQS can help to buffer writes.
upvoted 70 times
DS01
3 years, 6 months ago
Anyone considering A?
upvoted 2 times
tony__
3 years, 6 months ago
No, because you will lose user requests if you implement throttling.
upvoted 2 times
...
...
...
CCNPWILL
Highly Voted 3 years, 7 months ago
The answer is D. We need a Q to hold the requests that would have been otherwise dropped. Answer A costs money doesnt it? i believe it does. thats why i believe its not A. if im wrong correct me,
upvoted 19 times
...
BECAUSE
Most Recent 1 year, 11 months ago
Selected Answer: D
D is the answer
upvoted 1 times
...
Reni_Varghese
2 years, 6 months ago
Use Amazon DynamoDB Accelerator (DAX) from AWS Lambda to increase performance while reducing costs Please go thru the below given aws link https://aws.amazon.com/blogs/database/how-to-increase-performance-while-reducing-costs-by-using-amazon-dynamodb-accelerator-dax-and-aws-lambda After going thru this article I feel that the answer is B
upvoted 1 times
...
1sid
2 years, 8 months ago
I go with D, SQS is fast and highly available and working with lambda that is serverless and has an auto scaling capability to handle load from SQS
upvoted 1 times
...
AkshatVijay
2 years, 8 months ago
Guys it's B source: "Trust me bro"
upvoted 2 times
AkshatVijay
2 years, 8 months ago
D* it is
upvoted 2 times
...
...
naveenagurjara
2 years, 10 months ago
Selected Answer: D
Not A as throttling further drops and impairs. and this is not the root cause.
upvoted 3 times
...
mgari
3 years ago
Selected Answer: D
it doesn't work put a cue ;-)
upvoted 2 times
...
Karthikeyan_nick
3 years ago
Option D: B => DAX is used for performance improvement
upvoted 1 times
shure4shure
2 years, 8 months ago
Yes but the questions states that the company is close to being over budget. DAX will increase cost...
upvoted 1 times
...
...
SmartDude
3 years, 2 months ago
Selected Answer: B
Please do not miss the part "t does not negatively effect current users".
upvoted 1 times
RapidStar
3 years, 1 month ago
Actually, SQS does not effect negatively. It helps not to lose user requests.
upvoted 1 times
...
...
osel
3 years, 3 months ago
Selected Answer: D
Traffic flow: User Requests -> Async API GW -> Lambda -> DDB / MicroSvc Problem seems to be Lambda is pumping the client requests too fast to the busy DDB. A good case for App decoupling.
upvoted 3 times
SmartDude
3 years, 2 months ago
What about the part " does not negatively effect current users"?
upvoted 1 times
...
...
muhsin
3 years, 4 months ago
Ans: D because all other options put some more charges to DynamoDB. But the company supplied as much as they can for DynamoDB. And it is async request and we need to have retry mechanism not to lose the customer data.
upvoted 1 times
...
Kavi55
3 years, 6 months ago
D is perfect solution here. Looking at words like "company has already exhausted their budget + losing user requests", introducing SQS is the cheap and best solution which overcomes both the problems.
upvoted 4 times
...
banjojoe
3 years, 6 months ago
the problem is DynamoDB writes are saturated so using DAX to accelerate reads isn't going to help. must be (d) because SQS queueing will act as a buffer
upvoted 2 times
...
HF1234
3 years, 6 months ago
D. DAX is used to speed up reads, this won't help with losing user requests.
upvoted 3 times
...
Sayto
3 years, 6 months ago
After reading this article I believe its B. see the section Write-back (or write-behind) cache https://aws.amazon.com/blogs/database/amazon-dynamodb-accelerator-dax-a-read-throughwrite-through-cache-for-dynamodb/
upvoted 1 times
...
Cotter
3 years, 6 months ago
B because use DAX.
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