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 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:

0/2000 characters
Coletta
5 months ago
I agree with B, it's the most efficient way to handle traffic spikes!
upvoted 0 times
...
Lanie
5 months ago
D seems like overkill, just stick with B for minimal changes.
upvoted 0 times
...
Eleonore
5 months ago
Surprised they didn't mention auto-scaling for the database!
upvoted 0 times
...
Filiberto
5 months ago
I think A is a better choice, less complexity involved.
upvoted 0 times
...
Melinda
6 months ago
Option B sounds solid, RDS Proxy can really help with connection pooling.
upvoted 0 times
...
Dick
6 months ago
I feel like option B is the best choice since it involves the least amount of changes while still addressing the connection issues.
upvoted 0 times
...
Zena
6 months ago
I practiced a similar question where updating Lambda to open connections outside the handler was suggested, but it seems like a bigger change than using RDS Proxy.
upvoted 0 times
...
Olga
6 months ago
I'm not entirely sure, but I think increasing provisioned concurrency might help with performance too.
upvoted 0 times
...
Elenor
6 months ago
I remember that using RDS Proxy can help manage database connections more efficiently, especially during traffic spikes.
upvoted 0 times
...
Aleta
6 months ago
I'm a bit unsure about the difference between options B and D. I'll need to double-check the details on those two solutions.
upvoted 0 times
...
Elroy
6 months ago
I'm feeling pretty confident about this one. Creating an RDS Proxy and using Secrets Manager seems like the most straightforward way to address the performance and scalability issues.
upvoted 0 times
...
Heidy
6 months ago
Okay, I think I've got a handle on this. The key is to find the solution that requires the least amount of change to the existing application. I'm leaning towards option B.
upvoted 0 times
...
Chantell
6 months ago
Hmm, I'm a bit confused by the different solutions. I'll need to make sure I understand the differences between provisioned concurrency and reserved concurrency.
upvoted 0 times
...
Roselle
7 months ago
This looks like a tricky question. I'll need to carefully read through the details and think through the different options.
upvoted 0 times
...
Verona
1 year 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
11 months ago
B: I agree, it's all about being prepared for those peak times to ensure smooth operation.
upvoted 0 times
...
Devorah
12 months ago
A: Definitely, it's important to have a scalable solution in place for unexpected spikes in traffic.
upvoted 0 times
...
Solange
12 months ago
B: That sounds like a solid solution. It should help with the performance during high traffic.
upvoted 0 times
...
Cherelle
12 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
1 year ago
Haha, 'reserved concurrency' for Lambda? Sounds like a fancy way of saying 'put a cap on it'.
upvoted 0 times
...
Kara
1 year 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
11 months ago
C: True, Option B might provide a more comprehensive solution for minimizing latency and handling bursts in traffic.
upvoted 0 times
...
Herman
12 months 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
12 months ago
A: Option C suggests increasing the max_connections parameter on the RDS instance.
upvoted 0 times
...
...
Thersa
1 year ago
Hmm, I see your point. Maybe we should consider all the options before making a decision.
upvoted 0 times
...
Ressie
1 year ago
I agree with Lorita, option B seems like a more comprehensive solution.
upvoted 0 times
...
Graham
1 year 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
1 year 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
12 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
12 months ago
I agree, using RDS Proxy and Secrets Manager will definitely help with the scaling and connection management.
upvoted 0 times
...
Ailene
1 year 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
1 year ago
But with option A, we can minimize the latency without making too many changes.
upvoted 0 times
...
Lorita
1 year ago
I disagree, I believe option B is more suitable.
upvoted 0 times
...
Thersa
1 year ago
I think option A is the best choice.
upvoted 0 times
...

Save Cancel