
Answer-first summary for fast verification
Answer: Use AWS Lambda with AWS SAM and Amazon API Gateway.
The correct answer is B: Use AWS Lambda with AWS SAM and Amazon API Gateway. This solution is cost-effective because AWS Lambda is billed based on the number of requests and the duration of code execution, making it ideal for low to moderate traffic situations. Amazon API Gateway can manage the REST endpoint and provides built-in caching capabilities to reduce backend requests, optimizing costs further. The serverless model also reduces operational overhead and removes the need for managing servers, making it a highly efficient choice for this proof of concept.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
For a low-traffic proof of concept web service showing weather forecasts, which AWS service setup is most cost-effective, considering the need for a REST endpoint and caching?
A
Deploy a container with Amazon EKS and use Amazon API Gateway.
B
Use AWS Lambda with AWS SAM and Amazon API Gateway.
C
Deploy a container with Amazon ECS and use Amazon API Gateway.
D
Deploy a microservices app on AWS Elastic Beanstalk and use an Application Load Balancer with AWS Lambda.
No comments yet.