All jobs / DevOps / SRE / cloud / Security
DevOps / SRE / cloud interview question · 1–3 years
CI needs to publish to the cloud. What is the 2026 default?
The strongest answer
Short-lived OIDC / workload identity from the pipeline — not a long-lived access key in CI variables if the platform can do better
Why it works
Exactly. Identity federation. Long-lived keys are what get leaked in logs.
What a good answer covers
- Prefer OIDC / workload identity.
- Short-lived credentials.
- No founder keys.
- No keys in images.
Answers that fall short
- Close, but not the strongest: A 10-year access key in a masked variable
Masked is still long-lived and still copied. - Weak: The founder’s personal key, rotated never
A personal key is a bus-factor and a leave-incident. - Red flag: A key baked into the deploy image
A key in an image is a public key.
Who gets asked this
More Security questions
- A secret must reach twelve services. How?
- A CI role can delete the production database. How do you reshape it?
- You have never rotated the database password in production. What do you do before you need to?
- How do you know the image in prod is the image CI built?
- You have 200 services and a human still pastes secrets at provision time. What do you build?
- 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?