A geophysics research firm runs a seismic data processing pipeline on AWS. The pipeline consists of a fleet of Amazon EC2 instances in an Auto Scaling group (ASG) that ingest sensor telemetry logs, perform complex spatial transformations, write intermediate results to local scratch spaces, and update metadata in an Amazon RDS PostgreSQL DB instance. The processed datasets are ultimately uploaded to Amazon S3 for long-term research.
During daily calculation cycles, the solutions architect observes the following performance issues:
- The EC2 instances encounter severe disk write latency while writing intermediate sensor logs to local storage. The instances use Amazon EBS gp2 volumes, which frequently exhaust their I/O burst credits.
- The RDS PostgreSQL DB instance experiences high CPU utilization and query timeouts due to a sudden influx of read-heavy telemetry lookup queries.
- The final archive process to S3 fails with HTTP (Slow Down) errors when uploading thousands of small datasets concurrently to a single path: `s3://seismic-data-archive/raw-outputs/`.
Which two actions should the solutions architect take to resolve these performance bottlenecks? (Select two.)
- Upgrade the EC2 instance root and scratch volumes to gp3, configure them with sufficient provisioned IOPS and throughput, and modify the application to upload archives to S3 using key paths prepended with a hash of the sensor identifier.Answer
- Add RDS PostgreSQL Read Replicas to offload the read-heavy telemetry lookup queries from the primary database instance, and update the application's lookup queries to connect to the replica endpoints.Answer
- CConfigure the RDS PostgreSQL DB instance for Multi-AZ deployment and configure the application to route read queries to the standby replica to balance the query load during peak calculation cycles.
- DRequest that AWS Support pre-warm the application's entry-point load balancer to support the high rate of concurrent S3 PUT requests and eliminate the HTTP (Slow Down) responses.
- EDeploy an AWS Snowball Edge Storage Optimized device to locally cache the intermediate sensor logs and periodically ship the device to AWS to bypass S3 prefix constraints.