All jobs / DevOps / SRE / cloud / Security
DevOps / SRE / cloud interview question · 3–5 years
You have 200 services and a human still pastes secrets at provision time. What do you build?
The strongest answer
Identity-based delivery (the workload fetches) and a ban on humans as the happy path — I keep break-glass, I do not keep paste-as-process
Why it works
Exactly. Workloads fetch. Humans are the exception. One mega-secret is a mega-blast.
What a good answer covers
- Workload identity to the vault.
- Humans as break-glass.
- Do not paste as process.
- Do not one-ball-of-secrets.
Answers that fall short
- Close, but not the strongest: A bigger password manager spreadsheet
Spreadsheets do not scale or audit well. - Weak: A shared Slack channel with a better name
A nicer channel is still chat. - Red flag: Put all 200 secrets in one Kubernetes secret for convenience
One secret for 200 is one leak for 200.
Who gets asked this
More Security questions
- A squad needs to ship without being able to destroy another squad’s data. What is the shape?
- Engineers still have long-lived cloud keys on laptops. What is the programme?
- What does a good IAM review look like that a good app review does not?
- Security wants a gate that takes 40 minutes on every PR. What do you negotiate?
- What has to already exist for you to answer “which images, and by when”?
- An engineer wants prod data “to reproduce a bug” on their laptop. What is the bar?
- A `.env` with production URLs and a shared password is in git “for convenience.” What do you do?
- Someone committed a cloud access key. What do you do first?