Home › Forums › AWS › AWS Certified Solutions Architect Professional › Clarification on Improve existing solutions question › Reply To: Clarification on Improve existing solutions question
-
Hello Jithin,
Thank you for your feedback.
I’m sorry that the explanation section for this question is very short. We’ll review this and update it accordingly to explain why the correct answer was chosen.
I found the below question whose correct option has been mentioned as SQS. But I am not sure how sqs can mitigate the lag users are experiencing(as per the question) for a real time application. Can you provide further explanation on this.
> From the question “slow processing of the app especially when they are submitting their answers in the multiple-choice exams”
> On the given answer: Launch an SQS queue and develop a custom service that integrates with SQS to buffer the incoming requests. Use a web distribution in CloudFront and Amazon S3 to host the diagrams, images, and other static assets of the mobile app.
SQS can help with the slowness experienced when submitting answers. You can modify your application to use SQS, for example, when the users submit their answers, instead of waiting for the complete submission and processing of all the answers you can save the submitted answers on the SQS Queue, and then quickly return to the user to a new page that the answers are successfully submitted. This improves the user experience as the user will not wait on a “loading submit” button until all the answers are processed completely. When the answers are buffered in the queue, the backend instances can now process the answers in the queue. You can then have another webpage that will show the results separately. This is a simple cost-effective design that improves user experience without increasing the capacity of your systems.
and why dynamo db autoscaling is an incorrect choice here?
> DynamoDB scaling is incorrect because you can set the auto scaling target utilization values between 20 and 90 percent for your read and write capacity, not 100%.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AutoScaling.html
Hope this helps.
Let us know if you need further assistance. The Tutorials Dojo team is dedicated to helping you pass your AWS exam!
Regards,
Kenneth Samonte @ Tutorials Dojo