A healthcare company runs a medical image processing application. The application's backend database runs on a single Amazon RDS for PostgreSQL DB instance in a Multi-AZ deployment. The compute layer consists of Amazon EC2 instances in an Auto Scaling group that processes tasks from an Amazon SQS queue. During peak periods, the application experiences performance degradation. A Solutions Architect identifies two main bottlenecks:
1. The database CPU utilization reaches due to a high volume of read-only queries for historical report retrieval.
2. The Auto Scaling group launches new EC2 instances to handle the SQS queue surge, but these instances take more than minutes to bootstrap because they download heavy software packages at startup. This delay causes the Auto Scaling group to launch more instances than required before the existing ones can begin processing tasks.
Which combination of actions will resolve these performance bottlenecks? (Select TWO.)
- Create an Amazon RDS PostgreSQL Read Replica and update the application configuration to route read-only queries to the replica endpoint.Cevap
- Create a custom Amazon Machine Image (AMI) with all application dependencies pre-packaged, and update the Auto Scaling group's launch template to use this AMI.Cevap
- CConfigure the application to distribute read-only queries between the primary DB instance and the standby DB instance in the Multi-AZ deployment.
- DSubmit an AWS Support request to pre-warm the Application Load Balancer (ALB) to handle the increased traffic volume and prevent dropped connections during peak periods.
- EDecrease the Auto Scaling group cooldown period to a value shorter than the EC2 bootstrap time to force the group to launch new instances faster.