Choosing Amazon EC2 for Custom Application Deployment

CLF-C02 By islever Editorial Last updated

Short answer

D Use Amazon EC2 to provision virtual machines with customizable CPU, memory, storage, and networking configurations for the migrated applications.

Question

A company plans to migrate its custom marketing application and order-processing application to AWS. The company needs to deploy the applications on different types of instances with various configurations of CPU, memory, storage, and networking capacity. Which AWS service should the company use to meet these requirements?
  1. AWS Lambda
  2. Amazon Cognito
  3. Amazon Athena
  4. Amazon EC2 Correct Answer

Key Takeaways

The core concept tested is identifying the appropriate compute service for customizable infrastructure, while the common trap involves confusing serverless options or data analytics tools with general-purpose compute instances.

This question addresses the selection of AWS compute services for deploying custom applications with specific resource configurations. It establishes that Amazon EC2 is the correct service for providing flexible, configurable virtual machines.

Common mistake: Candidates often mistakenly select AWS Lambda due to its popularity in modern cloud architectures, failing to recognize that Lambda's execution environment constraints do not align with the need for varied CPU/memory/storage configurations typical of traditional application migration.

Expert Analysis

Why the Answer Is Correct

Amazon EC2 (Elastic Compute Cloud) provides resizable compute capacity in the AWS cloud, allowing users to launch virtual servers (instances) with specific configurations of CPU, memory, storage, and networking. The question explicitly mentions the need to deploy applications on "different types of instances with various configurations," which is the primary use case for EC2. It offers full control over the operating system and environment, making it ideal for migrating custom marketing and order-processing applications that may have legacy dependencies or specific hardware requirements.

Why the Other Options Are Wrong

AWS Lambda (Option A) is a serverless compute service where you upload code, but you cannot choose specific instance types or configure underlying OS settings; it abstracts away the infrastructure. Amazon Cognito (Option B) is an identity and access management service, not a compute platform. Amazon Athena (Option C) is an interactive query service used to analyze data stored in Amazon S3 using SQL, having no role in hosting or running application logic.

Community Comment Notes

Community consensus strongly supports Option D. One commenter clarified that Amazon Athena is strictly for data analysis on S3, reinforcing why it is incorrect. Another user simply affirmed that D is correct, indicating a unified understanding among learners that EC2 is the standard choice for this scenario.

Official Reference

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html

This link opens the official vendor documentation in a new tab.

Exam Strategy

Always match the keyword 'configurations of CPU, memory, storage' to EC2. If the question emphasizes 'serverless', 'event-driven', or 'no server management', consider Lambda. If it mentions 'data analysis' or 'SQL on S3', think Athena.

Frequently Asked Questions

Why can't I use AWS Lambda for this migration?

Lambda abstracts infrastructure, preventing you from specifying exact instance types or deep OS-level configurations required by the custom apps.

Is Amazon Athena relevant for application deployment?

No, Athena is only for querying data in S3 using SQL; it does not host or run application code.

More CLF-C02 FAQ →

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 3 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 3

  1. jj970us 👍 2 Answered D
    The correct answer should be D.Amazon EC2. Amazon Athena is an interactive query service that makes it easy to analyze data directly in Amazon Simple Storage Service (Amazon S3) using standard SQL. https://docs.aws.amazon.com/athena/latest/ug/what-is.html
  2. Meow7 👍 1
    D is correct. please help discussion on 468 ~ 471. Thanks.
  3. ShaiTay 👍 1 Answered D
    D. Amazon EC2

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All CLF-C02 Questions

Access 120 questions with complete answers and detailed explanations.

View Full CLF-C02 Practice Test →

← Back to CLF-C02 Study Guide