What is Amazon EBS and what type of storage does it provide?
Amazon EBS provides persistent block storage for EC2 instances.
What does “block storage” mean in EBS?
Data is stored in fixed-size blocks, allowing direct access and modification of specific parts of a file.
Explain the key difference between block storage and object storage using an example.
Block storage → change 1 character = update only that block
Object storage → change 1 character = rewrite entire file
Why is block storage more efficient than object storage for certain workloads?
Because only the modified blocks need to be updated, instead of rewriting the entire file.
Why is EBS considered high performance?
Because it provides:
* Low latency
* High throughput
* Direct attachment to EC2
What does it mean that EBS volumes are persistent?
Data remains even if the EC2 instance is stopped or restarted.
How does AWS ensure durability of EBS volumes?
By automatically replicating data within an Availability Zone.
Can EBS volumes be attached to multiple instances simultaneously?
Typically no (standard EBS), they are attached to one instance at a time.
What is a snapshot in EBS?
A backup of an EBS volume stored in Amazon S3.
What is the baseline snapshot?
The first full snapshot of a volume.
How do subsequent snapshots differ from the baseline snapshot?
They are incremental, storing only the changes since the last snapshot.
Why are incremental snapshots more efficient?
Because they reduce:
* Storage cost
* Backup time
What can you do with an EBS snapshot?
Restore volumes
* Create new volumes
* Copy across regions
* Share with other accounts
Why are snapshots important for disaster recovery?
They allow data to be restored quickly in another region.
What are the main EBS volume types?
Which EBS volume type is best for high-performance workloads?
Provisioned IOPS SSD
Which EBS type is suitable for general-purpose workloads?
General Purpose SSD
Which workloads are HDD-based EBS volumes suited for?
Large sequential workloads
* Big data
* Data warehousing
What is IOPS in EBS?
Input/Output Operations Per Second — a measure of storage performance.
How is SSD pricing in EBS calculated?
Based on:
* Storage provisioned (GB/month)
* IOPS (if provisioned)
How is HDD-based EBS pricing calculated?
Based on:
* Throughput
* Number of requests
What is the cost implication of provisioned storage?
You pay for allocated storage, even if unused.
What happens if you increase EBS volume size?
Capacity increases and cost increases accordingly.
Can EBS volumes be resized without stopping instances?
Yes, they can be resized dynamically.