Question 620
A microservices workload chooses AWS compute based on runtime needs. The team confirms that thousands of independent already-containerized research tasks must run in parallel with isolated retries. Which option best matches the identified issue?
Explanation
Correct Answer
The scenario identifies this requirement: Thousands of independent already-containerized research tasks must run in parallel with isolated retries. Select Submit AWS Batch array jobs using job-level retry settings and appropriate compute as the specified technical mechanism. Array jobs partition a large batch into separately scheduled units. This response addresses the problem described rather than a different design goal.
Incorrect Answers
Use Lambda behind API Gateway for bounded synchronous request handling would help if a synchronous web request handler completes in seconds and should not require a running web fleet. Lambda plus API Gateway offers request-driven compute and HTTPS routing. That is not the symptom described here: thousands of independent already-containerized research tasks must run in parallel with isolated retries. The matching response is Submit AWS Batch array jobs using job-level retry settings and appropriate compute, because array jobs partition a large batch into separately scheduled units.
For the alternative failure a portable container app needs task-level scaling without cluster host operations, the control Use ECS services on Fargate is relevant: fargate supplies managed container compute capacity. Here the evidence instead is thousands of independent already-containerized research tasks must run in parallel with isolated retries. The selected technical mechanism is Submit AWS Batch array jobs using job-level retry settings and appropriate compute: array jobs partition a large batch into separately scheduled units.
Use EC2 instances or an appropriate container service rather than Lambda solves a different operational problem where a service runs a continuous daemon for days with custom OS dependencies. Lambda execution duration is bounded. It does not directly address thousands of independent already-containerized research tasks must run in parallel with isolated retries. The case calls for Submit AWS Batch array jobs using job-level retry settings and appropriate compute, since array jobs partition a large batch into separately scheduled units.