An ecommerce company must run a scheduled daily job that aggregates and filters sales records for analytics. The sales records are stored in an Amazon S3 bucket; each object can be up to 10 GB. Depending on volume, the job can take up to an hour. CPU and memory usage are constant and known in advance. A solutions architect needs to minimize operational effort required to run the job. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon Elastic Container Service (Amazon ECS) cluster with the AWS Fargate launch type. Create an Amazon EventBridge scheduled event that launches an ECS task on the cluster to run the job..
Why this is the answer
The correct solution leverages AWS Fargate for its serverless container capabilities, minimizing operational effort. Fargate eliminates the need to manage EC2 instances, aligning with the requirement for low operational overhead. The job's duration (up to an hour) and potential 10 GB object size are well within Fargate's capabilities. EventBridge reliably schedules the daily task. AWS Lambda is unsuitable because its maximum execution time is 15 minutes, which is less than the job's potential one-hour duration. Integrating Lambda with API Gateway doesn't circumvent this limitation. Using Amazon ECS with the EC2 launch type would require managing EC2 instances, increasing operational effort, which contradicts the problem statement's goal.
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