A company is designing a new container-based e-commerce platform on AWS. The platform consists of two main workloads:
1. A front-end web service that runs continuously, handles unpredictable traffic spikes, and requires full control over the underlying operating system and Docker daemon configuration to install third-party security agents.
2. A short-lived, event-driven image processing task that runs automatically whenever a new product image is uploaded, taking between and seconds to complete.
Which combination of AWS compute services should the company select to meet these requirements with the minimum operational overhead? (Select TWO.)
- Amazon EC2 to host the front-end web serviceAnswer
- AWS Lambda to run the image processing taskAnswer
- CAWS Fargate to host the front-end web service
- DAmazon Lightsail to host both the web service and the processing task
- EAmazon EC2 Spot Instances to run the image processing task
Answer
The correct combination is Amazon EC2 to host the front-end web service and AWS Lambda to run the image processing task.
The correct combination requires using Amazon EC2 for the web service and AWS Lambda for the processing task. Amazon EC2 gives the user full root-level control over the virtual machine's operating system, allowing installation of custom software and Docker daemon modifications. AWS Lambda is a serverless, event-driven service that automatically scales to execute code for short durations, which perfectly matches the brief image-processing task with zero host management.
Step-by-Step Solution
Key Concept
Selecting appropriate AWS compute services based on operational control, scaling needs, and workload characteristics.
Estimated Time:2m 0s