A company wants to rearchitect a large-scale web application to a serverless microservices architecture. The application is written in Python and currently runs on Amazon EC2. The company selected one component that handles hundreds of requests per second to test as a microservice. The solution must support Python, scale automatically, and require minimal infrastructure and operational support. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Use an AWS Lambda function that runs custom developed code..
Why this is the answer
AWS Lambda is the most suitable solution because it is a serverless compute service that automatically scales with demand, eliminating the need for infrastructure provisioning or management. It supports Python natively, aligning with the company's existing codebase. This option requires minimal operational overhead, as AWS handles the underlying infrastructure. The other options are less ideal: Spot Fleet with EC2 instances involves managing servers, which contradicts the "minimal infrastructure and operational support" requirement for a serverless microservices architecture. AWS Elastic Beanstalk is a platform-as-a-service (PaaS) that simplifies deployment but still runs on EC2 instances, meaning some server management is involved, and it's not fully serverless. Amazon EKS with self-managed EC2 instances is a container orchestration service that requires significant operational overhead for managing Kubernetes clusters and EC2 instances, which is not serverless and doesn't meet the minimal operational support requirement.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed