Reliability and Business Continuity

An Amazon ECS service running on AWS Fargate becomes memory-constrained during unpredictable traffic bursts while CPU utilization remains low. Which scaling configuration BEST responds to this resource pressure?

Show the answer

Correct answerC. Target tracking on average ECS service memory utilization

AWhy not this: Scheduled scaling fits known demand patterns rather than unpredictable bursts.

BWhy not this: Fargate manages the underlying compute capacity; the service does not use a customer-managed EC2 Auto Scaling group.

CWhy this is right: Memory-based target tracking adjusts the service task count in response to the stated resource constraint.

DWhy not this: CPU utilization remains low, so it does not represent the resource pressure requiring additional tasks.

ECS service target tracking can adjust the task count using average memory utilization, matching the constrained resource. CPU-based tracking would not respond adequately when CPU utilization remains low.