s3 Flashcards

1
Q

What is a Resource Policy

A

Policy that grants outside accounts specific access to a resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Can resource policies grant allow/deny access to accounts other than the one they are created in?

A

YES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What type of policy can allow/deny anonymous principles?

A

Resource policies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What property in a Resource Policy json is unique to this type of policy (in contrast to IAM Policies)

A

Principal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the Principle in a resource policy do?

A

Defines who the statement applies to (and who will get the allow/deny)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the id for all objects on buckets that don’t have versioning enabled

A

null

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

can bucket with versioning enabled be disableD?

A

no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

can a bucket with versioning disabled be enabled

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

can a bucket with verioning enabled be suspended?

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what 2 things are true about a bucket with MFA delete

A

MFA becomes required to delete bucet versions

MFA is required to CHANGE the version state (i.e from versioned to suspended)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

can buckets be encrypted?

A

no, only objects within them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

can objects specifically be encrypted?

A

yes, thats how it works yo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

does aws ever see data uploaded to s3 with client side encryption

A

no, it’s encrypted the moment it leaves the client.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

does aws ever see data uploaded with s3 with server side encryption

A

yes - it gets unencrypted data and then it encrpts it before storing,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

can you choose to store objects in s3 unencrypted?

A

no, encryption-at-rest is mandatory!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

whats SSE-C

A

Server side escryption with customer provided keys

17
Q

whats SSE-S3

A

server side encryption with s3 managed keys

18
Q

whats SSE-KMS

A

server side encryption with KMS

19
Q

What encryption algorithm does SSE-S3 use?

20
Q

what code from s3 means the object has been durably stored successfully?

21
Q

whats the minimum starogae time you will be billed for S3-IA

22
Q

whats the minimum storage size you’ll be billed for S3-IA

A

128KB per object

23
Q

whats the minimum storage time for S3 Glacier Instant?

24
Q

whats the minimum storage size for S3 Glacier Instant?

A

128KB per object

25
when doing lifecycle s3 configuration, how long must an object be in s3 standard before a lifecycle can transition it to IA or one-zone IA?
30 days
26
⭐ When enabling replication on an s3 bucket, will objects already be stored get replicated?
No, only objects going forwards
27
can you enable object replication on a bucket that has versioning enabled?
yes (and versioning is required)
28
can you use replication to sync between two s3 buckets by default?
No, it only sync FROM source TO destination but that's one-way. You CAN enable as an additional setting tho
29
for replication, does the SOURCE bucket owner need to have permission to the objects?
YES
30
how are system events (lifecycle events) replicated in bucket replication
they ARENT
31
which types of objects (storage tiers) will work with replication?
all except glacier, and glacier deep archive
32
how can you sync deletes accross source/dest buckets with replication?
need an additional setting DeleteMarkerReplication. NOT on by default
33
can you create a presigned url for an object you have no access to?
yes, actually
34
what identity is assumed when you access an s3 object via pre-signed url?
the identiy of the IAM user that requested the presigned url to be generated
35