All jobs / DevOps / SRE / cloud

DevOps / SRE / cloud interview question · 1–3 years

A service on a VM needs to read from a storage bucket. How does it get permission?

The strongest answer

Attach a role to the instance with a policy scoped to that bucket; the SDK picks up temporary credentials from the instance metadata, and nobody ever creates or stores an access key

Why it works

Exactly. Instance roles are the pattern; keys on disks are the breach.

What a good answer covers

Answers that fall short

Who gets asked this

More DevOps / SRE / cloud questions