AWS Certified Solutions Architect – Professional — Question 819

A company runs its containerized batch jobs on Amazon ECS. The jobs are scheduled by submitting a container image, a task definition, and the relevant data to an Amazon S3 bucket. Container images may be unique per job. Running the jobs as quickly as possible is of utmost importance, so submitting job artifacts to the
S3 bucket triggers the job to run immediately. Sometimes there may be no jobs running at all. However, jobs of any size can be submitted with no prior warning to the IT Operations team. Job definitions include CPU and memory resource requirements.
What solution will allow the batch jobs to complete as quickly as possible after being scheduled?

Answer options

Correct answer: C

Explanation

AWS Fargate is a serverless compute engine for containers that allows tasks to start instantly without the overhead of provisioning or scaling underlying EC2 instances. Because jobs are unpredictable and can scale from zero, Fargate scales seamlessly on demand to meet immediate resource requirements. Utilizing EC2 instances (as in options A and B) or incorrect Auto Scaling configurations (as in option D) introduces provisioning delays and management complexity that would prevent jobs from starting immediately.