Bird
0
0

An ECS service auto scaling policy is not increasing tasks despite high CPU. What misconfiguration could cause this?

medium📝 Debug Q7 of 15
AWS - ECS and Fargate
An ECS service auto scaling policy is not increasing tasks despite high CPU. What misconfiguration could cause this?
AMinCapacity is set to zero
BMaxCapacity is set equal to current task count
CCloudWatch alarm is set to trigger on low CPU
DScaling policy uses memory utilization instead of CPU
Step-by-Step Solution
Solution:
  1. Step 1: Understand max capacity effect

    If max capacity equals current tasks, scaling out is blocked.
  2. Step 2: Evaluate other options

    MinCapacity zero allows scale in, alarm on low CPU triggers scale in, and memory-based policy won't respond to CPU.
  3. Final Answer:

    MaxCapacity is set equal to current task count -> Option B
  4. Quick Check:

    MaxCapacity = current tasks blocks scale out [OK]
Quick Trick: MaxCapacity must be higher than current tasks to scale out [OK]
Common Mistakes:
  • Setting max capacity too low
  • Confusing alarm triggers
  • Using wrong metric for scaling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes