Question

Difficulty: HardAWS Compute Services

A financial institution runs a legacy risk analysis batch job twice a day. The job takes approximately 45 minutes to execute and requires custom kernel-level security patches and configurations to run its proprietary simulation binary. Which AWS compute service should the institution select to host this workload?

  1. A
    AWS Lambda, because it is a serverless compute service that minimizes operational management and automatically scales to run the batch analysis.
  2. Amazon EC2, because it offers full control over the operating system and kernel configuration, with no execution time limits.Answer
  3. C
    AWS Fargate, because it allows running containers serverlessly to reduce the overhead of managing underlying virtual machines.
  4. D
    Amazon Lightsail, because it provides simplified, cost-effective virtual private servers suitable for running periodic scripts.

Answer

Amazon EC2, because it offers full control over the operating system and kernel configuration, with no execution time limits.
The correct option is Amazon EC2 because it provides virtual machines where the customer has full administrative control (root access), allowing them to configure custom kernel-level patches. Additionally, Amazon EC2 has no execution timeout limits, accommodating the 45-minute runtime.

Step-by-Step Solution

1
Analyze the workload's execution duration requirement.
The job runs for 45 minutes, which exceeds the 15-minute maximum limit of AWS Lambda.
This rules out standard serverless function options.
2
Analyze the operating system and infrastructure modification requirement.
The job requires custom kernel-level patches and configurations.
This rules out managed serverless container options like AWS Fargate, where the host operating system kernel is managed by AWS and inaccessible to the user.
3
Evaluate the remaining options against administrative control requirements.
Amazon EC2 provides virtual machines with complete operating system control and root access, which satisfies the need for custom kernel modifications, and has no execution time constraints.
This identifies Amazon EC2 as the only appropriate choice.

Key Concept

Selecting appropriate AWS compute services based on operational constraints and access requirements
Estimated Time:2m 0s
Rate this question