A company processes product-image uploads in bursts. Each transform takes up to ten minutes, and every job can be retried safely from the beginning. The current EC2 worker fleet is idle most of the day. Which two changes most reduce cost and idle capacity? Select two.
Trap 1: Keep a fixed fleet of m6i.large instances in an Auto Scaling group…
Incorrect. A higher minimum keeps capacity running even when the queue is empty, so idle cost remains high. It also does not provide the burst efficiency that queued, event-driven processing gives you.
Trap 2: Use Reserved Instances for the workers even though demand is highly…
Incorrect. Reserved Instances work best for stable, predictable utilization. Bursty workers would leave committed capacity unused much of the time, which wastes money.
Trap 3: Process uploads only during a nightly window so the fleet looks…
Incorrect. Batch scheduling may reduce perceived complexity, but it increases latency and does not inherently reduce compute cost if the same amount of work must still be done.
- A
Buffer jobs in Amazon SQS and let workers scale from queue depth.
Correct. SQS decouples uploads from processing and smooths bursty demand. Queue depth is a practical scaling signal, so the company avoids paying for idle workers while still absorbing traffic spikes.
- B
Run the workers on AWS Fargate Spot, since interruptions are acceptable.
Correct. Fargate Spot lowers container compute cost when the workload can tolerate interruption and retry. For retry-safe image processing, the cost savings are significant compared with always-on EC2 workers.
- C
Keep a fixed fleet of m6i.large instances in an Auto Scaling group with a higher minimum.
Why wrong: Incorrect. A higher minimum keeps capacity running even when the queue is empty, so idle cost remains high. It also does not provide the burst efficiency that queued, event-driven processing gives you.
- D
Use Reserved Instances for the workers even though demand is highly bursty.
Why wrong: Incorrect. Reserved Instances work best for stable, predictable utilization. Bursty workers would leave committed capacity unused much of the time, which wastes money.
- E
Process uploads only during a nightly window so the fleet looks busier.
Why wrong: Incorrect. Batch scheduling may reduce perceived complexity, but it increases latency and does not inherently reduce compute cost if the same amount of work must still be done.