DOP-C02 · Question #226
DOP-C02 Question #226: Real Exam Question with Answer & Explanation
The correct answer is A: Use Amazon RDS Proxy to create a proxy. Connect the proxy to the Aurora cluster reader. https://aws.amazon.com/blogs/compute/using-amazon-rds-proxy-with-aws-lambda/
Question
A DevOps engineer is building an application that uses an AWS Lambda function to query an Amazon Aurora MySQL DB cluster. The Lambda function performs only read queries. Amazon EventBridge events invoke the Lambda function. As more events invoke the Lambda function each second, the database's latency increases and the database's throughput decreases. The DevOps engineer needs to improve the performance of the application. Which combination of steps will meet these requirements? (Choose three.)
Options
- AUse Amazon RDS Proxy to create a proxy. Connect the proxy to the Aurora cluster reader
- BImplement database connection pooling inside the Lambda code. Set a maximum number of
- CImplement the database connection opening outside the Lambda event handler code.
- DImplement the database connection opening and closing inside the Lambda event handler code.
- EConnect to the proxy endpoint from the Lambda function.
- FConnect to the Aurora cluster endpoint from the Lambda function.
Explanation
https://aws.amazon.com/blogs/compute/using-amazon-rds-proxy-with-aws-lambda/
Topics
Community Discussion
No community discussion yet for this question.