Bird
0
0

You want to run multiple containerized apps on a single ECS cluster and ensure they scale automatically. Which combination of AWS features should you use?

hard📝 Best Practice Q15 of 15
AWS - ECS and Fargate
You want to run multiple containerized apps on a single ECS cluster and ensure they scale automatically. Which combination of AWS features should you use?
AUse only AWS Lambda functions without ECS clusters
BCreate multiple ECS clusters, each with one container instance, no scaling
CCreate one ECS cluster, register container instances, use ECS Service with Auto Scaling
DCreate an ECS cluster and manually add containers without scaling
Step-by-Step Solution
Solution:
  1. Step 1: Understand ECS cluster scaling

    A single ECS cluster can run many container instances and apps together.
  2. Step 2: Use ECS Service with Auto Scaling

    ECS Service manages running tasks and can scale containers automatically based on demand.
  3. Step 3: Combine cluster, instances, and auto scaling

    Register container instances to the cluster and configure ECS Service Auto Scaling for automatic scaling.
  4. Final Answer:

    Create one ECS cluster, register container instances, use ECS Service with Auto Scaling -> Option C
  5. Quick Check:

    Cluster + instances + ECS Service Auto Scaling = scalable apps [OK]
Quick Trick: Use ECS Service Auto Scaling on one cluster for scaling apps [OK]
Common Mistakes:
  • Creating multiple clusters unnecessarily
  • Ignoring ECS Service Auto Scaling feature
  • Using Lambda instead of ECS for container apps
  • Manually scaling containers without automation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes