All jobs / Backend developer / Security
Backend developer interview question · 5+ years
The interviewer asks: “A customer requires their data stay in the EU. What do you actually implement?” Strongest answer?
The strongest answer
Store and process that tenant in an EU region: database, object storage, logs, backups, and support tools. I don't silently replicate to another region for “DR convenience,” and I document what subprocessors see.
Why it works
Exactly. Residency is about where bits live and who can read them — including replicas, snapshots and observability. Encryption helps confidentiality; it doesn't move the jurisdiction.
What a good answer covers
- Residency includes DB, backups, logs.
- No silent cross-region copies.
- Encryption ≠ a region move.
- Don't advertise a flag you didn't build.
Answers that fall short
- Close, but not the strongest: The CDN is global, so residency doesn't apply to APIs.
A global CDN may cache responses. That's part of the design, not a free pass to ignore the database's region. - Weak: Encrypt it; then it can live anywhere.
Encryption-at-rest is necessary and not sufficient for residency promises. Keys and admin access still have a geography and a legal story. - Red flag: Put a flag in the UI that says EU and keep one US database.
A UI flag with a US DB is a false claim. That's a contract and trust failure.
Who gets asked this
More Security questions
- The interviewer asks: “The API pod's cloud role can read all buckets and impersonate other roles. What's…
- The interviewer asks: “Privacy by design — what does the backend actually ship?” Strongest answer?
- The interviewer asks: “A popular npm/NuGet/Maven package you use was compromised. What should already have…
- The interviewer asks: “Product wants to keep clickstreams forever for “future ML.” What's your backend…
- The interviewer asks: “Where do database passwords and API keys live?” Strongest answer?
- The interviewer asks: “How do you put user input into SQL?” Strongest answer?
- The interviewer asks: “We set CORS to our frontend origin. Are we safe?” Strongest answer?
- The interviewer asks: “How do services get secrets in production?” Strongest answer?