S3 Flashcards
True of False: S3 objects can be accessed across all regions?
True
S3 buckets are defined at which level:
1 - Region
2 - Availability Zone
3 - Global
1 - Region
Which of the two items below make up the two elements of an object’s key
1 - object name
2 - s3://my-bucket
3 - region name
4 - prefix
1 - object name
4 - prefix
In the following example of an s3 object, which is the prefix and which is the object name?
s3://my-bucket/alice/chesirecat.jpg
Prefix = “alice”
Object name = “chesirecat.jpg”
How does the concept of “directories” work as it relates to s3 objects
Trees
Branches
Forests
There are no directories
there are no directories
what type of filesystem is used in S3
NTFS
Sequential File system
Hierarchical file system
Flat file system
flat file system
what is the maximum size for an s3 object?
1 Gigabyte
500 Gigabytes
30 Terabytes
5 terabytes
5 Terabytes
In S3 - if uploading more than “x” amount of data, it must be done in what type of upload?
1 TB / discard the remainder
5 TB / sticky
5 GB / multi upload
30 GB / branching
x = 5GB
multi-upload
what other properties can an S3 object have? (Choose three)
Tag
Marking
Version ID
Model
Metadata
tag, version ID, metadata
how many tags can an S3 object have?
5
1
100
10
10
When setting security, which of the two based policies could you choose from:
1 - Object policy
2 - User-based policy
3. - Resource-based policy
4. - Control List Policy
2 - User-based policy
3 - Resource based policy
What type of policy would be used for to allow a specific IAM user to access the object? (Choose one)
Bucket policy
IAM policy
IAM policy
What type of policy would be used to provide public access to an S3 object? (Choose one)
Bucket policy
IAM policy
Bucket policy
Bucket, Object Control List (ACL) and Bucket Access Control List are all what type of security?
User based
ACL based
Resource based
File based
resource based
If you want to allow an EC2 instance to access an S3 bucket, what type of policy would you use?
Bucket policy
IAM roles
User policy
Bucket Access Control List
IAM roles
If you want to allow an IAM user from another AWS account (cross-account) access to an S3 object, which type of policy would you use?
IAM role
External User role
Bucket policy
Resource policy
bucket policy
True or False: Bucket settings for blocking public access can be set at the AWS account level
True
Versioning is enabled (by selecting the “enable” button) at what level?
The bucket level
The network level
The resource level
The region level
the bucket level
Static web site, if you get a “403 Fobidden” error, what should you do?
Ensure the bucket policy does not allow public reads
Ensure the resource policy does not allow public reads
Ensure the bucket policy allows public reads
Ensure the resource policy allows public reads
ensure the “bucket policy” allows public reads
Static web site URL is ==> http://w.x-y.z. Solve the URL for each letter. Give the descriptive class for each and an actual example of a full URL
After which letter, can you use either a “.” or a “-“
http://bucketname.s3-website-regionname.amazonaws.com
http://chesirecat.s3-website-us-east-1.amazonaws.com
True for False.
Versioning. It is best practice to version your buckets?
True
Versioning. When deleting an object in a bucket that has versioning enabled, is the file actually deleted? Explain
No. A “deletion marker” is added but the original file still exists
For any object that already existed before versioning was enabled, what will happen to it?
The object goes bye-bye
The object will receive a null marker
The object will not receive a null market
The object remains an object
It will receive a “null” marker
If you suspend versioning, will this then delete the previous versions?
No
Replication. What is one step that must be taken for replication to work?
Enable versioning in both, the source & destination buckets
Will it to work
Enable versioning in the source bucket
Enable versioning in the destination bucket
Enable “versioning” in both the source and destination buckets
Replication. When setting replication, what is replicated, currently existing objects, only new objects, or both?
Only new objects
Replication? How do you replicate currently existing objects?
Use the force
With setting up replication rule, say “yes” to option for “batch replication object”
Click the “currently existing objects” box
Copy objects to another folder, delete current objects, copy objects back over
When setting up a replication rule, you can say “yes” to the option for a “batch replication object”
Before you can delete a bucket, what action must be taken?
Thoughts and prayers
Check the “recurse all directories” box
Check the “objects in this bucket” box
Delete all objects from within that bucket
You must delete all objects from within that bucket.
Replication. What are the two types of replication?
SRR - same region replication
BRR - Boring Region replication
XRR - eXtreme Region replication
CRR - Cross Region replication
SRR and CRR
“same region replication” and “cross region replication”
True or False: Replication.
When replicating buckets, you can replicate buckets across different AWS accounts.
True
Replication. “compliance, lower latency access, replication across accounts” - would be an example of what type of replication?
CRR - cross region replication
Replication. “log aggregation, live replication between production and test accounts” would be an example of what type of replication?
SRR - same region replication
Replication. Copying is
1. synchronous
2. asynchronous
- asynchronous
What does durability mean? What is the durability percentage and to which S3 classes does it apply to?
Durability correlates to the chances of losing a file (it getting deleted). The durability percentage is 99.99999999999 or 11 9s. You can expect to incur a single object loss every 10,000 years. The durability is the same for all S3 storage classes
What does 11 9s? correlate to?
The durability of S3 storage classes being 99.99999999999%.
Based on the S3 durability, about how many files can you expect to lose?
a single object every 10,000 years
What does availabilty mean in relation to S3?
How often the service will be up/down. This doesn’t affect the existence of the file itself but rather your ability to retrieve the file due to Amazon downtime.
Availability - is it the same for all S3 storage classes or does it vary per class?
varies per class
What type of S3 storage is this:
99.99% availability
userd for frequently accessed data
low latency and high throughput
sustain 2 concurrent facility failures
Use cases: big data analytics, mobile and gaming applications, content distribution, …
S3 General Purpose
what is the availability rate for S3 General purpose storage?
99.99%
what is the availability rate for S3 IA (infrequent access)?
99.9%
what type of S3 storage does this reflect?
less frequent data access but rapid access when needed
lower than S3 standard
99.9% available
pay for retrieval (doesn’t list in the slide but verbally mentions it)
use case - disaster recovery, backups
S3 Infrequent Access (IA)
What type of S3 storage is this:
data is lost if AZ is destroyed
99.5% availability
Use case: storing 2ndary backup of on-prem data, or data you can recreate
S3 Infrequent Access - One Zone IA
S3 Infrequent Access (IA) - One zone IA - what is the availability percentage?
99.5%
low cost object storage meant for archiving and backup
S3 Glacier
what are the two costs associated with S3 Glacier?
1 - storage
2 - retrieval cost
what is the minimal storage for Glacier Instant retrieveal?
90 days
how long is the retrieval time for S3 Glacier instant retrieval?
milliseconds
Which type of S3 storage is this?
minimum storage of 90 days
retrieval in milliseconds
S3 Glacier Instant Retrieval
Which type of S3 storage is this?
formerly Amazon S3 Glacier
minimum storage 90 days
offers three levels of retrieval
expedited - 1 to 5 minutes
standard - 3 to 5 hours
bulk - 5 to 12 hours (free)
S3 Glacier Flexible Retrieval
S3 Glacier Flexible retrieval - what is the minimal amount of time to store data?
90 days
Which two types of S3 storage is free to retrieve?
S3 Glacier - Flexible Retrieval - “bulk” option and S3 Intelligent Tiering
For S3 Glacier Flexible Retrieval - what are the three retrieval storage options.
Expedited - 1-5 minutes
Standard - 3-5 hours
Bulk - 5-12 hours
How many tiers does S3 Glacier Deep Archive have and what is the retrieval rate for each?
Standard - 12 hours
Bulk - 48 hours
What is the minimum storage time for S3 Glacier Deep Archive?
180 days
What type of S3 storage is this?
Two tiers - Standard (12 hours) and Bulk (48 hours) retrieval, respectively
180 days minimum storage
S3 Glacier Deep Archive
What type of S3 storage associates with the following:
Small monthly monitoring and auto-tiering fee
Moves objects automatically between Access Tiers based on usage
no retrieval charges
S3 Intelligent Tiering
What are the five tiers of S3 Intelligent Tiering storage?
Frequent Access
Infrequent Access
Archive Instant Access
Archive Access Tier
Archive Deep Dive
What is the default tier for the S3 Intelligent Tiering storage?
Frequent Access
Of the five tiers for S3 Intelligent Tiering storage, which are the three automatic and two optional?
Automatic - Frequent, Infrequent, Archive Instant access
Optional - Archive Access, Deep Archive
What are the timeframes for the S3 Intelligent Tiering storage options
Frequent access - always available
Infrequent Access - not accessed for 30 days
Archive Instant Access - not accessed for 90 days
Archive Access tier - configurable from 90 to 700+ days
Archive Deep Dive - configurable from 180 days to 700+ days
How do you enable server side encryption in S3?
By default, it’s always enabled.
Three types of Snow Family devices
SnowCone, Snowball Edge, Snowmobile
Rule of thumb regarding snow devices
If it takes more than a week to transfer data, use a snow device
What are the two types of Snowball edge devices and the capacity for each?
Snowball Edge Storage Optimized - 80 TB
Snowball Edge Compute Optimized
42 TB
Which S3 device is recommended for the following use cases:
large scale data cloud migrations
Snowball Edge Storage
What are the two types of snowcone devices?
Snowcone - 8 TB of HDD
Snowcone SSD - 14 TB of SSD
What type of S3 device would fit the description below:
portable
Comes in two flavors HDD-8TB or SSD-14TB
used for edge computing storage
light (4.5 pounds / 2.1 kg)
must provide your own battery / cables
can send back to AWS offline or connect it to the internet and use AWS DataSynce
Snowcone
Snowball - what are the two options to get your data back to AWS?
send it back or connect it to the internet via AWS DataSync
what type of S3 storage is an actual truck?
snowmobile
What type of data transfer is used for Snowmobile and what is the capacity?
exabytes of data (1 EB = 1,000PB = 1,000,000 TB).
Capacity is 100 PB
Which S3 storage option is high security, temperature controlled, GPS, 24/7 video surveillance and can offer exabytes of data (100 PB in parallel)?
snowmobile
Of the snow family of S3 storage devices, which is the only to offer online access?
snowcone
what is an edge location?
any type of location than can produce data but does not have active internet or limit access only
what are use cases for edge computing?
preprocess data
machine learning at the edge
transcoding media streams
This describes which type of S3 Edge computing
2 CPUs, 4GB of memory
wired/wireless access
usb-c power using a cord or optional battery
Snowcone & Snowcone SSD
This describes which type of S3 Edge computing
52 vCPUs, 208 GB Ram
Optional GPU (useful for video processing or machine learning)
42 TB usable storage
Snowball Edge - Compute Optimized
This describes which type of S3 Edge computing
40 vCPUs, 80 GB Ram
object storage clustering available
80 TB usable storage
(Amazon site says 24 vCPUS and 32 GB Ram)
Snowball Edge - Storage Optimized
True or False:
Snowcone and Snowball Edge can run EC2 instances and AWS Lamba functions
true
If you want to run Lambda services on Snowcone or Snowball edge devices, what service would need to be utilized?
AWS IoT Greengrass
If you want to get discounted pricing for Snowcone or Snowball edge devices, what would you need to do?
Borrow the devices for 1 or 3 years
What is AWS OpsHub?
a software you install on your device (laptop, etc) to help manager your Snow family device
What is the name of the software you would install on your laptop device to help manage your Snow family device instead of having to use the CLI?
AWS OpsHub
How do you obtain AWS OpsHub?
download from the internet
what is the purposed of AWS IoT Greengrass?
allows you to run Lambda services on your Snowcone or Snowball Edge devices
can S3 be utilized in a hybrid (in conjunction with on prem) storage?
yes
If you want to use S3 in a hybrid role with your on prem data, what would you need to use?
AWS Storage Gateway
What does AWS Storage Gateway do?
allows you to use S3 in hybrid with your on prem data
If moving up to a 10 PB of data using a fleet, what type of S3 service is best?
Snowball Edge
What can you use to define actions to move S3 objects between different storage classes?
Lifecycle rules
Of the two Snowball Edge services, which is best at data transfer?
Snowball Edge - Storage Optimized
What can you use to define actions to move S3 objects between different storage classes?
Lifecycle rules
True or False: EBS volumes are automatically replicated for redundancy within an AZ
True
Amazon EBS volumes are placed in a specific Availability Zone where they are automatically replicated to protect you from the failure of a single component. All EBS volume types offer durable snapshot capabilities and are designed for 99.999% availability.
What are the Free Tier (only first year) limits for S3?
Data you can store for free each month?
PUT requests each month
GET requests each month
Data you can retrieve each month?
5GB of data can be stored
2,000 PUT requests
20,000 GET requests
15GB of data can be retrieved