Fixing false-positive health checks and database load with a simple health check and ElastiCache

Answer Correct answer: B, E — Point target group health check at a simple HTML page, verify full functionality with Route 53, and add ElastiCache to cut DB load and boost monitoring.

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.)

  1. Configure read replicas for Amazon RDS MySQL and use the single reader endpoint in the web application to reduce the load on the backend database tier.
  2. Configure the target group health check to point at a simple HTML page instead of a product catalog page and the Amazon Route 53 health check against the product page to evaluate full application functionality. Configure Amazon CloudWatch alarms to notify administrators when the site fails. Correct Answer
  3. Configure the target group health check to use a TCP check of the Amazon EC2 web server and the Amazon Route 53 health check against the product page to evaluate full application functionality. Configure Amazon CloudWatch alarms to notify administrators when the site fails.
  4. Configure an Amazon CloudWatch alarm for Amazon RDS with an action to recover a high-load, impaired RDS instance in the database tier.
  5. Configure an Amazon ElastiCache cluster and place it between the web application and RDS MySQL instances to reduce the load on the backend database tier. Correct Answer

Community Votes

BE
80%
AB
20%

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)

pangchn 👍 9 Selected: BE
My answer is a bit difference. It doesn't mentioned read-only scnerio so read replica in A may not able to help compare B and C, both pro and con. I lean to B from both the real world and in this particual question to bypass the database
Capt_Leonidas 👍 8 Selected: BE
https://www.examtopics.com/discussions/amazon/view/46826-exam-aws-certified-solutions-architect-professional-topic-1/
vip2 👍 1 Selected: BE
B and E works as expection. Due to web app is normal, A and C can not help CloudWatch alarm can not support so complicated action
michele_scar 👍 2 Selected: BE
When you talking about a product catalog page, you need to cache information (text, images) to leverage the load on the data tier. ElastiCache is the solution (or a CDN).
9f02c8d 👍 1
A & E is correct answer as the monitoring aspect is not part of the problem statement
red_panda 👍 3 Selected: AB
A and B are my answers. A instead of E only because we have no tips that indicate the necessity to have a caching systems. For example, it say "high load on database", but nothing about same record read more more time. So for me A and B
seetpt 👍 3 Selected: BE
BE for me
titi_r 👍 4 Selected: BE
B and E.
w3ap0nx 👍 5 Selected: BE
"for future growth" -> E (cache in front of the DB)
ovladan 👍 4 Selected: BE
B: Will improve web app D: Will improve database high load issue and query response times.
VerRi 👍 2 Selected: AB
TCP check is like a heartbeat check, too rough.
failexamonly 👍 2 Selected: AC
read replica to reduce load. tcp check to see if ec2 is reachable
AWSPro1234 👍 2
I agree with A and B .
Russs99 👍 3 Selected: A
A and B are my picks
Dgix 👍 1
By the way, ExamTopics, we get a 503 when submitting voting comments. Please change my previous submission to that type, specifying A and C.
Dgix 👍 2
First of all: the instances are terminated because the load on the DB is too high. A: Best way to reduce the load on the DB. It doesn't notify admins, though, which means we then need either B or C (D and E do not notify admins). B: Health checks do not burden the site as they are done relatively seldom, so trying to reduce load by using a page that's lighter on the DB is not very relevant. Notifies admins. C: TCP checks are lighter on the load than HTTP checks, which means the already slight overhead for health checks is reduced further than in B. Notifies admins. This is preferable to B, but both feel inconsequential. D: Recovery actions in this situation are out of scope. This alternative is there to confuse. E: An alternative to A, but it has operational overhead in that the application must be changed to use the cache. A is more straightforward. Thus A and C.
djangoUnchained 👍 3 Selected: AB
B. Health check is failing because the application cannot read from the DB, event though the EC2 instance is fine. As a result the ALB is terminating the EC2 instance unnecessarily.
CMMC 👍 1 Selected: AD
Configuring read replicas for Amazon RDS MySQL and using the single reader endpoint in the web application would help distribute the DB workload across multiple instances, and that can alleviate performance issues during high load. Prevent DB-related outages and improve overall application availability. Configuring a CloudWatch alarm for Amazon RDS with an action to recover a high-load, impaired RDS instance in the DB tier enables proactive monitoring and automated recovery in case of DB performance issues. Can trigger automated actions during high load to recover the instance, such as initiating a failover in the Multi-AZ deployment. Ensure that the DB tier remains stable and responsive, reducing the likelihood of application outages.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

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 →

← Back to SAP-C02 Study Guide