SaveMyCert
Log in
5 of 5 free questions left today·for unlimited practice
Design Resilient Architectures

AWS High Availability and Disaster Recovery: RTO, RPO, and the Four DR Levels

23 min readSAA-C03 · Design Resilient ArchitecturesUpdated

Task 2.2 covers how you keep a workload running when things fail: distinguishing high availability from fault tolerance, hunting single points of failure, building Multi-AZ architectures with load balancers and RDS, failing over across Regions with Route 53, and — the exam's favorite — selecting among the four disaster recovery strategies using RTO and RPO. It sits inside Design Resilient Architectures, worth 26% of SAA-C03 scored content, and DR strategy selection is one of the most reliably repeated question shapes on the exam. The questions hand you a recovery time objective, a recovery point objective, and a cost qualifier, then list backup and restore, pilot light, warm standby, and multi-site active-active as the options — and the numbers pick the answer for you. By the end of this lesson you will read RTO and RPO precisely, map any failure mode to the mechanism that survives it, and choose the cheapest strategy that still meets the objectives.

What you’ll learn
  • Distinguish high availability, fault tolerance, and disaster recovery, and match each to the exam's wording
  • Identify single points of failure in a scenario — single instances, single AZs, single NAT gateways, single Regions
  • Design Multi-AZ architectures with ELB, Auto Scaling, RDS Multi-AZ, read replicas, and RDS Proxy
  • Define RTO and RPO precisely and use them to select among the four DR strategies at the lowest sufficient cost
  • Apply Route 53 health checks and routing policies, immutable blue-green deployments, service quotas, and X-Ray to availability design

High availability vs fault tolerance: two different promises

The exam uses these terms precisely, and so should you. High availability means the system recovers from failures quickly enough to meet its availability target — brief interruption or degradation is acceptable. An Auto Scaling group replacing a failed instance in a few minutes, or RDS failing over to its standby with a short pause, is high availability: users may notice a blip, but the workload comes back without human intervention. Fault tolerance is the stronger promise: the system keeps operating with no interruption at all when a component fails, because redundant components are already running in active parallel and absorbing the load the moment one dies. Fault tolerance always costs more, because you pay for the redundancy continuously whether or not anything fails.

Disaster recovery is the third concept, and it is different in kind: HA and fault tolerance handle component failures inside a running architecture, while DR is the plan for when the architecture itself is lost — typically a Region-scale event — and the workload must be restored somewhere else. HA is architecture; DR is strategy plus rehearsed process.

The reason the distinction matters on the exam is wording. A stem that says the application "must remain available" or "must recover automatically" is asking for high availability — Multi-AZ, Auto Scaling, load balancing. A stem that says users "must experience no interruption" or the system "cannot tolerate any downtime or data loss" is asking for fault tolerance — active-active redundancy, synchronous replication, capacity already running. Choosing the fault-tolerant design when only HA was required fails the MOST cost-effective qualifier; choosing the merely highly available design when the stem demanded zero interruption fails the requirement itself. Read the promise the scenario is making to its users before you look at the options — it is usually stated in one sentence, and it selects between answers that are otherwise both technically correct.

Hunting single points of failure

Availability design starts by finding every component whose failure takes the workload down. SAA-C03 hides these in the setup sentences, and each has a standard fix. A single EC2 instance is the obvious one: put it in an Auto Scaling group across multiple AZs behind a load balancer. Even an application that cannot scale horizontally benefits from an ASG with minimum and maximum size of one — the group's health checks replace a failed instance automatically, turning a manual recovery into self-healing.

A single Availability Zone is subtler. Subnets are AZ-scoped, so anything deployed into one subnet — an entire ASG, a database, an EFS mount target — lives or dies with that AZ. The fix is always the same: spread across at least two AZs. Watch especially for the single NAT gateway: a NAT gateway is a highly available managed service within its AZ, so if every private subnet routes outbound traffic through one NAT gateway and that AZ fails, instances in the surviving AZs lose internet access too. The resilient design is one NAT gateway per AZ, with each private subnet's route table pointing at the gateway in its own AZ — this also avoids cross-AZ data charges.

State on the instance is the failure multiplier: if sessions live in a web server's memory or files sit on its disk, losing the instance loses data even when the ASG replaces it. Move sessions to ElastiCache or DynamoDB and files to S3 or EFS, and instances become disposable. And a single Region is only a single point of failure when the requirements say so — if the stem states the workload must survive a Region outage, you are in DR territory, covered below.

This is also the playbook for the exam's "improve the reliability of a legacy application" scenario, where the app cannot be modified: front it with an Application Load Balancer performing health checks, wrap the instance in an Auto Scaling group for self-healing, externalize whatever state can be moved, and let the load balancer stop routing to an unhealthy node. The exam rewards the option that removes the named SPOF with the least change — not the one that re-architects everything.

Multi-AZ building blocks: ELB, Auto Scaling, RDS Multi-AZ, and RDS Proxy

The standard highly available tier is an Elastic Load Balancer distributing traffic to an Auto Scaling group that spans at least two AZs. The load balancer health-checks every target and stops routing to failures; the ASG replaces failed instances and rebalances across zones. Together they survive both instance failure and AZ failure with no human involvement — this pairing is the assumed baseline in nearly every Task 2.2 answer.

The database tier is where the exam gets precise, and where it sets its favorite trap. RDS Multi-AZ (the classic instance deployment) maintains a standby replica in a different AZ with synchronous replication. When the primary fails — or its AZ does — RDS automatically fails over by repointing the instance's DNS endpoint at the standby, typically within a minute or two, with no data loss because replication was synchronous. The trap: the Multi-AZ standby is not readable. It serves no traffic at all; it exists purely as a failover target. Any answer that offloads report queries to "the Multi-AZ standby" is wrong by definition. (Know at recognition level that the newer Multi-AZ DB cluster deployment does provide two readable standbys — but unless a scenario names it, assume the classic non-readable standby.)

Read replicas are the opposite tool: asynchronous replication to instances that are readable, in the same Region or cross-Region. They exist for read scaling and for DR — a cross-Region replica can be promoted to a standalone primary if the home Region fails — but promotion is a manual or scripted action, not automatic failover, and asynchronous replication means the replica can lag. The decision rule: automatic failover and zero data loss inside a Region = Multi-AZ; scaling reads or seeding another Region = read replicas; a scenario needing both gets both. Aurora blurs the line — its storage is replicated across three AZs and its replicas are both readable and failover targets — so if the stem says Aurora, replicas do double duty.

The final building block is RDS Proxy: a managed database proxy that pools and shares connections. It matters for availability twice over. During a failover it holds application connections open and routes them to the new primary as soon as it is ready — cutting the effective failover time and sparing the application a reconnection storm. And for serverless callers, it prevents a burst of Lambda invocations from exhausting the database's connection limit. Trigger phrases: "reduce failover time," "applications experience errors during failover," "Lambda functions overwhelm database connections."

Route 53: health checks and routing for availability

Load balancers distribute within a Region; Route 53 is how you steer traffic above the Region, which makes it the failover mechanism for multi-Region designs. Its availability role rests on health checks: Route 53 can probe an endpoint from multiple checkers around the world, watch a CloudWatch alarm, or combine other checks into a calculated health check, and any routing policy can be conditioned on the result — unhealthy records simply stop being returned.

Failover routing is the policy built for availability: a primary record serves all traffic while healthy, and a secondary record takes over when the primary's health check fails. It is the standard active-passive pattern — primary Region to DR Region, or an application endpoint failing over to a static "we'll be back" page hosted on S3 and CloudFront. When a stem says traffic must "automatically redirect to the standby Region when the primary becomes unavailable," failover routing with health checks is the answer.

Know the other policies at decision level, because they appear as distractors and occasionally as answers. Weighted routing splits traffic by assigned percentages — its availability role is gradual traffic shifting during blue-green deployments and canary releases, and it can send a small fraction to a new stack while watching for errors. Latency-based routing sends each user to the Region answering fastest — a performance policy, though paired with health checks it also skips an unhealthy Region, which is how active-active multi-Region architectures route. Geolocation routes by the user's location, chosen for compliance or content localization rather than availability. The elimination rule: if the requirement is "send users to the closest/fastest Region," latency; "send a percentage," weighted; "survive a Region failure with a passive standby," failover.

One design note the exam rewards: DNS failover depends on clients re-resolving, so record TTLs matter — a long TTL delays failover no matter how fast the health check trips. The exam tests Route 53 availability as the glue in DR scenarios: after you pick the DR strategy in the next sections, Route 53 failover or weighted routing is almost always the mechanism that actually moves the users.

RTO and RPO: the two numbers that choose your strategy

Every disaster recovery decision on this exam reduces to two objectives, and you must hold their definitions precisely. Recovery time objective (RTO) is the maximum acceptable time between the disruption and the restoration of service — how long the business can be down. Recovery point objective (RPO) is the maximum acceptable data loss, measured as time: how far back the most recent recoverable copy of the data may be when disaster strikes. An RPO of one hour means losing up to the last hour of writes is tolerable; an RPO near zero means data must be replicated continuously.

The two numbers drive different levers, which is why the exam quotes both. RPO is about data movement: it dictates how often data leaves the primary site. Nightly backups give an RPO measured in hours (up to a day); continuous asynchronous replication gives an RPO of seconds to minutes; synchronous replication gives an RPO of zero within its scope. RTO is about standing infrastructure: it dictates how much of the recovery environment already exists before the disaster. If everything must be provisioned from scratch, restoration takes hours; if a full environment is already serving traffic, restoration is near-instant. Tightening either number costs money — more frequent replication, more idle infrastructure — which is why cost qualifiers and RTO/RPO figures always appear together.

Your exam method: extract the two numbers from the stem first, before reading the options. "Must be restored within four hours with no more than 15 minutes of data loss" is RTO = 4 hours, RPO = 15 minutes — and immediately you know nightly backups fail the RPO, so any backup-and-restore option with daily snapshots is eliminated regardless of how cheap it is. Then apply the golden rule: choose the cheapest strategy whose RTO and RPO both satisfy the requirement. Over-delivering — picking active-active when warm standby meets the numbers — is exactly what the MOST cost-effective qualifier is written to punish, and under-delivering fails outright. The four strategies in the next section are the ladder those numbers select from.

The four DR strategies: a ladder of cost against recovery speed

AWS frames disaster recovery as four strategies on a spectrum. Each step up runs more infrastructure in the recovery Region, buys a faster RTO and tighter RPO, and costs more. Learn them as a ladder, because exam questions are answered by finding the lowest rung that meets the stated numbers.

Backup and restore keeps only data in the recovery Region: backups and snapshots are copied cross-Region, and after a disaster you provision the entire stack from scratch — far faster and more repeatably if infrastructure is defined as code. Nothing runs day to day, so it is the cheapest strategy, but RTO is measured in hours and RPO is set by backup frequency. Pilot light keeps the core alive: data is continuously replicated to a live database or storage layer in the recovery Region, and minimal or no compute runs until needed — servers exist as images and templates, switched off. Because the data is already there and current, RPO drops to seconds or minutes, and RTO falls to tens of minutes — the time to start and scale compute around the warm core. Warm standby runs a complete, functional, scaled-down copy of the whole workload in the recovery Region, continuously receiving replicated data and able to serve (reduced) traffic immediately; failover is scaling it to production capacity and shifting traffic, for an RTO in minutes. Multi-site active-active runs the workload at full capacity in multiple Regions simultaneously, with users served from both and data replicated between them; a Region failure just removes one serving location, for RTO and RPO near zero to seconds — at close to double the infrastructure cost.

StrategyWhat runs in the DR RegionRTO / RPO classRelative costTrigger phrases
Backup and restoreNothing — only backups/snapshots stored; stack provisioned after the disasterHours / hours (backup frequency)$"lowest cost," "can tolerate several hours of downtime," "restore from backups"
Pilot lightLive, continuously replicated data layer; compute off or minimal, started on failoverTens of minutes / seconds-minutes$$"core services replicated," "minimize idle infrastructure," "RTO under an hour"
Warm standbyFull workload running at reduced capacity, serving replicated data; scaled up on failoverMinutes / seconds$$$"scaled-down copy always running," "fail over in minutes," "immediately handle some traffic"
Multi-site active-activeFull workload at production capacity, actively serving users alongside the primaryNear zero / near zero$$$$"no downtime," "near-zero RPO," "users served from both Regions"

Two boundary cases trip candidates. Pilot light vs warm standby: in pilot light the application cannot serve requests until compute is started; in warm standby it already can, just not at full load. And Multi-AZ is not on this ladder at all — it is in-Region high availability, not disaster recovery; when the stem says "survive a Region failure," a Multi-AZ answer is an automatic elimination.

Backup strategies: cross-Region for disasters, versioning for mistakes

Every DR strategy rests on data protection, and the exam distinguishes the tools by which failure each defends against. AWS Backup is the umbrella: centralized backup plans that schedule and manage backups across services — EBS, RDS, DynamoDB, EFS, S3 and more — with policy-based retention, cross-Region copy and cross-account copy. When a scenario asks to "centrally manage and automate backups across multiple services or accounts," AWS Backup is the answer over per-service scripting; when it asks for backups to survive account compromise or ransomware, the cross-account copy into an isolated account (with vault protections) is the pattern.

Service-level mechanics you should hold: EBS snapshots are incremental and stored in S3-backed infrastructure, can be copied cross-Region, and an AMI captures a full launchable machine image — the unit pilot light keeps on the shelf. RDS automated backups enable point-in-time recovery within the retention window, while manual snapshots persist until deleted; both can be copied or (for snapshots) shared cross-Region. S3 replicates with Cross-Region Replication (CRR) — new objects copied asynchronously to a bucket in another Region.

Here is the distinction the exam loves: replication is for disasters; versioning is for mistakes. CRR protects against a Region becoming unavailable, but it faithfully replicates what happens at the source — it does not protect you from yourself. S3 Versioning is the defense against accidental deletion and overwrite: every version is preserved, a delete merely writes a delete marker, and recovery is removing the marker or restoring a prior version. A scenario about "a user accidentally deleted objects" is answered by versioning (with MFA Delete for the stronger variant), not by replication — a replicated delete is just a delete in two Regions. Conversely, "data must be available in another Region if this one fails" is CRR, and versioning alone does nothing for it. The two compose: versioning is in fact required on both buckets for CRR.

On the exam, backup questions usually hide the real requirement in one phrase — "across all accounts in the organization" (AWS Backup cross-account), "recover to any point in the last 7 days" (RDS PITR), "protect against accidental deletion" (versioning) — and the wrong options defend against a different failure than the one named.

Operational readiness: immutable blue-green, service quotas, and X-Ray

Three operational practices round out the task statement, and each is a small, reliable exam win. First, immutable infrastructure: servers are never patched or modified in place — every change ships as a new artifact (a new AMI, a new container image) deployed as new instances, and the old ones are discarded. Configuration drift disappears, every environment is reproducible from code, and rollback becomes redeploying the previous artifact rather than un-editing a live server. Its natural deployment pattern is blue-green: stand up the new (green) environment alongside the old (blue), shift traffic — via Route 53 weighted records or a load balancer — and keep blue running until green proves healthy. Blue-green is effectively a rehearsed failover: if the release fails, shifting traffic back to blue is instant, which is why the exam files it under failover strategies as well as deployments.

Second, service quotas and throttling as an availability input. Quotas are per-account, per-Region — and that second word is the trap: a warm standby or pilot light environment that must scale to production size during a failover will be throttled by the recovery Region's default quotas unless you requested quota increases there ahead of time. Capacity planning for DR means planning quotas in the DR Region, not just the primary. Relatedly, when any AWS API throttles a caller, the correct client behavior is retries with exponential backoff and jitter — hammering a throttled API in a tight loop makes the brownout worse. A scenario about "ThrottlingException errors during a traffic surge" wants backoff (and, for the long term, a quota increase), not bigger instances.

Third, workload visibility with AWS X-Ray. In a distributed architecture, availability problems surface as symptoms far from their cause — the API is slow because a downstream dependency three hops away is erroring. X-Ray traces individual requests end to end across API Gateway, Lambda, ECS, and instrumented services, producing a service map that shows exactly which component adds the latency or errors. When a stem says a microservices application is intermittently slow and asks how to "identify which service causes the bottleneck," X-Ray is the answer — CloudWatch tells you that something is wrong per service; X-Ray shows where in the request path it breaks.

Collected into one view, here is the failure-to-mechanism map:

Failure modeMechanism that survives it
Instance failsAuto Scaling group health checks replace it; ELB stops routing to it
AZ failsASG and ELB spanning multiple AZs; RDS Multi-AZ failover; one NAT gateway per AZ
Database primary failsRDS Multi-AZ automatic failover; RDS Proxy preserves connections through it
Region failsDR strategy (ladder above) + Route 53 failover routing on health checks
Bad deploymentImmutable blue-green: shift traffic back to the previous environment
Accidental deletionS3 Versioning, backups, point-in-time recovery — not replication
Throttling during surge or failoverExponential backoff with jitter; quota increases raised in advance in the DR Region
Unknown source of latency/errorsX-Ray tracing and the service map

Worked scenarios: reasoning through Task 2.2 questions

Scenario 1 — DR strategy selection by the numbers. A company runs a business-critical application in one Region and must prepare for a Region-wide outage. Requirements: RTO of 30 minutes, RPO of 5 minutes, and the solution must be as cost-effective as possible. Options: (A) nightly backups copied to another Region, with infrastructure recreated from CloudFormation after a disaster; (B) continuously replicate the database to the second Region and keep templates and AMIs ready to launch the application tier on failover; (C) run a scaled-down but fully functional copy of the workload in the second Region, scaling it up on failover; (D) run the workload at full capacity in both Regions behind latency-based routing.

Extract the numbers first: RPO 5 minutes kills option A immediately — nightly backups mean up to 24 hours of data loss, and rebuilding a full stack also blows the 30-minute RTO. Both B (pilot light) and C (warm standby) meet RPO through continuous replication; the question is RTO. Pilot light recovers in tens of minutes — launching pre-built AMIs behind existing templates fits inside 30 minutes — and warm standby recovers in minutes, comfortably inside it too. Now the qualifier decides: both meet the numbers, and pilot light runs less idle infrastructure, so B is correct. D also meets everything but doubles the run cost — the classic over-delivery trap under a cost qualifier. Had the RTO been "a few minutes," pilot light would fail and C would win; had it said "near-zero downtime and data loss," only D survives. Same ladder, different rung — the numbers choose.

Scenario 2 — Multi-AZ vs read replicas. An application uses RDS for MySQL. It must remain available if an Availability Zone fails, with no data loss and no manual intervention, and the team also wants to offload heavy reporting queries from the primary. Options: (A) add a read replica in another AZ and promote it if the primary fails; (B) enable Multi-AZ and run reporting queries against the standby; (C) enable Multi-AZ for failover and add a read replica for reporting; (D) snapshot hourly and restore into another AZ on failure.

Eliminate D: restoring from hourly snapshots is manual, slow, and loses up to an hour of data — fails all three requirements. Eliminate A: read replicas replicate asynchronously (possible data loss) and promotion is a manual step (intervention), so a replica alone is not an availability mechanism. Eliminate B on the trap this lesson flagged: the Multi-AZ standby is not readable — you cannot point reporting at it. C is correct: Multi-AZ delivers synchronous replication and automatic failover (no data loss, no intervention), and the read replica absorbs reporting. Two requirements, two tools — the exam frequently writes questions where each half of the answer handles one stated need, and the wrong options try to stretch one tool over both.

Tip. SAA-C03 tests this task with numbers-first scenarios: an RTO, an RPO, and a cost qualifier that together select exactly one of the four DR strategies — expect at least one question where two strategies meet the objectives and MOST cost-effective picks the cheaper rung. Classic shapes include the Multi-AZ vs read-replica choice (automatic synchronous failover vs readable asynchronous scaling), the Region-failover design built from Route 53 health checks plus failover routing, and the single-point-of-failure hunt where the flaw — one instance, one AZ, one NAT gateway, state on the server — is buried in the setup sentences. Trap patterns to expect: reading from the non-readable Multi-AZ standby, offering Multi-AZ as the answer to a Region-failure requirement, using cross-Region replication to defend against accidental deletion (that is versioning's job), and jumping to active-active when warm standby meets the stated numbers. When two options both satisfy the availability requirement, the one that recovers automatically, loses no data within the stated RPO, and runs the least idle infrastructure wins.

Key takeaways
  • High availability recovers quickly and may blip; fault tolerance never interrupts — "no interruption" or "no downtime" in the stem demands the costlier active-redundancy design.
  • RPO is the data you can afford to lose, RTO is the downtime you can afford — extract both numbers before reading the options, then pick the cheapest strategy that meets them.
  • The DR ladder trades cost for speed: backup and restore (hours) → pilot light (tens of minutes) → warm standby (minutes) → multi-site active-active (near zero).
  • Pilot light replicates the data layer live with compute off; warm standby already serves at reduced capacity — "can it handle requests right now" is the boundary.
  • RDS Multi-AZ is synchronous, automatic, in-Region availability with a standby that is NOT readable; read replicas are asynchronous, readable, and promoted manually for read scaling or cross-Region DR.
  • Route 53 failover routing plus health checks moves users between Regions; weighted routing is the blue-green and canary lever.
  • SPOFs hide in the setup: single instance (ASG + ELB), single AZ (span two), single NAT gateway (one per AZ), state on the instance (move it out).
  • Raise service quotas in the recovery Region before you need failover capacity, and answer throttling errors with exponential backoff and jitter.

Frequently asked questions

What is the difference between RTO and RPO?

RTO (recovery time objective) is the maximum acceptable time between a disruption and the restoration of service — how long you can be down. RPO (recovery point objective) is the maximum acceptable data loss expressed as time — how old the most recent recoverable copy of your data may be. They drive different design levers: RPO dictates how frequently data is backed up or replicated (nightly backups give an RPO of hours; continuous replication gives seconds), while RTO dictates how much infrastructure is already standing in the recovery site. Exam questions quote both numbers because together they select exactly one disaster recovery strategy.

What is the difference between pilot light and warm standby?

Both continuously replicate data to the recovery Region; the difference is what compute is running. In pilot light, only the core data layer is live — application servers exist as AMIs and templates but are switched off, so the environment cannot serve a single request until you launch compute, giving an RTO of tens of minutes. In warm standby, a complete, functional, scaled-down copy of the whole workload is already running and could serve reduced traffic immediately; failover is scaling up and shifting traffic, giving an RTO of minutes. The test: if the recovery environment can handle requests right now, it is warm standby; if not, pilot light.

Is RDS Multi-AZ a disaster recovery solution?

No — Multi-AZ is high availability within a single Region, not disaster recovery. It keeps a synchronously replicated standby in a different Availability Zone and fails over to it automatically, which protects against instance and AZ failures with no data loss. But both instances live in the same Region, so a Region-wide event takes out both. For DR you need data in another Region: cross-Region read replicas (promoted on failover), cross-Region snapshot or backup copies, or Aurora Global Database. On the exam, if the requirement says "survive a Region failure," any Multi-AZ-only answer is eliminated immediately.

What is the difference between high availability and fault tolerance?

High availability means the system recovers from failures quickly and automatically, accepting a brief interruption — an Auto Scaling group replacing a dead instance or RDS failing over to its standby within minutes. Fault tolerance is stronger: redundant components run in active parallel so a failure causes no interruption at all — users never notice. Fault tolerance costs more because you continuously pay for redundancy that only matters during failures. The exam distinguishes them by wording: "must remain available" or "recover automatically" points to HA designs, while "no interruption," "no downtime," or "cannot tolerate any data loss" demands the fault-tolerant, active-active design.

Which AWS disaster recovery strategy is the cheapest?

Backup and restore. Nothing runs in the recovery Region day to day — you only pay to store backups and snapshots copied cross-Region, and you provision the whole stack after a disaster, ideally from infrastructure-as-code templates. The trade-off is the slowest recovery: RTO is measured in hours (rebuild time) and RPO equals your backup frequency, so nightly backups can mean up to a day of lost data. It is the right answer when the scenario emphasizes lowest cost and can tolerate hours of downtime; the moment the stem quotes an RPO of minutes or an RTO under an hour, you must climb to pilot light or higher.

Do I need multi-Region for high availability in AWS?

Usually not. Availability Zones are isolated data center groups engineered so that common failures do not cross them, and a Multi-AZ design — a load balancer and Auto Scaling group across two or more AZs, RDS Multi-AZ for the database — meets most availability requirements at a fraction of multi-Region complexity. Multi-Region enters when the requirement explicitly demands surviving a Region-wide outage, meeting near-zero RTO/RPO objectives, or serving global users at low latency. On cost-qualified exam questions, choosing multi-Region when Multi-AZ satisfies the stated requirement is the over-engineering trap the MOST cost-effective wording exists to catch.

What does RDS Proxy do and when should I use it?

RDS Proxy is a fully managed database proxy that sits between your application and RDS or Aurora, pooling and reusing database connections. It improves availability in two ways: during a failover it holds application connections open and routes them to the new primary as soon as it is ready, significantly reducing effective failover time and eliminating the reconnection storm; and it protects the database from connection exhaustion when serverless callers scale suddenly — thousands of concurrent Lambda invocations share the proxy's pooled connections instead of each opening their own. Choose it when a scenario mentions errors during failover, too many connections, or Lambda functions accessing a relational database.

Test yourself on this topic
Practice questions with full explanations.
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.