S3 Flashcards

1
Q

What is Amazon S3?

A

A highly scalable, durable object storage service used to store and retrieve any amount of data from anywhere on the web.

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

What does S3 stand for?

A

Simple Storage Service.

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

What type of storage is S3?

A

Object storage.

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

What is the basic unit of storage in S3?

A

An object.

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

What contains S3 objects?

A

Buckets.

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

What is the maximum size of a single S3 object?

A

5 TB.

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

What is the maximum size of a single PUT operation?

A

5 GB.

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

What is the maximum number of S3 buckets per account by default?

A

100

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

Name the main S3 storage classes.

A

S3 Standard, S3 Intelligent-Tiering, S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, S3 Glacier Deep Archive.

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

Which S3 class is best for frequently accessed data?

A

S3 Standard.

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

Which S3 class automatically moves data between access tiers?

A

S3 Intelligent-Tiering.

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

Which S3 class stores data in a single AZ?

A

S3 One Zone-IA.

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

Which S3 class has the lowest cost for rarely accessed data?

A

S3 Glacier Deep Archive.

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

What does S3 Versioning do?

A

Keeps multiple versions of an object in the same bucket.

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

What happens when you delete a versioned object?

A

A delete marker is added; object is not actually deleted.

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

What are the two types of encryption in S3?

A

Server-side encryption (SSE) and client-side encryption.

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

Name the three SSE options in S3.

A

SSE-S3, SSE-KMS, SSE-C.

18
Q

What is an S3 Lifecycle Policy?

A

A set of rules to automate transition or expiration of objects.

19
Q

What are the main ways to control access to S3?

A

IAM policies, bucket policies, ACLs.

20
Q

What is the preferred way to control access to S3?

A

IAM policies.

21
Q

What are S3 Access Control Lists (ACLs)?

A

Legacy access control mechanism to grant read/write permissions.

22
Q

What is a bucket policy?

A

A resource-based policy attached directly to a bucket.

23
Q

What does ‘Block Public Access’ do?

A

Prevents public access to buckets and objects regardless of ACLs or policies.

24
Q

What is S3 Transfer Acceleration?

A

Speeds up uploads and downloads using Amazon CloudFront edge locations.

25
Q

What is S3 Event Notification?

A

Triggers notifications when certain events happen in a bucket.

26
Q

What is S3 Select?

A

Retrieves a subset of data from an object using SQL expressions.

27
Q

What is Multipart Upload?

A

Allows uploading parts of a large object in parallel.

28
Q

What is a presigned URL?

A

A URL that grants temporary access to an S3 object.

29
Q

Is S3 data encrypted by default?

A

No, but encryption can be enabled.

30
Q

What is the difference between SSE-S3 and SSE-KMS?

A

SSE-S3 uses S3-managed keys, SSE-KMS uses customer-managed keys via KMS.

31
Q

What AWS service can help monitor access to S3?

A

AWS CloudTrail.

32
Q

How can you restrict access to S3 by IP address?

A

Using bucket policies with IP conditions.

33
Q

How is S3 designed for durability?

A

99.999999999% durability over a given year (11 9s).

34
Q

How can you improve S3 performance for frequent access?

A

Use S3 Intelligent-Tiering or caching layers.

35
Q

What is the benefit of S3 Intelligent-Tiering?

A

Automatically optimizes costs by moving data between tiers based on access patterns.

36
Q

How are S3 costs calculated?

A

Based on storage used, requests made, and data transferred.

37
Q

Which S3 feature helps automate cost savings?

A

Lifecycle policies and Intelligent-Tiering.

38
Q

Which class is cheapest for long-term archive?

A

S3 Glacier Deep Archive.

39
Q

What’s a common anti-pattern with S3 versioning?

A

Letting versions accumulate without lifecycle policies, leading to cost increase.

40
Q

What is a security anti-pattern in S3?

A

Leaving buckets publicly accessible without monitoring.

41
Q

What’s a best practice for public content distribution from S3?

A

Use S3 with CloudFront for secure and fast distribution.