General Knowledge Flashcards
S3 Standard
99.99% availability. 99.9999999999% (11 9s) of durability, stored reduntatnly across multiple devices in multiple facilities, and is designed to sustain the loss of 2 facilities concurrently.
S3 - IA
(Infrequently Accessed): For data that is accessed less frequently, but requires rapid access when needed. Lower fee than S3, but you are charged a retrieval fee.
S3 One Zone - IA
Lower cost than IA. For when you want a lower-cost option for infrequently accessed data, but do not require the multiple Availability Zone data resilience.
S3 Inteligent Tiering
Designed to optimize costs by automatically moving data to the most cost-effective access tier, without the performance impact or operational overhead.
S3 Glacier
S3 Glacier is a secure, durable, and low-cost storage class for data archiving. You can reliably store any amount of data at costs that are competitive with cheaper than on-premises solutions. Retrieval times configurable from minutes to hours.
S3 Glacier Deep Archive
Amazon’s S3’s lowest-cost storage class where a retrieval time of 12 hours is acceptable.
What type of storage is S3?
Object based i.e. files, videos, word documents, txt, files, photos. Files can be 0-5TB in size, stored in buckets all with unique names which generate an https link.
Can you install a database or operating system on S3?
No, S3 is object based. You would use block based storage for operating systems and databases.
How can you protect S3 objects?
Turn on MFA Delete for objects.
What are the key fundamentals of S3?
Key (name of the object) Object (Data that is made up of bytes) Version ID Metadata ( data bout the data you're storing) Subresources: Access Controls Lists Torrents
What is the S3 Consistency Model?
Read AFTER Write consistency for PUTS of new objects. (read right after creating)
Eventual Consistencies for overwrite PUTS and DELETES (can take some time to propagate)
How do you control access to S3 Buckets?
Bucket ACL
Bucket Policies
How is encryption in transit achieved?
Over HTTPS
How is encryption at rest achieved in S3?
S3 Managed Keys - SSE S3 (Server side encryption S3) - Amazon manages all the keys.
AWS Key Management Service, Managed Keys - SSE-KMS - The customer and AWS manage the keys together
Server Side Encryption With Customer Provided Keys - SSE-C - You provide the keys
Client Side Encryption
How does versioning work on S3?
Stores all version of an object including writes and even if you delete an object)
Great backup tool
Cannot be disabled, only suspended.
Integrates with lifecycle rules
Versining’s MFA Delete capability, which uses multi-factor authentication, can be used to provide an additional layer of security.
How do you manage the automatic transition to other S3 classes, the expiration of an object, and the automatic deletion of an object in S3?
Create a lifecycle rule.
What is lifecycle management?
Automates moving your objects between the different storage tiers
Can be used in conjunction with versioning
Can be applied to current and previous versions as well.
Will your objects currently in an S3 bucket replicate when the bucket is cross region replicated?
No, but any objects uploaded to either bucket will appear in both buckets both. Deletions will only appear in one bucket.
Cross Region Replication
Versioning must be enabled on both the source and destination buckets
Regions must be unique
Files in an existing bucket are not replicated automatically
All subsequent updated files will be replicated automatically
Delete markers are not replicated
Deleting individual version or delete markers will not be replicated.
Will you be charged for clearing an object cashed in an edge location?
Yes.
What is a Cloudfront Web Distribution?
A CF distribution typically used for websites.
What is a Cloudfront RTMP distribution?
A CF distribution typically used for media streaming.
Are edge location read only?
No, you can also write to edge locations.
How long is data cahsed in Cloudfront stored for?
Objects are cahsed for the life of the TTL (Time To Live) specified when setting up the Cloudfront distribution.
What service would you use to transfer large amount of data into the cloud?
Snowball or snowmobile depending on the size.
What is storage gateway?
Connects on premisise software applicance with cloud storage. Security store data to the AWS Cloud.
What is the File Gateway?
For flat files, stores directly on S3
What is Volume Gateway?
Stored volumes - Entire Dataset is stored on site and asynchronously backed up to S3
Cached Volumes
Entire Dataset is stored on S3 and the most accessed data is cached on site.
What is Tape Gateway?
A way to put all your tape backup on AWS
How do you access the APIs and Command Line?
Using the Access Key ID and Secret Access Key.
Is Termination Protection automatically turns on or off when provisioning new EC2 EBS voumes?
Off.
The default action is for the root EBS volume to be deleted when the instance is terminated.
When you make a rule change on a security group in an EC2 instance, does that change take affect immediately?
Yes!
What is the difference between a security group and a NACL?
A security group are statefull and NACL are stateless. When you create an inbound rule an outbound rule is created automatically. When something is allowed in with a security group, it is automatically allowed out. This prevents security groups can therefore not be used for blacklisting, but NACL can be used for blacklisting.
What is a security group?
A virtual firewall.
Is all traffic blocked by default on EC2?
Yes. But all outbound traffic is automatically allowed.
How do you move your EC2 Instance and EBS Volume(s) into another availability zone and/or region?
Create a EBS Snapshot then create an AMI from that `Snapshot, then launch that AMI into the new availability zone.
You can create an AMI from Snapshots and volumes.
What is the difference between EBS and Instance Store?
For EBS VolumesL The root device for an instance launched from the AMI is an EBS volume created from an EBS Snapshot.
For Instance Store Volumes: The root device is an instance launched from the AMI is an instance store volume created from a template stored in Amazon S3
What is the difference between EBS and Instance Store?
For EBS VolumesL The root device for an instance launched from the AMI is an EBS volume created from an EBS Snapshot.
For Instance Store Volumes: The root device is an instance launched from the AMI is an instance store volume created from a template stored in Amazon S3