A company operates a nightly batch processing workload on AWS. The workload runs in two distinct phases:
* Phase 1: A fleet of Amazon EC2 instances in an Auto Scaling group (ASG) downloads large raw data files from Amazon S3. The instances process these files and write large intermediate datasets to attached Amazon EBS `gp3` volumes configured with default settings ( and throughput). During this phase, performance metrics show that the EBS volumes reach write throughput utilization, while the average CPU utilization of the EC2 instances remains under .
* Phase 2: After the intermediate files are processed, a high-volume AWS Lambda function executes up to concurrent runs to perform secondary transformations and write the outputs to Amazon DynamoDB. During this phase, critical real-time API-driven Lambda functions in the same AWS account are intermittently throttled.
Which combination of actions should a Solutions Architect recommend to optimize performance and resolve the throttling issues?
- AModify the existing `gp3` volumes to increase their provisioned IOPS to while maintaining the default throughput of , and leave the batch processing Lambda function's concurrency limits unconfigured to allow it to scale dynamically to its maximum potential.
- BModify the existing `gp3` volumes to increase their throughput allocation to , and configure dynamic scaling for the EC2 fleet with a scaling cooldown period of to ensure rapid scale-out during file processing, while leaving the batch processing Lambda function's concurrency limits unconfigured.
- Modify the existing `gp3` volumes to increase their throughput allocation to , and configure reserved concurrency on the batch processing Lambda function to limit its concurrent executions.Cevap
- DModify the existing `gp3` volumes to increase their throughput allocation to , and configure an Application Load Balancer (ALB) to distribute requests to the EC2 instances, relying on target tracking policies to scale the fleet during sudden traffic spikes without requesting ELB pre-warming.