AWS Certified Solutions Architect – Associate (SAA-C03) — Question 838

A company uses Amazon S3 to host its static website. The company wants to add a contact form to the webpage. The contact form will have dynamic server-side components for users to input their name, email address, phone number, and user message.

The company expects fewer than 100 site visits each month. The contact form must notify the company by email when a customer fills out the form.

Which solution will meet these requirements MOST cost-effectively?

Answer options

Correct answer: B

Explanation

Option B is the most cost-effective solution because it utilizes serverless components (Amazon API Gateway, AWS Lambda, and Amazon SNS) that charge only per request, easily falling within the AWS Free Tier for under 100 monthly visits. Running containers continuously on Amazon ECS (Option A) or hosting on virtual machines via Amazon EC2 (Option D) incurs ongoing hourly costs regardless of traffic. Option C is less suitable because Amazon SQS is a queueing service that does not natively send email notifications like Amazon SNS does.