AWS Certified Solutions Architect – Associate (SAA-C03) — Question 680
A company wants to rearchitect a large-scale web application to a serverless microservices architecture. The application uses Amazon EC2 instances and is written in Python.
The company selected one component of the web application to test as a microservice. The component supports hundreds of requests each second. The company wants to create and test the microservice on an AWS solution that supports Python. The solution must also scale automatically and require minimal infrastructure and minimal operational support.
Which solution will meet these requirements?
Answer options
- A. Use a Spot Fleet with auto scaling of EC2 instances that run the most recent Amazon Linux operating system.
- B. Use an AWS Elastic Beanstalk web server environment that has high availability configured.
- C. Use Amazon Elastic Kubernetes Service (Amazon EKS). Launch Auto Scaling groups of self-managed EC2 instances.
- D. Use an AWS Lambda function that runs custom developed code.
Correct answer: D
Explanation
AWS Lambda is a fully serverless compute service that natively supports Python, scales automatically to handle hundreds of requests per second, and requires zero infrastructure provisioning or management. In contrast, options A, B, and C all require managing, configuring, or maintaining underlying EC2 instances (either directly or via EKS/Elastic Beanstalk), which increases operational overhead. Therefore, AWS Lambda is the only solution that meets all requirements for a serverless architecture with minimal operational support.