EC2 Instance Storage - Elastic Block Store (EBS) Volume Flashcards

1
Q

What are the pros of using an EBS volume? List two

A
  1. Data is persisted even if an instance is terminated.
  2. They can be attached to another instance quickly and easily.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What is an EBS Volume?

A

An Elastic Block Store volume is a network drive you can attach to your instance while they run. Think of them as network USB stick.

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

True or False? EBS volumes can be transferred across different AZs.

A

False. They are bound to a specific AZ.

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

What are cons of using EBS volumes? List two

A
  1. Latency issues as they use the network to communicate to the instance.
  2. They are locked to a specific AZ. They can only be moved if you create a snapshot of it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False? Both the root EBS volume as well as any attached volumes are not deleted on termination by default.

A

False. Although it’s true that any attached EBS volume is set to not be deleted on termination by default, the root volume is set to delete upon termination by default.

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

What is an EBS Snapshot?

A

It is a backup (snapshot) of your EBS volume at a point in time which allows you to copy the data over to another AZ or Region.

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

True or False? It isn’t necessary to detach the EBS volume before making the snapshot.

A

True. Although it is recommended to detach it first.

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

What is the EBS Snapshot Archive?

A

It allows you to move a snapshot to an “archive tier”

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

List one pro and con for EBS Snapshot Archive?

A

Pro: It makes storing the snapshot far cheaper (around 75%).

Con: It takes within 24 to 72 hours to restore the archived data.

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

List two things that can be configured fro the EBS Snapshot Recycle Bin?

A
  1. You can setup rules to retain deleted snapshots so they can be recovered after an accidental deletion.
  2. You can configure a retention policy (from 1 day to 1 year).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Fast Snapshot Restore (FSR)?

A

It allows you to force the full initialisation of a snapshot so it doesn’t have latency issues on the first use. However this is expensive.

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

List the 6 types of EBS Volumes?

A

gp2/gp3 (SSD): General purpose SSD volume that balances price and performance for a wide variety of workloads

io1/io2 Block Express (SSD): Highest performance SSD volume for mission critical low-latency or high-through-put workloads

st1 (HDD): Low cost Hard Disk Drive (HDD) volume designed for frequently accessed, throughput intensive workloads.

sc1 (HDD): Lowest cost HDD volume designed for less frequently accesse workloads.

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

What EBS Volume types can be used as a boot volume?

A

Only gp2/gp3 and io1/io2 Block Express can be used as boot volumes

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

What feature allows EBS volumes to be attached to multiple instances within an AZ? And what EBS Volume types allow this feature?

A

EBS Multi-Attach. Must be an io1/io2 EBS volume.

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

True or False? Each instance has full read and write permissions to the high performance multi-attach EBS volume?

A

True

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

How many instances can a multi-attach EBS volume be attached to?

A

Up to 16 instances at a time.

16
Q

What four things are encrypted when an EBS Volume is created?

A
  1. Data at rest within the volume
  2. Data that’s moving between the instance and the volume
  3. All Snapshots
  4. All Volumes created from the snapshot
17
Q

How would you encrypt an unencrypted EBS Volume?

A

Create a snapshot

Encrypt the snapshot by using the copy function (this can be skipped by doing the next step)

Create a new EBS Volume from the snapshot and enable encryption