Question

Difficulty: MediumAWS Compute Services

A company is planning to migrate two separate workloads to AWS. The first workload is a legacy enterprise application that requires specific operating system kernel modifications. The second workload is a containerized microservice API that needs to run on a serverless infrastructure without the overhead of provisioning or managing virtual machines. Which two AWS compute services should the company select to host these workloads? (Select two.)

  1. Amazon Elastic Compute Cloud (Amazon EC2)Answer
  2. AWS FargateAnswer
  3. C
    AWS Lambda
  4. D
    Amazon Lightsail

Answer

Amazon Elastic Compute Cloud (Amazon EC2) and AWS Fargate
Amazon Elastic Compute Cloud (Amazon EC2) is correct because it provides virtual machines with full administrative (root) control, enabling the operating system kernel modifications required by the legacy workload. AWS Fargate is correct because it is a serverless compute engine that allows containerized applications to run without the user needing to provision or manage the underlying virtual servers.

Step-by-Step Solution

1
Analyze the requirements for the first workload.
The legacy enterprise application needs OS-level access to perform kernel modifications.
Since standard serverless or managed container platforms restrict access to the underlying OS and kernel, Amazon EC2 is required as it provides full administrative control (root access) over the virtual machines.
2
Analyze the requirements for the second workload.
The containerized microservice API must run in a serverless environment without the need to manage underlying servers.
AWS Fargate acts as a serverless compute engine for containers, abstracting away the server management and provisioning layer while running standard containerized workloads.

Key Concept

Selecting appropriate AWS compute services based on OS control and server management requirements
Estimated Time:1m 30s
Rate this question