A company is designing a new reporting application that serves over PDF reports (totaling of static data) stored in an Amazon S3 bucket. The application also queries daily transaction summaries from an Amazon RDS for MySQL database which experiences over read queries per hour during business hours. During testing, users experience high latency when loading the reports and running dashboard queries. Additionally, a marketing campaign is scheduled that will cause a sudden, massive spike in traffic to the application's Application Load Balancer (ALB), going from to within . Which combination of actions should a Solutions Architect recommend to optimize the performance and scalability of the application? (Select TWO.)
- Deploy Amazon CloudFront to cache the static PDF reports from the Amazon S3 bucket at edge locations.Cevap
- Create Amazon RDS read replicas and configure the application to direct read queries for the dashboard to the read replica endpoints.Cevap
- CConfigure the Amazon RDS DB instance with a Multi-AZ deployment and configure the dashboard to route read queries to the standby instance's endpoint.
- DRely on the Application Load Balancer's automatic scaling triggers to handle the marketing campaign traffic spike of .
- EDeploy an Amazon ElastiCache for Memcached cluster to cache the dashboard query results and configure multi-AZ replication to maintain high availability of the cache.
Cevap
Deploying Amazon CloudFront to cache the static PDF reports from the S3 bucket and creating Amazon RDS read replicas to offload read traffic from the primary database.
Deploying Amazon CloudFront reduces latency for static content by caching it closer to users. Creating RDS read replicas offloads read traffic from the primary DB instance, scaling the read workload. Amazon RDS standby instances in a Multi-AZ deployment do not support read traffic. Application Load Balancers cannot scale instantly to absorb a spike from to and require pre-warming. ElastiCache for Memcached does not support multi-AZ replication.
Adım Adım Çözüm
Anahtar Kavram
Caching static assets and offloading database read traffic are fundamental optimization strategies for web applications. Caching at edge locations using CloudFront reduces load on S3 and minimizes download latency, while RDS read replicas scale read operations horizontally. Standby RDS instances are not readable, ALBs require pre-warming for sudden large spikes, and Memcached lacks multi-AZ replication capabilities.
Tahmini Süre:2m 0s