Question 640
A containerized application requires efficient concurrency management. The team confirms that a rollout sends traffic to tasks before warmup completes. What is the best design response for this workload?
Explanation
Correct Answer
The scenario identifies this requirement: A rollout sends traffic to tasks before warmup completes. Select Configure readiness checks, grace periods and health-based deployment as the specified technical mechanism. Healthy target admission must match app readiness. This response addresses the problem described rather than a different design goal.
Incorrect Answers
The option Increase task memory sizing after measuring working-set demand addresses a separate condition: a Fargate task's memory limit repeatedly causes OOM kills. Container memory limits determine possible OOM termination. The actual requirement is a rollout sends traffic to tasks before warmup completes. Recommended corrective action: Configure readiness checks, grace periods and health-based deployment. Healthy target admission must match app readiness.
Adjust service desired count and target-tracking scaling metrics would help if an ECS service's tasks are saturated even while the ASG EC2 hosts have spare room. Task scaling governs application replica count. That is not the symptom described here: a rollout sends traffic to tasks before warmup completes. The matching response is Configure readiness checks, grace periods and health-based deployment, because healthy target admission must match app readiness.
Increase task CPU resources and benchmark throughput solves a different operational problem where a container processes CPU-bound requests but task CPU is set very low. Task CPU allocations affect processing capacity. It does not directly address a rollout sends traffic to tasks before warmup completes. The case calls for Configure readiness checks, grace periods and health-based deployment, since healthy target admission must match app readiness.