Quick revision
The short answer
The single points of failure are the PostgreSQL server, the load balancer, the single availability zone, Redis if the site needs it, and the cron VM. In order of importance: add a standby database in another zone with automated failover and tested backups, use a managed multi-zone load balancer, spread every tier across at least two zones, give Redis a replica or make the app work without it, and run scheduled jobs on the redundant servers with a lock. Hidden ones such as one DNS provider or one admin's credentials count too.
What to remember
In this answer, we saw that the site's single points of failure are the database, the load balancer, the single zone, Redis if it is required, and the cron VM. We remove them in order of impact: a cross-zone standby database with automated failover and restored backups, a managed multi-zone balancer, every tier spread across zones, Redis replication or graceful degradation, and locked or managed scheduled jobs, while also covering hidden ones such as DNS, certificates and credentials.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
The single points of failure are the PostgreSQL server, the load balancer, the single availability zone, Redis if the site needs it, and the cron VM. In order of importance: add a standby database in another zone with automated failover and tested backups, use a managed multi-zone load balancer, spread every tier across at least two zones, give Redis a replica or make the app work without it, and run scheduled jobs on the redundant servers with a lock. Hidden ones such as one DNS provider or one admin's credentials count too.
Why this question is asked
A single point of failure is easy to define and surprisingly easy to miss, because systems are often redundant in the obvious place, two app servers here, and single everywhere else. Interviewers ask this to see whether we can walk through an architecture tier by tier, rank the risks by impact and likelihood, and choose fixes that fit a small site's budget. In this answer, we will recap the idea of a single point of failure, map the site's components, then remove each one in order of importance, and finish with the less visible ones that often cause the longest outages.
1A Quick Recap of Single Points of Failure
A single point of failure, or SPOF, is any component whose failure alone stops the whole system. Redundancy removes it by having more than one of the component, with a way to switch over automatically or quickly when one fails. Redundancy that needs a person to rebuild a server at 3 a.m. still leaves a long outage, so automatic failover matters as much as the spare.
We rank SPOFs by two things: how much of the system stops when the component fails, and how long recovery takes. A database that holds every order and takes hours to rebuild ranks above a cache that can be restarted in a minute.
| Component | Impact if it fails | Fix |
|---|---|---|
| PostgreSQL server | site down, data at risk, hours to rebuild | standby in another zone, automated failover, tested backups |
| Load balancer | site unreachable | managed multi-zone balancer, or a redundant pair |
| Single availability zone | everything down in a zone outage | spread all tiers over two or more zones |
| Redis | slow or down if required | replica with failover, or degrade gracefully |
| Cron VM | jobs stop, often unnoticed | jobs on app servers with a lock, or a managed scheduler |
| Two app servers | none: already redundant | keep them in different zones |
2The Database Comes First
The database is the most serious SPOF because it holds the state of the business, everything depends on it, and rebuilding it from a backup can take hours and lose recent data. The fix is a standby replica in another availability zone, kept up to date by streaming replication, with automated failover: a managed service such as Amazon RDS or Cloud SQL with a multi-zone option, or a tool such as Patroni for self-managed PostgreSQL. Applications connect through an endpoint that moves to the new primary on failover.
A standby protects against a server or zone failure, but not against a bad migration or an accidental DELETE, which replicate instantly. That is what backups and point-in-time recovery are for, and a backup only counts once we have restored it successfully, ideally on a schedule.
3The Load Balancer and the Zone
One load balancer is a single front door. A managed cloud load balancer is redundant across zones by design and is the simplest fix. On our own hardware we would run a pair with a floating virtual IP, using a protocol such as VRRP through keepalived, so the standby takes over the address within seconds.
The zone itself is a SPOF that is easy to forget because it is invisible. A zone can lose power or network, and when it does, two app servers in the same zone fail together. We spread the app servers, the database standby and the Redis replica across at least two zones, so a zone outage costs capacity but not the site. The two app servers then also need enough headroom that one can carry the load while the other's zone is down.
- DNShealth-checked records
- Managed load balancerspans zones A and B
- App serversone or more per zone, stateless
- Redis primary and replicazone A and zone B, automatic failover
- PostgreSQL primary and standbyzone A and zone B, automated failover, tested backups
5 layers, from the top down. Step through them one at a time.
4Redis and the Cron Job
Whether Redis is a SPOF depends on how the site uses it. If it is only a cache, the better fix may be in the application: on a Redis timeout, fall back to the database with a short timeout and a circuit breaker, accepting slower pages instead of errors. If Redis holds sessions or carts, the site cannot work without it, and it needs a replica with automatic failover, for example Redis Sentinel or a managed Redis or Valkey service with multi-zone replication.
The nightly cron job on one VM is the classic hidden SPOF: when the VM dies, nothing alerts, and we discover weeks later that invoices or cleanups stopped. We can run the job on the redundant app servers with a distributed lock, such as ShedLock backed by the database, so exactly one runs, or move it to a managed scheduler. Either way, we monitor that each run happened and succeeded.
5The Less Visible Ones
Some of the longest outages come from components nobody drew on the diagram. One DNS provider can take the domain offline. A single manual process for renewing TLS certificates fails when its owner is away and the certificate expires. One admin holding the only cloud root credentials can block recovery entirely. A single deploy pipeline or a single region for backups are others.
The fixes are mostly process: automated certificate renewal, such as ACME with Let's Encrypt or the cloud provider's certificate manager, two people with tested emergency access, backups copied to another region, and, for a larger site, a second DNS provider. Writing these down next to the infrastructure SPOFs keeps them from being forgotten.
6Follow-up questions
What is N+1 redundancy, and is two app servers N+1 here?
N+1 means we have N units needed to carry peak load plus one spare, so losing any one unit still leaves enough capacity. Two app servers are N+1 only if one server alone can handle peak traffic. If peak needs both, it is N+0 for capacity: losing one leaves the site up but overloaded, which can look like an outage. We check by load testing one server at peak traffic, and if it cannot cope, we add a third or larger instances.
Why not fix the cheapest SPOFs first?
Because the order should follow impact and recovery time. The database failure is the one that can lose data and take hours, so even though it is the most expensive fix, it gives the most protection. Cheap fixes, like the cron lock, can happen in parallel, but should not delay the database standby.
Does a read replica count as a standby?
Only if it can be promoted and the application can be pointed at it quickly. A read replica that lags, sits in the same zone, or needs manual steps to promote gives much less protection than a standby with automated failover.
7Conclusion
In this answer, we saw that the site's single points of failure are the database, the load balancer, the single zone, Redis if it is required, and the cron VM. We remove them in order of impact: a cross-zone standby database with automated failover and restored backups, a managed multi-zone balancer, every tier spread across zones, Redis replication or graceful degradation, and locked or managed scheduled jobs, while also covering hidden ones such as DNS, certificates and credentials.
Open with
I would rank them by impact and recovery time. The PostgreSQL server comes first: it holds all the business data and rebuilding it takes hours, so I would add a standby in another zone with automated failover, through a managed multi-zone database or Patroni, plus backups with point-in-time recovery that we actually restore regularly.
Then, if they want more
Next is the load balancer, the single front door; a managed cloud balancer spans zones, or on our own hardware a pair with a floating IP.
Then the zone itself: today one zone outage takes everything down, so app servers, database standby and Redis replica should be spread across at least two zones, with enough headroom that one zone can carry the load.
Redis is a SPOF only if the site cannot work without it; if it is a cache, I would make the app fall back to the database, and if it holds sessions, add a replica with automatic failover.
The cron VM is a quiet SPOF; I would run the job on the app servers with ShedLock or a managed scheduler and alert if a run is missed. Finally I would check the invisible ones: DNS, certificate renewal and single-person credentials.
About this answer
- Last updated
- 13 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Identify the single points of failure and say how you would remove each, starting with...": https://scrivio-interview-library.netlify.app/architecture/sd-fundamentals/385f5d7cd9/