AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company developing a mobile application wishes to process image uploads by users to provide real-time feedback on image quality. The application experiences unpredictable spikes in use, typically during events and social campaigns, leading to highly variable demand on the backend image processing system. Which service should be used to handle the image processing in the most cost-effective and scalable way?
AWS Batch to manage image processing jobs in the cloud
Amazon EC2 Autoscaling group to scale image processing servers based on demand
AWS Fargate to run the containerized image processing application without managing underlying servers
AWS Lambda for triggering image processing functions in response to upload events
AWS Lambda is a serverless compute service that automatically scales to match the demand of triggering events and charges on a per-request basis. This makes it ideal for handling unpredictable workloads such as the image processing required by the mobile application during spikes in activity, without incurring costs during idle times. Amazon EC2 would require manual scaling and constant running costs regardless of demand. AWS Fargate, while it provides container management, still requires capacity management and potentially suffers from cold starts. AWS Batch is meant for batch processing workloads and lacks the real-time event-driven model needed here.
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 is AWS Lambda and how does it work?
Open an interactive chat with Bash
What does it mean for a service to be serverless?
Open an interactive chat with Bash
How does AWS Lambda handle variable workloads effectively?