EC2 Instance Storage Flashcards

1
Q

What is an EBS Volume?

A

A network drive attached to EC2 instances that persists data even after termination.

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

Can EBS volumes be mounted to multiple instances?

A

No, only one instance at a time.

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

Are EBS volumes AZ-specific?

A

Yes, they are bound to a specific Availability Zone.

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

What is a good analogy for an EBS volume?

A

A network USB stick.

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

What is included in the EBS free tier?

A

30 GB/month of General Purpose SSD or Magnetic storage.

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

How is an EBS volume connected?

A

Over the network, which can introduce latency.

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

Can EBS volumes be detached and reattached?

A

Yes, quickly between instances in the same AZ.

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

How do you move an EBS volume across AZs?

A

Create a snapshot, then restore it in the new AZ.

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

What does the ‘Delete on Termination’ attribute do?

A

Controls whether the EBS volume is deleted when the EC2 instance is terminated.

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

What is an EBS Snapshot?

A

A point-in-time backup of an EBS volume.

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

Do you need to detach a volume to take a snapshot?

A

No, but it is recommended.

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

Can you copy EBS snapshots across AZs and Regions?

A

Yes.

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

What is the EBS Snapshot Archive?

A

A low-cost storage tier for EBS snapshots, slower to restore.

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

What is the Recycle Bin for EBS Snapshots?

A

Allows retention of deleted snapshots for recovery.

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

What is Fast Snapshot Restore (FSR)?

A

Pre-initializes snapshots to avoid latency on first use.

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

What is an AMI?

A

Amazon Machine Image, a template to launch EC2 instances.

17
Q

What is included in an AMI?

A

Custom software, OS, configs, and monitoring.

18
Q

How do you create an AMI from an EC2 instance?

A

Stop the instance, create AMI, which also creates EBS snapshots.

19
Q

What is EC2 Instance Store?

A

High-performance local storage that is ephemeral.

20
Q

When is EC2 Instance Store data lost?

A

When the instance is stopped or hardware fails.

21
Q

What are the 6 EBS volume types?

A

gp2, gp3, io1, io2, st1, sc1.

22
Q

Which EBS types can be used as boot volumes?

A

gp2, gp3, io1, io2.

23
Q

What is the baseline IOPS for gp3?

A

3,000 IOPS and 125 MiB/s throughput.

24
Q

How does gp2 IOPS scale?

A

3 IOPS per GB, up to 16,000 IOPS.

25
What is io2 Block Express's max IOPS?
Up to 256,000 with a 1000:1 IOPS:GiB ratio.
26
What is EBS Multi-Attach?
Allows io1/io2 volumes to be attached to multiple EC2 instances in the same AZ.
27
What kind of file system is required for Multi-Attach?
Cluster-aware file systems.
28
What is Amazon EFS?
Managed NFS that supports multi-AZ and multi-instance mounting.
29
What protocol does EFS use?
NFSv4.
30
Is EFS compatible with Windows?
No, only Linux-based AMIs.
31
How is EFS secured?
With security groups and encryption via KMS.
32
How does EFS scale?
Automatically, up to petabyte-scale and 10+ GB/s throughput.
33
What are the EFS performance modes?
General Purpose and Max I/O.
34
What are the EFS throughput modes?
Bursting, Provisioned, and Elastic.
35
What are the EFS storage tiers?
Standard, Infrequent Access (IA), Archive.
36
How is data tiered in EFS?
Using lifecycle policies.
37
What is the availability model of EFS One Zone?
Single AZ, good for dev, lower cost.
38
How does EFS differ from EBS?
EFS supports multi-AZ/multi-instance; EBS is AZ-locked and single-instance.
39
What should you do before migrating an EBS volume to another AZ?
Take a snapshot and restore in the new AZ.