Topic 1 Question 207
A developer is building a serverless application that connects to an Amazon Aurora PostgreSQL database. The serverless application consists of hundreds of AWS Lambda functions. During every Lambda function scale out, a new database connection is made that increases database resource consumption.
The developer needs to decrease the number of connections made to the database. The solution must not impact the scalability of the Lambda functions.
Which solution will meet these requirements?
Configure provisioned concurrency for each Lambda function by setting the ProvisionedConcurrentExecutions parameter to 10.
Enable cluster cache management for Aurora PostgreSQL. Change the connection string of each Lambda function to point to cluster cache management.
Use Amazon RDS Proxy to create a connection pool to manage the database connections. Change the connection string of each Lambda function to reference the proxy.
Configure reserved concurrency for each Lambda function by setting the ReservedConcurrentExecutions parameter to 10.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: C
C: Amazon RDS Proxy is designed to improve application scalability and resilience by pooling and reusing database connections. This can significantly reduce the number of connections each Lambda function has to establish
👍 4dilleman2023/10/11 CCCCCCCCCCCCCCC
👍 3fordiscussionstwo2023/10/05- 正解だと思う選択肢: C
The correct answer is (C).
Amazon RDS Proxy is a solution that allows you to create a connection pool to manage database connections. This can help reduce the number of connections made to the database.
👍 2Digo30sp2023/10/06
シャッフルモード