Added
A financial services company is moving a latency-sensitive transaction service to two availability zones in one cloud region. Each zone will host identical application instances, and clients connect through a public endpoint. The service must continue serving traffic after an instance or zone failure, while avoiding manual endpoint changes during recovery. The application is stateless, and the team can tolerate brief connection resets but not prolonged downtime. A DNS-only failover design is proposed, but client resolvers may cache records beyond the configured TTL. Which design best meets the availability requirement?
A regional Layer 7 load balancer can probe backend health and route requests to healthy instances across zones without requiring clients to resolve a new endpoint. This fits the stateless application and avoids dependence on resolver cache expiry. DNS with a short TTL can still be cached longer than expected and offers no application-level health routing. Autoscaling replaces capacity but does not itself provide a stable, redundant endpoint. Separate load balancers require a DNS change during failure, which violates the recovery constraint.