Amazon S3 Flashcards

1
Q

What is Amazon S3?

A

Amazon S3 is an infinitely scalable object storage service used by websites and AWS services.

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

What are common use cases for Amazon S3?

A

Backup, Disaster Recovery, Archive, Hybrid Cloud, Application/Media Hosting, Data lakes, Static websites.

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

What is an S3 bucket?

A

A globally unique container for objects; region-specific.

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

What are naming rules for S3 buckets?

A

3-63 chars, lowercase only, no underscores, not an IP, no xn– prefix or -s3alias suffix.

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

What is an S3 object?

A

File stored in a bucket, has a key (full path), content, metadata, tags, version ID.

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

What is the max size of an S3 object?

A

5TB; >5GB requires multi-part upload.

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

What are S3 object metadata and tags?

A

Metadata: text key/value pairs; Tags: up to 10 unicode key/value pairs.

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

What are user-based and resource-based S3 access controls?

A

User-based: IAM Policies; Resource-based: Bucket policies, Object ACLs.

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

What is a bucket policy in S3?

A

JSON policy to allow/deny access, enforce encryption, or grant cross-account access.

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

What is the purpose of Block Public Access settings?

A

To prevent data leaks; should remain on unless public access is intentional.

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

Can S3 host websites?

A

Yes, for static sites; accessible via special S3 website endpoint.

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

What does a 403 error on S3 website mean?

A

Likely missing bucket policy for public read access.

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

What is S3 versioning?

A

Keeps multiple versions of objects; enabled per bucket.

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

What is the default version for pre-versioned files?

A

Null.

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

What does suspending versioning do?

A

Stops new versions but retains existing ones.

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

What is S3 replication?

A

Replicates objects from source to destination bucket across or within regions.

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

What are requirements for S3 replication?

A

Enable versioning on both buckets and provide IAM permissions.

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

Can S3 replicate existing objects?

A

Not by default; use S3 Batch Replication.

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

Can S3 replicate deletes?

A

Yes for delete markers; versioned deletions are not replicated.

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

What is S3 replication chaining?

A

Not supported; replication does not cascade.

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

What are S3 storage classes?

A

Standard, Standard-IA, One Zone-IA, Glacier IR/FR/DA, Intelligent Tiering.

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

What is S3 durability?

A

11 nines (99.999999999%) across multiple AZs.

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

What is S3 availability?

A

Varies by class; e.g., Standard: 99.99%.

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

When should you use S3 Standard?

A

Frequently accessed data with high availability needs.

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

What is Standard-IA used for?

A

Less frequently accessed data like DR backups.

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

What is One Zone-IA?

A

Infrequent access data in a single AZ; cheaper but less available.

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

What is Amazon S3 Glacier?

A

Low-cost archive storage with delayed retrieval.

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

What is S3 Glacier Instant Retrieval?

A

Access in milliseconds; for quarterly access data.

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

What are S3 Glacier Flexible Retrieval modes?

A

Expedited (1–5 min), Standard (3–5 hrs), Bulk (5–12 hrs).

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

What is S3 Glacier Deep Archive?

A

For long-term storage; retrieval in 12–48 hours.

31
Q

What is S3 Intelligent Tiering?

A

Auto-moves objects between tiers based on access patterns.

32
Q

What tiers does Intelligent Tiering include?

A

Frequent, Infrequent, Archive Instant, Archive, Deep Archive.

33
Q

What is used to move objects between S3 storage classes?

A

Lifecycle Rules.

34
Q

What can Lifecycle Transition Actions do?

A

Move objects to another storage class after a set time.

35
Q

What can Lifecycle Expiration Actions do?

A

Expire (delete) objects or incomplete uploads after a set time.

36
Q

Can Lifecycle Rules target specific prefixes or tags?

37
Q

What storage class for thumbnails that can be deleted after 60 days?

A

S3 One-Zone IA with expiration rule.

38
Q

Where should source images go that need to be retrieved quickly for 60 days?

A

S3 Standard with transition to Glacier after 60 days.

39
Q

How to retain deleted S3 objects for 30 days, then archive?

A

Use S3 Versioning, transition noncurrent versions to IA then Glacier Deep Archive.

40
Q

What does S3 Analytics help with?

A

Identifying when to transition objects between Standard and Standard IA.

41
Q

How often is the S3 Analytics report updated?

42
Q

What can S3 Event Notifications trigger on?

A

ObjectCreated, ObjectRemoved, ObjectRestore, Replication.

43
Q

How are S3 Event Notifications delivered?

A

Typically within seconds, sometimes longer.

44
Q

What does EventBridge provide over standard S3 Events?

A

Advanced filtering, multiple destinations, reliable delivery.

45
Q

What is the baseline request rate per prefix in S3?

A

3,500 PUT/POST/DELETE, 5,500 GET/HEAD requests per second.

46
Q

What can be done to scale S3 requests further?

A

Use multiple prefixes.

47
Q

When should Multi-Part Upload be used?

A

Recommended for files >100MB, required >5GB.

48
Q

What does S3 Transfer Acceleration do?

A

Speeds up upload by routing through AWS edge locations.

49
Q

What is S3 Byte-Range Fetch used for?

A

Parallel downloads, partial data access.

50
Q

What are S3 Object Tags used for?

A

Permissions, analytics grouping.

51
Q

Can S3 tags or metadata be searched directly?

A

No, must use external index like DynamoDB.

52
Q

What prefix must user-defined metadata begin with?

A

x-amz-meta-.

53
Q

What is SSE-S3?

A

Server-side encryption with S3-managed keys, AES-256, enabled by default.

54
Q

What is SSE-KMS?

A

Server-side encryption using keys managed in AWS KMS; enables audit via CloudTrail.

55
Q

What is SSE-C?

A

Server-side encryption with customer-provided keys; AWS does not store the key.

56
Q

What is client-side encryption in S3?

A

Client encrypts/decrypts data outside AWS using own keys.

57
Q

What header is used for SSE-S3?

A

x-amz-server-side-encryption: “AES256”.

58
Q

What header is used for SSE-KMS?

A

x-amz-server-side-encryption: “aws:kms”.

59
Q

What is a limitation of SSE-KMS?

A

Upload/download calls count toward KMS API quota.

60
Q

What must be used with SSE-C?

A

HTTPS must be used; key sent in each request.

61
Q

What is S3 encryption in transit?

A

SSL/TLS encryption via HTTPS endpoint.

62
Q

How can encryption be enforced on a bucket?

A

Use bucket policy to deny unencrypted PUTs.

63
Q

What is CORS in S3?

A

Allows cross-origin browser access using configured headers.

64
Q

What does MFA Delete do?

A

Requires MFA to permanently delete versioned objects or suspend versioning.

65
Q

When is MFA required for S3?

A

To delete object versions or suspend versioning.

66
Q

What are S3 Access Logs?

A

Log all access requests to another S3 bucket.

67
Q

What should you avoid with access logs?

A

Don’t log to the same bucket being monitored.

68
Q

What is a pre-signed URL in S3?

A

Temporary URL for access; inherits permissions from creator.

69
Q

How long can a pre-signed URL last?

A

Max 12 hours via console, 168 hours via CLI.

70
Q

What are S3 Access Points?

A

Custom endpoints with policies for managing access to S3.

71
Q

What is a VPC Origin Access Point?

A

S3 Access Point only accessible via VPC endpoint.

72
Q

What is S3 Object Lambda?

A

Invoke Lambda to transform object before returning to caller.

73
Q

Give a use case for Object Lambda.

A

Resize images dynamically for each requester.

74
Q

Can S3 Access Points be used with VPCs?

A

Yes, through VPC Endpoints.