s3 Flashcards
What is a Resource Policy
Policy that grants outside accounts specific access to a resource.
Can resource policies grant allow/deny access to accounts other than the one they are created in?
YES
What type of policy can allow/deny anonymous principles?
Resource policies
What property in a Resource Policy json is unique to this type of policy (in contrast to IAM Policies)
Principal
What does the Principle in a resource policy do?
Defines who the statement applies to (and who will get the allow/deny)
What is the id for all objects on buckets that don’t have versioning enabled
null
can bucket with versioning enabled be disableD?
no
can a bucket with versioning disabled be enabled
yes
can a bucket with verioning enabled be suspended?
yes
what 2 things are true about a bucket with MFA delete
MFA becomes required to delete bucet versions
MFA is required to CHANGE the version state (i.e from versioned to suspended)
can buckets be encrypted?
no, only objects within them
can objects specifically be encrypted?
yes, thats how it works yo
does aws ever see data uploaded to s3 with client side encryption
no, it’s encrypted the moment it leaves the client.
does aws ever see data uploaded with s3 with server side encryption
yes - it gets unencrypted data and then it encrpts it before storing,
can you choose to store objects in s3 unencrypted?
no, encryption-at-rest is mandatory!