An organization needs to execute code in response to incoming web requests from a mobile app without the overhead of provisioning or maintaining servers. The workload is prone to experience unpredictable increases in demand. Which service should be used to handle these requirements efficiently?
Elastic Container Service with a serverless engine
Lambda is the optimal solution for executing code in response to incoming web requests without the need for server management, and it is well-suited to handle unpredictable demand due to its ability to scale automatically with each trigger. This makes it ideal for situations where there are unexpected spikes in traffic. The pricing model based on the number of requests and the duration of execution also aligns with the variable workload, offering cost efficiency during periods of varying traffic intensity.
Other options like EC2 and ECS with Fargate involve server management at some level, and although Fargate abstracts the server management, it still requires configuration for container execution. SNS is primarily a messaging and notification service and does not directly handle execution of code in response to HTTP requests.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What specifically is AWS Lambda and how does it work?
Open an interactive chat with Bash
How does AWS Lambda handle scaling during unpredictable increases in demand?
Open an interactive chat with Bash
What is the pricing model for AWS Lambda, and how does it work?
Open an interactive chat with Bash
AWS Cloud Practitioner CLF-C02
Cloud Technology and Services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access