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 Exam SAP-C02 Topic 3 Question 51 Discussion

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

A company is running a serverless ecommerce application on AWS. The application uses Amazon API Gateway to invoke AWS Lambda Java functions. The Lambda functions connect to an Amazon RDS for MySQL database to store data.

During a recent sale event, a sudden increase in web traffic resulted in poor API performance and database connection failures. The company needs to implement a solution to minimize the latency for the Lambda functions and to support bursts in traffic.

Which solution will meet these requirements with the LEAST amount of change to the application?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Verona
2 months ago
Gotta love those sudden 'sale events' that bring down the whole system. Wish I could get a bonus for that kind of performance.
upvoted 0 times
Junita
26 days ago
B: I agree, it's all about being prepared for those peak times to ensure smooth operation.
upvoted 0 times
...
Devorah
30 days ago
A: Definitely, it's important to have a scalable solution in place for unexpected spikes in traffic.
upvoted 0 times
...
Solange
1 months ago
B: That sounds like a solid solution. It should help with the performance during high traffic.
upvoted 0 times
...
Cherelle
1 months ago
A: B) Create an RDS Proxy endpoint for the database. Store database secrets in AWS Secrets Manager. Set up the required 1AM permissions. Update the Lambda functions to connect to the RDS Proxy endpoint. Increase the provisioned concurrency for the Lambda functions.
upvoted 0 times
...
...
Anastacia
2 months ago
Haha, 'reserved concurrency' for Lambda? Sounds like a fancy way of saying 'put a cap on it'.
upvoted 0 times
...
Kara
2 months ago
Hold up, why not just increase the max_connections on the RDS instance? Seems like a quick fix to me.
upvoted 0 times
Elroy
27 days ago
C: True, Option B might provide a more comprehensive solution for minimizing latency and handling bursts in traffic.
upvoted 0 times
...
Herman
29 days ago
B: But Option B also includes setting up an RDS Proxy endpoint and using AWS Secrets Manager for database secrets.
upvoted 0 times
...
Hermila
1 months ago
A: Option C suggests increasing the max_connections parameter on the RDS instance.
upvoted 0 times
...
...
Thersa
2 months ago
Hmm, I see your point. Maybe we should consider all the options before making a decision.
upvoted 0 times
...
Ressie
2 months ago
I agree with Lorita, option B seems like a more comprehensive solution.
upvoted 0 times
...
Graham
2 months ago
I like the idea of increasing the provisioned concurrency for the Lambda functions. That should help handle the traffic spikes.
upvoted 0 times
...
Corazon
2 months ago
Option B seems like the way to go. Using an RDS Proxy and Secrets Manager will help with the connection management and scaling issues.
upvoted 0 times
Caprice
1 months ago
It's a good choice to minimize latency and support bursts in traffic without making too many changes to the application.
upvoted 0 times
...
Sherell
1 months ago
I agree, using RDS Proxy and Secrets Manager will definitely help with the scaling and connection management.
upvoted 0 times
...
Ailene
2 months ago
B) Create an RDS Proxy endpoint for the database. Store database secrets in AWS Secrets Manager. Set up the required 1AM permissions. Update the Lambda functions to connect to the RDS Proxy endpoint. Increase the provisioned concurrency for the Lambda functions.
upvoted 0 times
...
...
Thersa
2 months ago
But with option A, we can minimize the latency without making too many changes.
upvoted 0 times
...
Lorita
3 months ago
I disagree, I believe option B is more suitable.
upvoted 0 times
...
Thersa
3 months ago
I think option A is the best choice.
upvoted 0 times
...

Save Cancel