S3-Overview Flashcards

1
Q

Amazon S3 Use Cases

  • backup and storage
  • disaster recovery
  • archive
  • hybrid cloud storage
  • application hosting
  • media hosting
  • data lakes and big data analytics
  • software delivery
  • static website
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Amazon S3 allows people to store objects (files) in ____.

A

buckets (directories)

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

S3 buckets must have a ____ unique name.

A

globally (across all regions and accounts)

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

S3 looks like a global service, but buckets are created at the ____ level.

A

region

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

S3 bucket naming convention:

  • no uppercase, no underscore
  • 3-63 chars long
  • not an IP
  • must start with lowercase letter or number
  • must not begin with the prefix xn–
  • must not end with the suffix -s3alias
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

S3 object files have a key.
The key is the full path (not including bucket name):
- s3://my-bucket/my_file.txt
- s3://my-bucket/my_folder/another_folder/my_file.txt

The key is composed of a prefix + object name.
The prefix “myfolder/another_folder/” and the object name is my_file.txt

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

The max S3 object size is ____.
If uploading more than ____, you must use the “multi-part upload”.

A

5TB (5000 GB)
5GB

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

S3 objects have a ____ ID if versioning is enabled.

A

version

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

____ are unicode key / value pairs (up to 10) that are useful for security / lifecycle management.

A

Tags

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

S3 security can be either ____-based or ____-based.

A

user-based
resource-based

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

S3 user-based security is implemented with ____ policies.

A

IAM policies
Controls which API calls should be allowed for a specific user from IAM.

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

S3 resource-based security can be implemented in what 3 ways?

A

Bucket policies - bucket wide rules from the S3 console. Allows cross account.
Object Access Control List - finer grain (can be disabled)
Bucket Access Control List - less common (can be disabled)

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

An IAM principal can access an S3 object if:
- the user ____ allow it or the ____ policy allows it
- and there is no explicit ____

A

IAM permissions
resource
deny

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

S3 objects can be encrypted using encryption keys.

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

S3 bucket policies are written in ____ format.

A

JSON

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

What are the four core components to a S3 bucket json policy?

A

resources - buckets and objects
effect - allow/deny
actions - set of API to allow or deny
principal - the account or user to apply the policy to

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

S3 bucket policy can be used to:
- grant public access to the bucket
- force objects to be encrypted at upload
- grant access to another account (cross account)

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

You can block public access to your buckets at the account level.

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

S3 can host ____ websites and have them accessible on the internet.

A

static

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

With S3 static web hosting, you will get a 403 Forbidden error if you have not enabled ____ access reads on the bucket.

A

public
this can be enabled with a bucket policy

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

S3 versioning is enabled at the ____ level.

A

bucket

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

It is best practice to version your buckets:
- protects against unintended deletes (ability to restore a version)
- easy rollback to previous version

23
Q

Any S3 file that is not versioned prior to enabling versioning will have version ____.

24
Q

Suspending bucket versioning does not ____ the previous version.

25
To use S3 replication, you must enable ____ in the source and destination buckets.
versioning
26
What are the two types of S3 replication?
Cross-Region (CRR) - compliance, lower latency access, replication across accounts Same-Region (SRR) - log aggregation, live replication between prod and test accounts
27
With S3 replication: - buckets can be in different ____ - copying is ____ - must give proper ____ permissions to S3
aws accounts asynchronous IAM
28
After you enable S3 replication, only ____ objects are replicated.
new
29
After you enable S3 replication, you can replicate existing objects using S3 ____.
Batch Replication: replicates existing objects and objects that failed replication.
30
For S3 Replication delete operations, you can replicate ____ markers from source to target. (optional setting)
delete Only delete markers are replicated, not permanent deletes.
31
S3 deletions with a ____ are not replicated to avoid malcicious deletes.
version ID
32
There is no ____ of replication. If bucket 1 has replication into bucket 2, which has replication into bucket 3, then objects created in bucket 1 are not replicated to bucket 3.
chaining
33
S3 provides high durability (11 9's) of objects across multiple AZs. This is the same for all storage classes.
34
S3 availability varies depending on the ____.
storage class For example: S3 standard has a 99.99% availability.
35
S3 Standard Storage Class - 99.99% availability - used for ____ accessed data - low ____ and high ____ - sustain __ concurrent facility failures
frequently latency / throughput 2
36
S3 ____ class use cases include: - big data analytics - mobile & gaming apps - content distribution
Standard
37
For data that is less frequently accessed, but requires rapid access when needed, the ____ S3 storage class is used.
Infrequent Access (Standard-IA or One Zone-IA)
38
S3 Standard-Infrequent Access (S3 Standard-IA) - 99.99% availability - Use cases: disaster recovery, backups S3 One-Zone-Infrequent Access (S3 One Zone-IA) - high durability (11 9's) in a single AZ; data lost when AZ is lost - 99.5% availability - use cases: storing secondary backup copies of on-premise data, or data you can recreate
39
Amazon S3 ____ storage classes are for low-cost object storage meant for archiving and backup. You pay a price for ____ and object ____.
Glacier storage and retrieval
40
Which Amazon S3 Glacier storage class is described below? - Minimum storage duration of 90 days - Provides 3 retrieval timelines: - Expedited ( 1 to 5 mins) - Standard (3 to 5 hours) - Bulk (5 to 12 hours) (free)
Glacier Flexible Retrieval
41
Which Amazon S3 Glacier storage class is described below? - millisecond retrieval, great for data accessed once per quarter - minimum storage duration of 90 days
Glacier Instant Retrieval
42
Which Amazon S3 Glacier storage class is described below? - minimum storage duration of 180 days - Provides 2 retrieval timeframes - Standard (12 hours) - Bulk (48 hours)
Glacier Deep Archive
43
What is the retrieval time for S3 Glacier Deep Archive - Bulk?
48 hours
44
What is the retrieval time for S3 Glacier Deep Archive - Standard?
12 hours
45
What is the retrieval time for S3 Glacier Flexible Retrieval - Standard?
3 to 5 hours
46
What is the retrieval time for S3 Glacier Flexible Retrieval - Expedited?
1 to 5 minutes
47
What is the retrieval time for S3 Glacier Flexible Retrieval - Bulk?
5 to 12 hours
48
With the S3 ____ storage class, you pay a small monthly monitoring and auto-tiering fee.
Intelligent-Tiering
49
The S3 Intelligent-Tiering moves objects automatically between Access Tiers based on ____.
usage
50
True/False: There are no retrieval charges in S3 Intelligent-Tiering.
True
51
S3 Intelligent-Tiering Identify if the tier is automatic/optional Frequent Access tier: default tier Infrequent Access tier: objects not accessed for 30 days Archive Instant Access tier: objects not accessed for 90 days Archive Access tier: configurable from 90 days to 700+ days Deep Archive Access tier: configurable from 180 days to 700+ days
Frequent/Infrequent/Archive Instant - automatic Archive / Deep Archive - optional
52
S3 Storage Class Comparison not needed for exam, but good to be familiar
53
S3 Price Comparison Use Cases not needed for exam, but good to be familiar