Chapter 3 Hello, Storage Flashcards
Enumerate data value types from lowest to highest relevance
- Transient
- Reproducible
- Authoritative
- Critical/Regulated
What can you do on an existing EBS volume, and would these changes require service interruption?
- increase size
- modify IOPS capacity
- change volume type
No service interruptions are required
Why are EBS snapshots cost effective?
They implement incremental backup strategies. So, for example, if 5GB of a 100GB volume had changed, the backup is only 5GB large.
Amazon EBS Optimization
This is an EBS features which allows an instance to prevent network contention for an EBS volume. It will make sure EBS related traffic is kept separate from general network traffic.
What is “initialization” in regard to snapshots?
EBS volumes restored from snapshots are slower than a new EBS volume at the point at which a block is accessed for the first time. If you want to avoid this performance penalty, you can ‘initialize’ the volume by accessing each block before putting it into production
What data access behavior is sub optimal for HDD?
small, random I/O
Strategies for degraded HDD performance?
- Configure read-ahead for ready heavy workloads
- use RAID 0 configuration
- track performance via Amazon CloudWatch
What to do if EBS is root volume for instance but instance is inacessible?
Make new EC2 instance, detach EBS volume from failing instance and attach to new instance
Describe bucket limitations
- They are flat (no nested buckets)
- only 100 buckets per accounts
- must be empty to delete it
What happens when you delete an object in a versioned bucket?
A delete ‘marker’ is applies on the object, so it is inaccessible. But administrators can still access the data.
What is reason for versioning in S3?
- protect from accidental deletion
- recover earlier version
- retrieve deleted objects
Can you revert a bucket to an unversioned state?
No, but you can copy all the versioned objects into a new unversioned bucket and use that bucket going forward
Benefits of tagging objects
- Can create fine grained access (i.e. permission for certain tags)
- Fine grained control in lifecycle management
- Filters in S3 Analytics
- Customize CloudWatch Metrics based on tag filters
What is a vault lock?
A set of policies used for compliance on S3 Glacier Vault. An example policy is ‘write once read many’. A a vault lock is permanent.
What is the base unit of storage in S3 Glacier?
An archive
Can you assign a key name to S3 Glacier Archives?
No, you simply receive a sequence of characters as an identifier when you upload
What is minimum # of AZs used by all S3 storage classes (except OneZone_IA)
3
What data consistency model does S3 follow?
Eventual consistency, but it uses read after write consistency for PUT operations of new objects.
What is envelope encryption?
- A data key is generated
- Data is encrypted with data key.
- Data key itself is encrypted with existing encryption key.
- Encrypted data and data key stored by AWS storage service.
*The key encrypting key are stored and managed separately from the data and data keys