AWS Certified Solutions Architect – Professional — Question 579

A company is migrating applications from on premises to the AWS Cloud. These applications power the company's internal web forms. These web forms collect data for specific events several times each quarter. The web forms use simple SQL statements to save the data to a local relational database.
Data collection occurs for each event, and the on-premises servers are idle most of the time. The company needs to minimize the amount of idle infrastructure that supports the web forms.
Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Option D is the ideal solution because Amazon API Gateway, AWS Lambda, and Amazon Aurora Serverless are fully managed serverless services that scale down to zero when there is no traffic, effectively eliminating idle infrastructure costs while maintaining support for the application's SQL queries. Options A and C rely on persistent compute resources (EC2 and Fargate behind an ALB) which would continuously incur costs even when idle. Option B is incorrect because DynamoDB is a NoSQL database, which is incompatible with the application's existing relational SQL queries, and Kinesis is not built to host web forms.