EC2 storage comes in two flavors, and the exam tests the crucial difference: whether the data survives when the instance stops.
Ephemeral vs persistent
Instance store is physically attached local disk — very fast, but ephemeral: data is lost when the instance stops or terminates. EBS is network-attached and persistent: data survives stop/start and can be detached and reattached. Need data to persist? EBS. Need fast temporary scratch space? Instance store.
Choosing local vs persistent storage
Instance store is appropriate for temporary buffers, caches, and scratch data that can be recreated. EBS is appropriate for operating-system volumes, databases, and application data that must survive an instance stop/start. EBS volumes are Availability Zone-specific; snapshots can help create a volume in another AZ.
Exam traps: Instance-store data can be lost when an instance stops or terminates, so do not use it as the only copy of durable data. EBS persistence does not replace backups: use snapshots and a recovery plan for accidental deletion or corruption. Check the instance type because instance-store availability varies.
Test yourself
An application needs its data to persist even after the EC2 instance is stopped and started again. Which storage should hold that data?
- Instance store
- Amazon EBS
- EC2 RAM
- A placement group
👉 Click to reveal the answer & explanation
Correct answer: B. EBS is persistent network-attached storage that survives stop/start. Instance store (A) is ephemeral and lost on stop; RAM (C) is volatile; a placement group (D) controls instance placement, not storage persistence.
Related topics
Amazon EC2 · EBS Volume Types · EBS Snapshots
Build your AWS certification readiness
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access to your selected certification pack
Explore AWS Practice Exam Packs →or choose a free practice exam