Cloud Engineer interview question

Write a least-privilege IAM policy that lets an application read and write objects under one prefix of a bucket.

Hands-on Asked in Cloud Engineer · DevOps Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Allow s3:GetObject and s3:PutObject only on bucket/app-prefix/*, and s3:ListBucket on the bucket with a condition limiting s3:prefix to that prefix. Attach it to the application's role, not to a user with long-lived keys.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Cloud Engineer questions

← All Cloud Engineer questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake