New Year Sale 2026! 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

Actual exam question for Amazon's SAP-C02 exam
Question #: 18
Topic #: 11
[All SAP-C02 Questions]

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?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Robt
3 months ago
A might help with response times, but is it really the best long-term fix?
upvoted 0 times
...
Stevie
3 months ago
Wait, why not just cache the results? Seems like a no-brainer!
upvoted 0 times
...
Bette
4 months ago
C could just lead to higher costs without solving the root issue.
upvoted 0 times
...
Lindsey
4 months ago
I disagree, throttling in option D could help manage traffic spikes.
upvoted 0 times
...
Tracie
4 months ago
Option B seems like the best choice for reducing DB load.
upvoted 0 times
...
Raina
4 months 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.
upvoted 0 times
...
Stacey
4 months 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.
upvoted 0 times
...
Sherita
5 months 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.
upvoted 0 times
...
Celeste
5 months 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.
upvoted 0 times
...
Truman
5 months 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.
upvoted 0 times
...
Dolores
5 months 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.
upvoted 0 times
...
Louisa
5 months 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.
upvoted 0 times
...
Sherman
5 months 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.
upvoted 0 times
...
Na
5 months 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.
upvoted 0 times
...
Ahmad
5 months 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.
upvoted 0 times
...
Cary
5 months 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.
upvoted 0 times
...
Rhea
5 months ago
I recall a practice Q where (iii) was a red herring; maybe I should check each statement before deciding 'All of the above'.
upvoted 0 times
...

Save Cancel