A company is designing a cloud architecture and needs to choose compute services for two new workloads. The first workload is a containerized microservices application that the operations team wants to run without provisioning or managing any physical or virtual servers. The second workload is a short-running, event-driven administrative script that executes for a few seconds whenever an operational alert occurs.
Which two AWS compute services should the company select to meet these requirements? (Select TWO.)
- AWS FargateAnswer
- BAmazon Elastic Compute Cloud (Amazon EC2)
- AWS LambdaAnswer
- DAmazon Lightsail
- EAWS Elastic Beanstalk
Answer
AWS Fargate and AWS Lambda are the correct compute services to meet these requirements.
AWS Fargate is the correct choice for the first workload because it allows running containers serverlessly, removing the operational overhead of managing virtual machines. AWS Lambda is the correct choice for the second workload because it is a serverless, event-driven service designed to run code for short periods in response to events or alerts.
Step-by-Step Solution
Key Concept
Selecting appropriate AWS compute services based on workload requirements (serverless vs. server-based, containerized vs. event-driven).