Q: 10
A company runs an ecommerce web application on AWS. The web application is hosted as a static
website on Amazon S3 with Amazon CloudFront for content delivery. An Amazon API Gateway API
invokes AWS Lambda functions to handle user requests and order processing for the web application.
The Lambda functions store data in an Amazon RDS for MySQL DB cluster that uses On-Demand
Instances. The DB cluster usage has been consistent in the past 12 months. Recently, the website has
experienced SQL injection and web exploit attempts. Customers also report that order processing
time has increased during periods of peak usage. During these periods, the Lambda functions often
have cold starts. As the company grows, the company needs to ensure scalability and low-latency
access during traffic peaks. The company also must optimize the database costs and add protection
against the SQL injection and web exploit attempts. Which solution will meet these requirements?
Options
Discussion
I don't think it's A, D is better. Reserved Instances fit since DB usage is stable, and only D calls out WAF for SQL injection-not just Shield Advanced, which misses that exploit case.
Provisioned concurrency and Reserved Instances make a lot of sense here, so D fits. Also, AWS WAF with CloudFront is what you'd want for SQL injection protection, not just Shield Advanced. Pretty sure D covers all points but open to counterpoints.
Its D here. Provisioned concurrency sorts Lambda cold starts, and Reserved Instances only make sense with steady DB usage like the question says. WAF with CloudFront blocks SQL injection, not just Shield Advanced. Think this is the only combo that ticks every box, but let me know if I missed something.
Probably D. Had something like this in a mock and provisioning Lambda concurrency really fixes the cold starts. Reserved Instances help cut RDS costs if usage is steady. For SQL injection, AWS WAF with CloudFront is the usual recommended combo instead of just Shield Advanced. Works for all the requirements.
Be respectful. No spam.
Question 10 of 35