A business wants to move two distinct workloads to the AWS Cloud:
1. A legacy system that requires direct access to the operating system to install custom software and configure low-level settings.
2. A lightweight background task that runs for only a few seconds to resize images whenever customers upload them.
Which two AWS compute services should the business select to host these workloads? (Select two.)
- Amazon Elastic Compute Cloud (Amazon EC2) to host the legacy system, providing full control over the guest operating systemAnswer
- AWS Lambda to run the short image-resizing tasks when images are uploadedAnswer
- CAWS Fargate to host the legacy system, allowing access to customize the underlying host kernel
- DAmazon Elastic Compute Cloud (Amazon EC2) to host the legacy system, assuming AWS automatically manages and patches its guest operating system
- EAWS Lambda to run the legacy system continuously to ensure constant availability
Answer
Amazon Elastic Compute Cloud (Amazon EC2) and AWS Lambda
Amazon Elastic Compute Cloud (Amazon EC2) is correct for the legacy workload because it provides virtual machines where users have complete administrative control over the guest operating system, which is required for custom installations. AWS Lambda is correct for the image-resizing workload because it is a serverless, event-driven compute service designed to run code for short durations in response to events (like file uploads) without provisioning or managing servers.
Step-by-Step Solution
Key Concept
Selecting the appropriate AWS compute services based on operational control and workload duration.