Topic 1 Question 48
2 つ選択A solutions architect has developed a web application that uses an Amazon API Gateway Regional endpoint and an AWS Lambda function. The consumers of the web application are all close to the AWS Region where the application will be deployed. The Lambda function only queries an Amazon Aurora MySQL database. The solutions architect has configured the database to have three read replicas.
During testing, the application does not meet performance requirements. Under high load, the application opens a large number of database connections. The solutions architect must improve the application’s performance.
Which actions should the solutions architect take to meet these requirements?
Use the cluster endpoint of the Aurora database.
Use RDS Proxy to set up a connection pool to the reader endpoint of the Aurora database.
Use the Lambda Provisioned Concurrency feature.
Move the code for opening the database connection in the Lambda function outside of the event handler.
Change the API Gateway endpoint to an edge-optimized endpoint.
ユーザの投票
コメント(10)
- 正解だと思う選択肢: BD
The correct answer is B and D.
B. Using RDS Proxy to set up a connection pool to the reader endpoint of the Aurora database can help improve the performance of the application by reducing the number of connections opened to the database. RDS Proxy manages the connection pool and routes incoming connections to the available read replicas, which can help with connection management and reduce the number of connections that need to be opened and closed.
D. Moving the code for opening the database connection in the Lambda function outside of the event handler can help to improve the performance of the application by allowing the database connection to be reused across multiple requests. This avoids the need to open and close a new connection for each request, which can be time-consuming and resource-intensive.
👍 17masetromain2023/01/13 - 正解だと思う選択肢: BD
RDX proxy & connecting outside the handler method is up to 5 times faster than connecting inside.
👍 3dev112233xx2023/03/15 - 正解だと思う選択肢: BD
RDS proxy + Lambda function
👍 3mfsec2023/03/28
シャッフルモード