EBS: Elastic Block Store Flashcards

1
Q

How resilient is Elastic Block Storage?

A

EBS is Availability Zone resilient. Data is stored in one AZ.

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

How resilient are Elastic Block Storage snapshots?

A

EBS snapshots are Region resilient.

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

How is EBS billed?

A

There is a GB/month fee. There may also be an additional fee for enhanced performance.

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

How can you move an EBS volume that is attached to an EC2 instance in AZ-A to an EC2 instance in AZ-B?

A

You cannot move the EBS volume to AZ-B. However, you can take a snapshot of the EBS volume, which will be stored in S3. Because S3 is a Region service, you can create a new EBS volume in AZ-B based on the snapshot and then attach the new volume to the EC2 instance in AZ-B.

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

What is the default, general purpose SSD storage provided by EBS?

A

GP2.

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

What is the volume size range for GP2 and GP3?

A

1GB - 16TB.

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

What is the size of an IO Credit?

A

16KB. Since an IOP assumes a 16KB size, this is essentially one IOP.

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

What is the maximum capacity of the EBS IO Credit Bucket for GP2?

A

5.4M IO Credits.

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

What is the minimum refill rate of the EBS IO Credit Bucket for GP2?

A

100 IO Credits per second.

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

How much does the Baseline Performance add to the EBS IO Credit Bucket refill rate for GP2?

A

3 IO Credits per second per GB of volume size.

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

What is the burst rate of the EBS IO Bucket for GP2?

A

3,000 IOPS

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

At what size volume does the refill rate begin to exceed the burst rate?

A

1,000 GB

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

What happens when the refill rate of the IO Credit Bucket exceeds the burst rate of GP2 on EBS?

A

The credit system is no longer used. You always achieve the baseline performance up to a maximum of 16,000 IO Credits per second.

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

Which General Purpose SSD generation uses the Credit Bucket system?

A

GP2.

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

What is the minimum IOPS and throughput for GP3?

A

3,000 IOPS and 125 MB/s.

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

What is the maximum IOPS and throughput for GP3?

A

16,000 IOPS and 1,000 MB/s for an additional cost.

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

When should you use Provisioned IOPS SSD (io1 or io2)?

A

For consistent low latency.

18
Q

What is the maximum IOPS per volume for io1 and io2?

A

64,000 IOPS per volume.

19
Q

What is the maximum throughput for io1 and io2?

A

1,000 MB/s.

20
Q

What is the range of volume sizes for io1 and io2?

A

4GB-16TB.

21
Q

What is the maximum IOPS/GB that can be provisioned for io1 compared to io2?

A

50 IOPS/GB for io1.
500 IOPS/GB for io2.

22
Q

Using multiple volumes with a single EC2 instance, what is the maxium performance you can achieve using io1 and io2?

A

260,000 IOPS and 7,500 MB/s for io1.
160,000 IOPS and 4,750 MB/s for io2.

23
Q

When would you use io1 or io2?

A

For applications that demand high performance and have latency sensitive workloads.

24
Q

When would you use HDD-based volumes?

A

Use st1 for throughput optimized, sequential access applications where low cost is more important than high performance. Use for big data, data warehouses, and log processing.

Use sc1 for throughput optimized application where access is infrequent. This is the lowest cost EBS storage type. Use for data requiring fewer scans per day.

25
Q

How do Instance Store volumes compare to EBS volumes in terms of IOPS and throughput?

A

Instance Store volumes provide many more IOPS and much greater throughput that EBS.

26
Q

What are the cheapest types of EBS storage?

A

ST1 and SC1

27
Q

Can you boot from ST1 and SC1 EBS volumes?

A

No.

28
Q

What is the maximum IOPS on GP2/3?

A

16,000 IOPS.

29
Q

What is the maximum IOPS on IO1/2?

A

64,000 IOPS.

30
Q

What is the maximum IOPS for a RAID0 set of EBS volumes?

A

260,000 IOPS because of the limitation on IOPS per EC2 instance.

31
Q

Where are EBS Snapshots stored?

A

S3, making them Region resilient.

32
Q

What type of backup are EBS Snapshots?

A

Incremental.

33
Q

What type of restore is used with EBS Snapshots and how can any limitations be overcome?

A

EBS Snapshots use lazy load restoration. The Fast Snapshot Restore (FSR) feature can enable an immediate restore.

34
Q

How many Fast Snapshot Restores can you enable?

A

Up to 50 per region. One Snapshot + AZ combo is consider one FSR.

35
Q

How are EBS Snapshots billed?

A

Per GB/month on used (not allocated data).

36
Q

Can AWS Accounts be set to encrypt EBS data by default?

A

Yes, using the default KMS Key or a KMS Key you specify.

37
Q

What is the KMS Key used for with regards to encrypted EBS volumes?

A

The KMS key is used to generate one unique Data Encryption Key (DEK) for a volume. The KMS key is also used to decrypted the DEK when the DEK is need to encrypt/decrypt data.

38
Q

When is a DEK reused in EBS volume encryption?

A

Only to encrypt Snapshots of a volume and the future volumes created from those Snapshots.

39
Q

How do you remove encryption from an EBS volume?

A

You cannot remove encryption from an EBS volume.

40
Q

Is the Operating System of an EC2 instance aware of EBS encryption?

A

No. Encryption is handled between the EC2 host and the volume, meaning there is no performance loss.

41
Q

How many EC2 instances can a GP2 volume be attached to at a time?

A

One.