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

A company is migrating its on-premises workload to the AWS Cloud. The company already uses several Amazon EC2 instances and Amazon RDS DB instances. The company wants a solution that automatically starts and stops the EC2 instances and DB instances outside of business hours. The solution must minimize cost and infrastructure maintenance.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Using AWS Lambda combined with Amazon EventBridge provides a fully serverless, low-cost solution that requires zero infrastructure maintenance. Running a dedicated EC2 instance with cron jobs as suggested in Option C introduces unnecessary management overhead and continuous compute costs. Option A is invalid because Amazon RDS DB instances cannot be scaled to zero, and Option B introduces additional licensing and third-party management costs.