SOA-C02 Deployment, Provisioning, and Automation Practice Question
A company needs to deploy a set of microservices using Docker containers on AWS. The deployment should be automated and support scaling based on demand. Which AWS service should be used to orchestrate the containers?
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
Amazon ECS is a fully managed container orchestration service that integrates with Auto Scaling and CloudWatch to automate deployment and scaling of Docker containers. Option A (Lambda) is for serverless functions, not containers. Option B (Elastic Beanstalk) can deploy containers but is less flexible for microservices orchestration. Option D (CodeDeploy) is for application deployments, not container orchestration.
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
AWS Lambda is a serverless compute service that executes code in response to events, not a container orchestration platform. Although Lambda supports container images as a packaging format, it imposes strict execution time and memory limits and abstracts away the underlying runtime, making it unsuitable for running a set of long-lived Docker-based microservices that require orchestration, networking control, and fine-grained scaling.
- ✗
AWS Elastic Beanstalk
Why it's wrong here
AWS Elastic Beanstalk is a PaaS service that can deploy Docker containers, but it abstracts and manages the underlying infrastructure with an opinionated setup, limiting control over task placement, service discovery, and per-microservice scaling. For a microservices architecture where each service needs independent lifecycle management and integration with AWS-native container tooling, Elastic Beanstalk's container environments are less flexible and are not designed as a full container orchestrator.
- ✓
Amazon ECS
Why this is correct
Amazon ECS is a fully managed container orchestration service purpose-built for running Docker containers at scale. It lets you define task definitions, control scheduling and placement, and integrates natively with Application Load Balancer, IAM, CloudWatch, and VPC networking, making it the right choice for deploying and operating a set of microservices as containers on AWS.
- ✗
AWS CodeDeploy
Why it's wrong here
AWS CodeDeploy is a deployment automation service that automates code or revision releases to existing compute services such as EC2, Lambda, or ECS. It does not orchestrate containers or provide the runtime environment for microservices; rather, it can be used to update an ECS service with a new task definition, but it has no capability to manage container lifecycle or scheduling on its own.
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
Courseiva writes every SOA-C02 question from scratch — 1,169 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SOA-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 SOA-C02 exam.