Bird
0
0

If an ECS service has a min capacity of 3 and max capacity of 6, and current tasks are 6 with CPU at 30%, what will auto scaling do?

medium📝 Predict Output Q5 of 15
AWS - ECS and Fargate
If an ECS service has a min capacity of 3 and max capacity of 6, and current tasks are 6 with CPU at 30%, what will auto scaling do?
AScale in to reduce tasks below 6
BScale out to add more tasks
CKeep tasks at 6 since max capacity reached
DStop all tasks due to low CPU
Step-by-Step Solution
Solution:
  1. Step 1: Analyze CPU usage and scaling limits

    CPU is below target, so ECS tries to scale in (reduce tasks).
  2. Step 2: Check min and max capacity constraints

    Current tasks are at max 6, so scaling in is allowed down to min 3.
  3. Final Answer:

    Scale in to reduce tasks below 6 -> Option A
  4. Quick Check:

    Low CPU = scale in (reduce tasks) [OK]
Quick Trick: Low CPU triggers scale in, respecting min capacity [OK]
Common Mistakes:
  • Trying to scale out when CPU is low
  • Assuming tasks stay at max capacity always
  • Thinking ECS stops tasks automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes