S3 - Overview/Security Flashcards

1
Q

What is Amazon S3?

A

Amazon S3 is a highly scalable storage service used for storing and retrieving data, offering “infinitely scaling storage.”

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

Name some key use cases for Amazon S3.

A

1️⃣ Backup and storage (files, disks).
2️⃣ Disaster recovery (data replication across regions).
3️⃣ Archival storage (cheaper, long-term retrieval).
4️⃣ Hybrid cloud storage (on-premises to cloud expansion).
5️⃣ Hosting applications or media.
6️⃣ Data lakes for big data analytics.
7️⃣ Delivering software updates.
8️⃣ Hosting static websites.

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

What are the requirements for an S3 bucket name?

A

1️⃣ Must be globally unique.
2️⃣ Must have no uppercase letters or underscores.
3️⃣ Must be between 3 and 63 characters long.
4️⃣ Must not resemble an IP address.
5️⃣ Must start with a lowercase letter or number.

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

Are S3 buckets global or regional?

A

Buckets are defined at the regional level, but their names must be globally unique.

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

What is an Amazon S3 object key?

A

The key is the full path of a file in a bucket, including its prefix and object name.

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

What is the maximum object size in S3, and how is it handled?

A

The max object size is 5 TB. Files larger than 5 GB must be uploaded using multi-part upload.

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

What is an S3 bucket?

A

An S3 bucket is a top-level directory in Amazon S3 that stores files, called objects.

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

What are the two main types of security in Amazon S3?

A

1️⃣ User-Based Security: Uses IAM policies to authorize API calls for specific IAM users.
2️⃣ Resource-Based Security: Includes S3 Bucket policies and Object Access Control Lists (ACLs).

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

What is an S3 Bucket policy?

A

A JSON-based policy that specifies permissions for buckets and objects, including access for specific users, accounts, or public access.

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

What is the role of the “Block Public Access” settings in S3?

A

It prevents buckets and objects from being made public, even if a public Bucket policy is applied, reducing the risk of accidental data leaks.

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

What are the methods to grant access to S3 for different entities?

A

1️⃣ IAM permissions for users in your account.
2️⃣ IAM roles for EC2 instances.
3️⃣ Bucket policies for cross-account access.

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

What are Object Access Control Lists (ACLs)?

A

Fine-grained security controls at the object level, though less commonly used and can be disabled.

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

What happens if “Block Public Access” is enabled at the account level?

A

None of the buckets in the account can be made public, regardless of individual bucket policies.

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

What does it mean if you receive a 403 error when trying to access a website hosted through Amazon S3?

A

The S3 bucket isn’t public.

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

Where can you enable object versioning in S3?

A

It’s enabled on the bucket level

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

What happens to previous versions of objects when versioning is suspended?

A

Previous versions remain intact and aren’t deleted