All jobs / Backend developer / Deployment Basics
Backend developer interview question · 0–1 years
You create a new storage bucket for user uploads. Who can read it by default, and what should you check?
The strongest answer
Nobody outside your account — buckets are private by default; check that public access stays blocked and grant access through the application's role or signed URLs, never by making the bucket public
Why it works
Right. Private by default, and keep it that way; a signed URL is how a user gets one file.
What a good answer covers
- Buckets are private by default.
- Keep public access blocked at the account level.
- Serve user files by signed URL or through a role.
- A public bucket of uploads is a data breach waiting.
Answers that fall short
- Close, but not the strongest: Everyone — buckets are public until you lock them
Modern defaults are private, but the check is worth doing because one policy line can open it. - Weak: Only the person who created it, forever
Access is by identity and policy, not by creator. - Red flag: It does not matter as long as the file names are hard to guess
Unguessable names are not access control; a leaked list exposes everything.
Who gets asked this
- Backend developer
- Full-stack developer
- DevOps / SRE / cloud
- Data engineer
- Cybersecurity
- Solutions / cloud architect
More Deployment Basics questions
- 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?
- Cloud is pay for what you use. What is the cost people forget most often?