AWS SAP-C02 · Question 44 · Domain 4.4: Modernization Requirements
A company is modernizing a batch processing application. The application currently runs on a single large EC2 instance and takes 12 hours to process a nightly file. The processing logic can be parallelized. The company wants to move to a serverless architecture to reduce processing time and only pay for compute when the job is running. Which architecture BEST meets these requirements?
Answer options:
Use Amazon EC2 Auto Scaling to launch 10 instances at night, process the file, and terminate them.
Use Amazon S3 to trigger an AWS Lambda function that processes the entire file.
Use Amazon S3 to trigger an AWS Lambda function that splits the file. Use AWS Step Functions Map state to process the chunks in parallel using AWS Fargate.
Use AWS Glue to run a Python shell script to process the file.
75 questions · hints · full answers · grading