Fixing false-positive health checks and database load with a simple health check and ElastiCache
A public retail web application uses an Application Load Balancer (ALB) in front of Amazon EC2 instances running across multiple Availability Zones (AZs) in a Region backed by an Amazon RDS MySQL Multi-AZ deployment. Target group health checks are configured to use HTTP and pointed at the product catalog page. Auto Scaling is configured to maintain the web fleet size based on the ALB health check. Recently, the application experienced an outage. Auto Scaling continuously replaced the instances during the outage. A subsequent investigation determined that the web server metrics were within the normal range, but the database tier was experiencing high load, resulting in severely elevated query response times. Which of the following changes together would remediate these issues while improving monitoring capabilities for the availability and functionality of the entire application stack for future growth? (Choose two.)
Community Votes
80% of anonymous learners picked answer BE. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
A health check must reflect instance health, not backend database health; decoupling it from the DB with a simple page prevents needless instance replacement, while ElastiCache offloads the database tier.
An ALB health check pointed at a DB-dependent product page caused Auto Scaling to replace healthy web instances during a database slowdown. Pointing the target group health check at a simple HTML page while using Route 53 to verify full functionality, plus adding ElastiCache to reduce database load, remediates both the false replacements and the DB bottleneck and improves monitoring.
Relying on read replicas alone (Option A) — the root cause was a health-check false positive causing instance churn, not purely read scaling; the health-check redesign is essential.
Community Discussion (18 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option B changes the target group health check to a simple HTML page (so a slow database no longer fails web-instance health and triggers replacement) while a Route 53 health check against the product page monitors true end-to-end functionality, with CloudWatch alarms for notification. Option E adds ElastiCache between the web tier and RDS, reducing database load during spikes.Why the Other Options Are Wrong
Option A (read replicas) addresses read scaling but not the false-positive health check causing instance churn. Option C's TCP check is weaker than a simple HTTP page for instance health. Option D's RDS recovery alarm does not reduce load or fix the health-check logic.Community Comment Notes
pangchn (likes 9) selects BE, noting read replicas may not help a non-read-only scenario and that caching reduces data-tier load. michele_scar notes a product catalog benefits from caching. The vote is BE (70) over AB (17).Official Reference
Related Analysis
Practice All SAP-C02 Questions
Access 85 questions with complete answers and detailed explanations.
View Full SAP-C02 Practice Test →