S3 Flashcards

1
Q

What is S3?

A

Safe place to store files and its object based.

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

What is a S3 bucket

A

A bucket is basically a folder where we store files. Identified by an uri. Bucket names are unique

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

How to secure information in S3

A

IAM policies
Access Control Lists
Bucket policies
Query string authentication (URL to an Amazon S3 object which is only valid for a limited time)

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

What is an S3 standard storage

A

It is the standard way to store data with very high availability and durability with data being stored across multiple devices and places.

  1. 99 % availablity
  2. 11’9s surability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is S3 IA

A

Its a bucket for storing Infrequently needed data, but needs a fast retrieval. There is a retrieval fee associated with it.

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

what is S3 One Zone IA

A

It is storage for infrequently accessed data, stored in one zone

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

what is s3 Intelligent Tiering?

A

It uses machine learning and moves the files to S3 Standard or One Zone or IA based on the usage of those files

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

What is S3 Glacier?

A

Glacier is used to archive data. Low cost solution and retrieval time sis configurable from minutes to hours

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

S3 Glacier Deep Archiving

A

Low-cost archiving solution where a retrieval time of over 12 hours is acceptable

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

Fundamentals of S3

A
Key,
Value,
Version Id,
Metadata
Sub Resources:
Access Control List and Torrent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the consistency modes in S3

A

Read After PUT

Eventual consistency

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

How is server-side encryption achieved in S3

A

S3 Managed Keys: SSE-S3. These keys are managed by Amazon, themselves.
AWS key management Service, Managed Keys -SSE-KMS the keys are managed by AMAZON and the user.

Server-side encryption with customer-provided keys SSE-C

Client side encrytion where we encrypt the object and upload it

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

How to automate moving objects around tiers

A

Use lifecycle management to object and its version to move them to different tiers based on their usage.We can set rules for objects to be moved to IA after certain days of being inactive or even clean up multipart form updates after certain amount of time

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

Explain replication in S3

A

Versioning should be enabled for objects in the source bucket
The region where we are going to replicate should be different from the original region
Existing objects in Source are not automatically copied over, its a manual step.
Adding new objects automatically copies them in the destination bucket
Deleting an object in source or a version doesn’t delete an object from Destination

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

What is S3 Transfer acceleration?

A

Instead of uploading directly to S3 bucket, the users would upload their content o an edge location and then from there the content would get uploaded to main S3 bucket using Amazons backbone network.

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

Explain CloudFront

A

It is the CDN where data is cached from Origin(Another s3, EC2, Elastic Load balancer or Route 53) and server to users
Basically acts like a cache between the user and the source. The lifetime of the cache can be set and there is a cost associated when we attempt to clear the cache.

17
Q

What is snowball

A

when you have large amounts of data to move into AWS. then we use SnowMobile. we can export and import data into it

18
Q

What is a storage Gateway

A

The AWS Storage Gateway service enables hybrid storage between on-premises environments and the AWS Cloud. It provides low-latency performance by caching frequently accessed data on premises, while storing data securely and durably in Amazon cloud storage services.

It is a physical or virtual device used in premise to export data from client side to AWS. Once data is migrated to AWS, they can be used as standard S3 objects.

19
Q

What are the types of Storage Gateway

A
File Gateway(NFS &SMB):
Whole data in the data center could be replicated in the cloud by using this. File gateway could again be virtual or Physical.

Volume Gateway(Stored Volume and Cached Volume):

Unlike Filegateway, it doesn’t transfer the whole data, rather only the most frequently used ones

Tape Gateway:
This one is used to transfer information in Tapes to AWS.

20
Q

What are the VM’s supported by Storage Gateway

A

VM ware and HyperV

21
Q

What is the file size supported?

A

0 bytes to 5 TB.
The largest object that can be uploaded in a single PUT is 5 gigabytes.For objects larger than 100 megabytes use theMultipart Uploadcapability

22
Q

What are the different groups to which permission can be granted to access S3 buckets and Objects?

A

Authenticated users groups(all authentocated aws accounts)
All User Group(Anyone in the world)
Log Delivery Group(Enables S3 to write server access logs)

23
Q

What happens when Read permission is give to an account on a Bucket?

A

It only allows to view the ist of objects in the bucket.

24
Q

What is cross region replication?

A

Data uploaded to a bucket can be automated to replicated to a bucket in another region asynchronously.Versioning must be enable for source and destination buckets.

25
Q

How does glacier work?

A

It is not designed for Real time data access, it is designed to sustain the loss of two facilities and there is no SLA.
To access data in Glacier a request is made first and within 24 hours, data makes it way to S3 IA one zone for access and it stays there for 24 hours.
The metadata associated with objects is not stored in Glacier, There should be a client side database to store them.

26
Q

Costing difference between EFS and EBS ?

A

In EFS you pay for what you use, whereas in EBS you pay for what you provision.

27
Q

What is EFS file sync?

A

A tool to copy existing files into EFS, it is 5 times faster than normal linux copy tools.
With EFS File Sync, you pay per-GB for data copied to EFS