SAP-C02 · Question #736
SAP-C02 Question #736: Real Exam Question with Answer & Explanation
Sign in or unlock SAP-C02 to reveal the answer and full explanation for question #736. The question stem and answer options stay visible for context.
Question
An ecommerce company runs an application on AWS. The application has an Amazon API Gateway API that invokes an AWS Lambda function. The data is stored in an Amazon RDS for PostgreSQL DB instance. During the company's most recent flash sale, a sudden increase in API calls negatively affected the application's performance. A solutions architect reviewed the Amazon CloudWatch metrics during that time and noticed a significant increase in Lambda invocations and database connections. The CPU utilization also was high on the DB instance. What should the solutions architect recommend to optimize the application's performance?
Options
- AIncrease the memory of the Lambda function. Modify the Lambda function to close the database
- BAdd an Amazon ElastiCache for Redis cluster to store the frequently accessed data from the RDS
- CCreate an RDS proxy by using the Lambda console. Modify the Lambda function to use the proxy
- DModify the Lambda function to connect to the database outside of the function's handler. Check
Unlock SAP-C02 to see the answer
You've previewed enough free SAP-C02 questions. Unlock SAP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.