Question

Difficulty: MediumAWS Compute Services

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.)

  1. AWS FargateAnswer
  2. B
    Amazon Elastic Compute Cloud (Amazon EC2)
  3. AWS LambdaAnswer
  4. D
    Amazon Lightsail
  5. E
    AWS 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

1
Analyze the first workload requirement: running a containerized microservices application without provisioning or managing physical or virtual servers.
Identify AWS Fargate as the serverless compute engine for containers that removes the need to manage underlying EC2 instances.
AWS Fargate handles container orchestration and infrastructure management, aligning with the serverless requirement.
2
Analyze the second workload requirement: running a short-running, event-driven script in response to operational alerts.
Identify AWS Lambda as the event-driven serverless compute service that executes code in response to triggers and automatically scales.
AWS Lambda is optimized for brief, event-triggered functions and eliminates the overhead of running a continuous server.

Key Concept

Selecting appropriate AWS compute services based on workload requirements (serverless vs. server-based, containerized vs. event-driven).
Rate this question