AWS 7.1 Amazon EBS Block Storage Flashcards

(32 cards)

1
Q

What is Amazon EBS and what type of storage does it provide?

A

Amazon EBS provides persistent block storage for EC2 instances.

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

What does “block storage” mean in EBS?

A

Data is stored in fixed-size blocks, allowing direct access and modification of specific parts of a file.

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

Explain the key difference between block storage and object storage using an example.

A

Block storage → change 1 character = update only that block
Object storage → change 1 character = rewrite entire file

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

Why is block storage more efficient than object storage for certain workloads?

A

Because only the modified blocks need to be updated, instead of rewriting the entire file.

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

Why is EBS considered high performance?

A

Because it provides:
* Low latency
* High throughput
* Direct attachment to EC2

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

What does it mean that EBS volumes are persistent?

A

Data remains even if the EC2 instance is stopped or restarted.

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

How does AWS ensure durability of EBS volumes?

A

By automatically replicating data within an Availability Zone.

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

Can EBS volumes be attached to multiple instances simultaneously?

A

Typically no (standard EBS), they are attached to one instance at a time.

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

What is a snapshot in EBS?

A

A backup of an EBS volume stored in Amazon S3.

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

What is the baseline snapshot?

A

The first full snapshot of a volume.

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

How do subsequent snapshots differ from the baseline snapshot?

A

They are incremental, storing only the changes since the last snapshot.

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

Why are incremental snapshots more efficient?

A

Because they reduce:
* Storage cost
* Backup time

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

What can you do with an EBS snapshot?

A

Restore volumes
* Create new volumes
* Copy across regions
* Share with other accounts

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

Why are snapshots important for disaster recovery?

A

They allow data to be restored quickly in another region.

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

What are the main EBS volume types?

A
  • SSD (gp, io)
  • HDD (st, sc)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which EBS volume type is best for high-performance workloads?

A

Provisioned IOPS SSD

17
Q

Which EBS type is suitable for general-purpose workloads?

A

General Purpose SSD

18
Q

Which workloads are HDD-based EBS volumes suited for?

A

Large sequential workloads
* Big data
* Data warehousing

19
Q

What is IOPS in EBS?

A

Input/Output Operations Per Second — a measure of storage performance.

20
Q

How is SSD pricing in EBS calculated?

A

Based on:
* Storage provisioned (GB/month)
* IOPS (if provisioned)

21
Q

How is HDD-based EBS pricing calculated?

A

Based on:
* Throughput
* Number of requests

22
Q

What is the cost implication of provisioned storage?

A

You pay for allocated storage, even if unused.

23
Q

What happens if you increase EBS volume size?

A

Capacity increases and cost increases accordingly.

24
Q

Can EBS volumes be resized without stopping instances?

A

Yes, they can be resized dynamically.

25
What is data transfer cost in EBS?
Charges may apply when data is transferred between regions.
26
Are snapshot storage costs free?
No, you are charged based on data stored in snapshots.
27
Why is EBS preferred for databases?
Because of: * Low latency * High performance * Persistent storage
28
A database requires fast, consistent performance. Which EBS type should be used?
Provisioned IOPS SSD
29
A company needs cheap storage for large log files. Best option?
HDD-based EBS
30
A company wants to reduce storage costs but still maintain backups. What should they do?
Use incremental snapshots instead of full backups
31
If an EC2 instance is terminated, what happens to attached EBS volumes?
By default: * Root volume → deleted * Additional volumes → remain (unless configured otherwise)
32
Explain how EBS supports scalability and flexibility in cloud storage.
* Volumes can be resized * Snapshots allow replication and recovery * Multiple volume types for different workloads