Replace a single web instance with an Auto Scaling group and Aurora read replicas
A company's web application has reliability issues. The application serves customers globally. The application runs on a single Amazon EC2 instance and performs read-intensive operations on an Amazon RDS for MySQL database. During high load, the application becomes unresponsive and requires a manual restart of the EC2 instance. A solutions architect must improve the application's reliability. Which solution will meet this requirement with the LEAST development effort?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
An Auto Scaling group behind a load balancer removes the single point of failure without any code change, and Aurora Replicas offload the read-intensive queries, so both the availability and the performance failure modes are addressed by configuration rather than development.
A globally served application runs on one EC2 instance and does read-intensive work against RDS for MySQL. It becomes unresponsive under load and needs a manual restart, so reliability must improve with the least development effort.
Adding CloudFront in front of the existing instance. CloudFront only caches and accelerates content delivery, so the underlying single instance remains a single point of failure and the read load against RDS is unchanged, leaving the manual restart requirement unresolved.
Community Discussion (14 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Running the application on multiple EC2 instances in an Auto Scaling group behind a load balancer replaces the single instance that requires manual restarts and self-heals when an instance becomes unhealthy, with no application code changes. Replacing RDS for MySQL with Aurora and using Aurora Replicas for the read-intensive work distributes the read load that was saturating the database while preserving the same JDBC interface, which keeps development effort at essentially zero.Why the Other Options Are Wrong
A and C: CloudFront and Global Accelerator improve content delivery and global latency, but both keep the original single EC2 instance as the origin, so the single point of failure and the manual restart requirement remain. In C there is no compute solution at all. D: Migrating to Lambda requires re-architecting the application around functions and triggers, which is the highest development effort of the options, and RDS for MySQL read replicas still add replication lag for read-heavy access.Community Comment Notes
The community voted 79 to 1 for B. Commenters agreed that A and C sound plausible but add nothing to the compute availability problem, and one noted the ELB wording is loose but the intent is a load balancer in front of the Auto Scaling group.Official Reference
Related Analysis
Practice All SAP-C02 Questions
Access 85 questions with complete answers and detailed explanations.
View Full SAP-C02 Practice Test →