SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is modernizing its legacy PHP application to run on AWS. The application is currently deployed on a single on-premises server with a LAMP stack. The company wants to use containerization to improve scalability and deployment speed. Which AWS service should be used to run the containers with minimal operational overhead?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Amazon ECS with AWS Fargate
Amazon ECS with AWS Fargate allows running containers without managing servers, significantly reducing operational overhead. AWS Fargate is a serverless compute engine that automatically provisions and scales the infrastructure. Option A is incorrect because AWS Lambda is designed for event-driven serverless functions, not for running containerized applications directly. Option C is incorrect because Amazon EKS with Amazon EC2 requires managing the Kubernetes control plane and worker nodes, adding operational complexity. Option D is incorrect because Amazon ECS with the EC2 launch type requires you to manage the EC2 instances, increasing operational overhead compared to Fargate.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
AWS Lambda
Why it's wrong here
Lambda is for functions, not containers.
- ✓
Amazon ECS with AWS Fargate
Why this is correct
Fargate is serverless containers, minimizing operational overhead.
- ✗
Amazon EKS with Amazon EC2
Why it's wrong here
Requires managing EC2 instances for worker nodes.
- ✗
Amazon ECS with Amazon EC2 launch type
Why it's wrong here
Requires managing EC2 instances.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.