A solutions architect is creating a data processing job that runs once daily and can take up to 2 hours to complete. If the job is interrupted, it must restart from the beginning. How should the solutions architect address this issue in the MOST cost-effective manner?
Choose an answer
Tap an option to check your answer.
Correct answer: Use an Amazon Elastic Container Service (Amazon ECS) Fargate task triggered by an Amazon EventBridge scheduled event..
Why this is the answer
An Amazon ECS Fargate task triggered by an Amazon EventBridge scheduled event is the most cost-effective solution. Fargate is serverless, meaning you only pay for the compute resources consumed during the task's execution, which aligns with the daily, up-to-2-hour runtime. EventBridge provides reliable scheduling. Running a script on an EC2 Reserved Instance is less cost-effective because you pay for the instance even when the job isn't running. Lambda functions have a maximum execution time of 15 minutes, making them unsuitable for a 2-hour job. An ECS task running on EC2 would incur costs for the underlying EC2 instances even when the task is idle, similar to the Reserved Instance option, making Fargate more cost-efficient for this sporadic workload.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed