Data Management Flashcards
If you provision a 1TB EBS volume but only use 1GB, what are you charged for?
1TB, You are charged for what you provision
What 4 types of EBS Volumes are there?
GP2 - General Purpose SSD
Io1 - Provisioned IOPS SSD
SC1 - Cold HDD
ST1 - Throughput Optimized HDD
What are the lowest cost EBS options?
ST1 - Throughput Optimized
SC1 - Cold
What EBS volume types are good for random access
SSD for random access
What EBS volume types are good for sequential access?
HDD for sequential access
What are the 3 types of boot volumes?
GP2 - General Purpose SSD
Io1 - Provisioned IOPS
Magnetic
What 2 volume types cannot be root volumes?
SC1 - Cold HDD
ST1 - Thhroughput Optimized HDD
What are the use cases for the 5 EBS types?
General Purpose SDD - Most Workloads Provisioned IOPS SSD - Databases Throughput Optimized HDD - Big Data Warehouses Cold HDD - File Servers EBS Magnetic - Infrequently accessed
How can you view the attached volumes for your ec2 instance?
SSH into the instance and run “lsblk”
What command do you run to list special information such as file system type?
sudo file -s /dev/xvdb
What if the “sudo file -s /dev/xvdb” command returns “data”?
That means there is no file system on the device and we must create one
How do you create a file system?
Run “sudo mkfs -t ext4 /dev/xvdb”
For GP2, how do you calculate Throughput in MiB/s?
(Volume size in GB) x (IOPS per GB) x (I/O size inKiB)
What are the 3 steps to migrate an EBS Volume to a different AZ?
- Snapshot the volume
- Copy the volume to a different region
- Create a volume from the snapshot in the new AZ
What is the difference between a RAID 0 and RAID 1 configuration?
RAID 0 is for high performance but low fault tolerance. RAID 1 is for high fault tolerance