Question 270
A CPU-bound image rendering service exhibits high CPU but modest memory use during every job. Select the best architectural decision.
Explanation
Correct Answer
Compute-optimized instances offer favorable CPU resources for processor-intensive workloads. In this situation, rendering throughput improves at comparable cost while memory usage stays within limits. The decision can be verified by that concrete result.
Incorrect Answers
Target tracking adjusts capacity toward a utilization setpoint. That relates to a different need: a stateless EC2 service should add instances when average CPU rises above a target under sustained traffic.
Lambda CPU allocation grows with memory and can reduce runtime for CPU-bound functions. That relates to a different need: a short event-driven function is memory constrained but increasing Lambda memory should also affect CPU allocation.
GPU-backed instances accelerate eligible parallel inference operations. That relates to a different need: a machine-learning inference workload uses supported GPU acceleration and ordinary CPU instances have excessive latency.