Q28
Single choice
A company runs an ecommerce web application on AWS. The static website is hosted on Amazon S3 and served through Amazon CloudFront. Amazon API Gateway invokes AWS Lambda functions for order processing, and the Lambda functions store data in an Amazon RDS for MySQL database that uses On-Demand DB Instances.
Recently, the application has experienced SQL injection attacks and increased latency during peak periods because of Lambda cold starts. The RDS database has a stable, predictable workload and is expected to run continuously for several years. The company wants to protect the application against web exploits, reduce Lambda cold-start latency, and reduce database costs.
Which solution will meet these requirements?