Explanation
Amazon EC2 is the correct answer because:
- Amazon EC2 with Auto Scaling Groups automatically scales compute resources up or down based on workload demands
- Auto Scaling monitors your applications and automatically adjusts capacity to maintain steady, predictable performance at the lowest possible cost
- When demand increases, Auto Scaling automatically launches additional EC2 instances
- When demand decreases, Auto Scaling automatically terminates excess instances
Why other options are incorrect:
- Amazon SQS: This is a message queuing service, not a compute service
- Amazon Aurora: This is a relational database service, not a compute service
- AWS Lambda: While Lambda automatically scales, it's a serverless compute service that operates differently from traditional compute services like EC2. The question specifically asks about "compute service" and EC2 with Auto Scaling is the most direct answer for scalable compute infrastructure.
EC2 with Auto Scaling provides the most comprehensive and configurable automatic scaling capability for compute workloads in AWS.