All jobs / Backend developer / Deployment Basics
Backend developer interview question · 0–1 years
What is the difference between a region and an availability zone?
The strongest answer
A region is a geographic area with several availability zones; each zone is one or more separate data centres with its own power and network, so spreading across zones survives a data-centre failure
Why it works
Right. The zone is the fault boundary you design around; the region is where your data lives.
What a good answer covers
- Region: a geography with multiple zones.
- Zone: isolated power, cooling and network.
- Spread across zones for availability.
- Spread across regions for disaster recovery.
Answers that fall short
- Close, but not the strongest: A region is the country and an availability zone is the city
Close in spirit but not the definition — zones are physically separate sites inside one region, not a city. - Weak: They are two names for the same thing
They are different, and the difference is the whole basis of high availability. - Red flag: A zone is a rack inside a region's single data centre
A rack shares the building's power and network; a zone has its own.
Who gets asked this
- Backend developer
- Full-stack developer
- DevOps / SRE / cloud
- Data engineer
- Cybersecurity
- Solutions / cloud architect
More Deployment Basics questions
- IaaS, PaaS, SaaS — what does each one leave to you?
- When would you use object storage rather than a block volume?
- You create a new storage bucket for user uploads. Who can read it by default, and what should you check?
- What is the difference between an IAM user and an IAM role?
- A security group allows inbound port 443. Do you also need an outbound rule for the responses?
- What is a VPC, in one sentence?
- Why put a load balancer in front of two web servers instead of pointing DNS at one?
- What does autoscaling actually do, and what does it not do?