SAA-C03 · Question #347
A company needs to run a critical data processing workload that uses a Python script every night. The workload takes 1 hour to finish. Which solution will meet these requirements MOST cost…
The correct answer is A. Deploy an Amazon Elastic Container Service (Amazon ECS) cluster with the AWS Fargate. AWS Fargate with Spot capacity is the most cost-effective and serverless container option for short-duration jobs that are flexible on start time. Since the job is not latency-critical and runs nightly, it is a good candidate for Fargate Spot, which can offer up to 70% cost…
Question
A company needs to run a critical data processing workload that uses a Python script every night. The workload takes 1 hour to finish. Which solution will meet these requirements MOST cost- effectively?
Options
- ADeploy an Amazon Elastic Container Service (Amazon ECS) cluster with the AWS Fargate
- BDeploy an Amazon Elastic Container Service (Amazon ECS) cluster with the Amazon EC2 launch
- CCreate an AWS Lambda function that uses the existing Python code. Configure Amazon
- DCreate an Amazon EC2 On-Demand Instance that runs Amazon Linux. Migrate the Python script
How the community answered
(31 responses)- A90% (28)
- B6% (2)
- C3% (1)
Explanation
AWS Fargate with Spot capacity is the most cost-effective and serverless container option for short-duration jobs that are flexible on start time. Since the job is not latency-critical and runs nightly, it is a good candidate for Fargate Spot, which can offer up to 70% cost savings over On- The job runs for 1 hour, which exceeds the AWS Lambda maximum execution time (15 minutes). Therefore, Lambda is not suitable. EC2-based solutions involve higher operational overhead and cost, making Fargate Spot the best low-cost, low-maintenance solution.
Community Discussion
No community discussion yet for this question.