Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SAP-C02 Exam - Topic 11 Question 18 Discussion

Posted by Theola on Oct 08, 2023 at 01:49 PM

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?

Get Premium SAP-C02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
17 comments · newest first
RO
Robt 11 months ago
A might help with response times, but is it really the best long-term fix?
ST
Stevie 11 months ago
Wait, why not just cache the results? Seems like a no-brainer!
BE
Bette 11 months ago
C could just lead to higher costs without solving the root issue.
LI
Lindsey 12 months ago
I disagree, throttling in option D could help manage traffic spikes.
TR
Tracie 12 months ago
Option B seems like the best choice for reducing DB load.
RA
Raina 1 year ago
Throttling in option D sounds like a good way to manage traffic spikes, but I wonder if it would impact user experience during peak times.
ST
Stacey 1 year ago
I feel like increasing the memory in option C could be a quick fix, but it might not be the most cost-effective long-term solution.
SH
Sherita 1 year ago
I'm not entirely sure, but I think option A might help with performance too, especially since it involves caching at the API Gateway level.
CE
Celeste 1 year ago
I remember we discussed caching strategies in class, and I think option B with ElastiCache could really help reduce the load on the database.
TR
Truman 1 year ago
Option B seems like the best choice here. Implementing a Redis cache and modifying the Lambda functions to use it should help reduce the load on the database and improve the overall responsiveness of the API.
DO
Dolores 1 year ago
Throttling the API Gateway might be a quick fix, but it doesn't really solve the underlying problem. I'd prefer a more proactive approach like caching the results to improve the overall performance and scalability of the system.
LO
Louisa 1 year ago
Hmm, increasing the maximum available memory for the Aurora Serverless DB cluster might help with the memory errors, but it doesn't address the issue of repeated requests for the same data. I think a caching solution would be more effective.
SH
Sherman 1 year ago
I'm a bit confused by the different options. Converting the API Gateway to an edge-optimized endpoint and enabling caching sounds like a good idea, but I'm not sure if that's the best strategy here.
NA
Na 1 year ago
This seems like a caching issue. I'd go with option B and implement an Amazon ElastiCache for Redis cache to store the database call results.
AH
Ahmad 1 year ago
Hmm, I'm a bit unsure about this one. The code seems to be doing some string splitting and concatenation, but I'm not entirely sure of the exact order of the operations. I'll need to think this through step-by-step.
CA
Cary 1 year ago
Okay, I've got this. Based on my experience, the correct answer is option C - search for the individual user, select their name and click Edit Business Units. That's the most direct way to manage the business unit assignments for each user.
RH
Rhea 1 year ago
I recall a practice Q where (iii) was a red herring; maybe I should check each statement before deciding 'All of the above'.
0/2000 characters

Save Cancel