All jobs / Backend developer / Deployment Basics
Backend developer interview question · 0–1 years
When would you use object storage rather than a block volume?
The strongest answer
For files you read and write whole over HTTP — uploads, backups, static assets, data-lake files — because object storage is durable, cheap and shared, while a block volume is a disk attached to one machine
Why it works
Right. Whole-object access, shared, durable and cheap; a disk is for a filesystem or a database.
What a good answer covers
- Object: whole files over HTTP, shared, cheap, durable.
- Block: a disk for one machine's filesystem or database.
- Pick by access pattern, not by speed.
- Static assets and backups belong in object storage.
Answers that fall short
- Close, but not the strongest: Object storage is always faster, so always
It is not faster for random access — a database needs a block volume. - Weak: Never — a disk is simpler
A disk belongs to one machine; the moment two services need the file, object storage is simpler. - Red flag: Object storage is only for images
It holds any bytes; images are just the common example.
Who gets asked this
- Backend developer
- Full-stack developer
- DevOps / SRE / cloud
- Data engineer
- Cybersecurity
- Solutions / cloud architect
More Deployment Basics questions
- 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?
- Why choose a managed database service over running the database yourself on a VM?
- What is a cold start in a serverless function?