Question

Difficulty: MediumAWS Compute Services

A company plans to deploy a custom database application that requires low-level kernel configuration modifications and direct control over the underlying operating system patching schedule. Which AWS compute service is the most appropriate for this workload?

  1. Amazon Elastic Compute Cloud (Amazon EC2)Answer
  2. B
    AWS Fargate
  3. C
    AWS Lambda
  4. D
    AWS Elastic Beanstalk

Answer

Amazon Elastic Compute Cloud (Amazon EC2) is the most appropriate service because it provides raw virtual machine instances with full administrative access, allowing the user to modify the operating system kernel and manage patching schedules.
Amazon Elastic Compute Cloud (Amazon EC2) provides virtual machines in the cloud, granting full root/administrator access to the operating system. This allows customers to modify kernel parameters, install custom software, and control the operating system patching schedule.

Step-by-Step Solution

1
Analyze the workload requirements for direct operating system access, custom kernel configuration, and control over patching.
Identify that the application needs an Infrastructure as a Service (IaaS) model rather than serverless or managed platform services.
Serverless and managed services abstract the operating system and restrict administrative/root access.
2
Evaluate the available AWS compute services against these requirements.
Determine that Amazon EC2 provides full control over the OS and kernel, whereas AWS Fargate, AWS Lambda, and AWS Elastic Beanstalk manage or abstract these layers.
Selecting Amazon EC2 is necessary when root-level OS customization and patch management are strictly required.

Key Concept

Understanding the level of control and shared responsibility across different AWS compute services (IaaS vs. PaaS/Serverless).
Rate this question