ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 409 - SAA-C03 discussion

Report
Export

A company hosts a serverless application on AWS. The application uses Amazon API Gateway, AWS Lambda, and an Amazon RDS for PostgreSQL database. The company notices an increase in application errors that result from database connection timeouts during times Of peak traffic or unpredictable traffic. The company needs a solution that reduces the application failures with the least amount of change to the code. What should a solutions architect do to meet these requirements?

A.
Reduce the Lambda concurrency rate.
Answers
A.
Reduce the Lambda concurrency rate.
B.
Enable RDS Proxy on the RDS DB instance.
Answers
B.
Enable RDS Proxy on the RDS DB instance.
C.
Resize the RDS DB instance class to accept more connections.
Answers
C.
Resize the RDS DB instance class to accept more connections.
D.
Migrate the database to Amazon DynamoDB with on-demand scaling.
Answers
D.
Migrate the database to Amazon DynamoDB with on-demand scaling.
Suggested answer: B

Explanation:

Using RDS Proxy, you can handle unpredictable surges in database traffic. Otherwise, these surges might cause issues due to oversubscribing connections or creating new connections at a fast rate. RDS Proxy establishes a database connection pool and reuses connections in this pool. This approach avoids the memory and CPU overhead of opening a new database connection each time. To protect the database against oversubscription, you can control the number of database connections that are created. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-proxy.html

asked 16/09/2024
Dirk Lamberts
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first