A company is running a traditional web application on Amazon EC2 instances. The company needs to refactor the application as microservices that run on containers. Separate versions of the application exist in two distinct environments: production and testing. Load for the application is variable, but the minimum load and the maximum load are known. A solutions architect needs to design the updated application with a serverless architecture that minimizes operational complexity. Which solution will meet these requirements MOST cost-effectively?
Select one answer.
Marked answer: A
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose B1
Apesar de Lambda suportar imagens: Não é modelo natural para microsserviços containerizados tradicionais. Possui limitações como Timeout, execução stateless estrita. Arquitetura vira event-driven, não container orchestration. Totalmente desalinhado com o requisito principal: microsserviços em containers.
Chose A1
A. AWS Lambda with container images + API Gateway AWS Lambda does support container images. Fully serverless → no infrastructure management. Scales automatically with load (no cluster management). Separate environments easily handled via separate functions or API Gateway stages. Concurrency limits can cap cost and handle known max load. ✅ Meets all requirements with the least ops overhead and best cost efficiency.
Chose B1
B is the correct answer because the Minimum and Maximum Application load are known. If it was Unknown, then the Lambda Functions would the correct option