Data Management Flashcards

1
Q

If you provision a 1TB EBS volume but only use 1GB, what are you charged for?

A

1TB, You are charged for what you provision

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

What 4 types of EBS Volumes are there?

A

GP2 - General Purpose SSD
Io1 - Provisioned IOPS SSD
SC1 - Cold HDD
ST1 - Throughput Optimized HDD

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

What are the lowest cost EBS options?

A

ST1 - Throughput Optimized

SC1 - Cold

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

What EBS volume types are good for random access

A

SSD for random access

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

What EBS volume types are good for sequential access?

A

HDD for sequential access

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

What are the 3 types of boot volumes?

A

GP2 - General Purpose SSD
Io1 - Provisioned IOPS
Magnetic

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

What 2 volume types cannot be root volumes?

A

SC1 - Cold HDD

ST1 - Thhroughput Optimized HDD

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

What are the use cases for the 5 EBS types?

A
General Purpose SDD - Most Workloads
Provisioned IOPS SSD - Databases
Throughput Optimized HDD - Big Data Warehouses
Cold HDD - File Servers
EBS Magnetic - Infrequently accessed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you view the attached volumes for your ec2 instance?

A

SSH into the instance and run “lsblk”

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

What command do you run to list special information such as file system type?

A

sudo file -s /dev/xvdb

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

What if the “sudo file -s /dev/xvdb” command returns “data”?

A

That means there is no file system on the device and we must create one

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

How do you create a file system?

A

Run “sudo mkfs -t ext4 /dev/xvdb”

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

For GP2, how do you calculate Throughput in MiB/s?

A

(Volume size in GB) x (IOPS per GB) x (I/O size inKiB)

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

What are the 3 steps to migrate an EBS Volume to a different AZ?

A
  • Snapshot the volume
  • Copy the volume to a different region
  • Create a volume from the snapshot in the new AZ
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference between a RAID 0 and RAID 1 configuration?

A

RAID 0 is for high performance but low fault tolerance. RAID 1 is for high fault tolerance

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

What is the Cloudwatch metric collection interval for GP2?

A

Every 5 minutes

17
Q

What is the Cloudwatch metric collection interval for IO1?

A

Every 1 minute

18
Q

What are the 3 main EBS Cloudwatch Metrics?

A
  • VolumeIdleTime
  • VolumeQueueLength
  • BurstBalance
19
Q

What protocol does EFS use?

A

NFSv4.1

20
Q

How do you calculate Throughput for Io1?

A

PIOPS x I/O