AWS Builder Center

AWS Cloud Practitioner Cheat Sheet: Demystifying Storage & Database Services (CLF-C02)

In this second article of my AWS learning series, we break down the core storage options (S3 vs. EBS vs. EFS) and primary database engines (RDS vs. DynamoDB) through practical scenarios and comparison matrices.

AWS Cloud Practitioner Cheat Sheet: Demystifying Storage & Database Services (CLF-C02)

When studying for the AWS Certified Cloud Practitioner exam, one of the biggest hurdles for candidates is differentiating between the various storage and database services. Scenarios on the exam often present subtle trade-offs between performance, access protocols, and data structures.
In this second article of my AWS learning series, we break down the core storage options (S3 vs. EBS vs. EFS) and primary database engines (RDS vs. DynamoDB) through practical scenarios and comparison matrices.

Part 1: Storage Services Comparison (Object vs. Block vs. File)

Choosing the wrong storage service can impact both application architecture and monthly costs. Here is how AWS categorizes its primary storage solutions:
Feature
Amazon S3
Amazon EBS
Amazon EFS
Storage Type
Object Storage
Block Storage
Shared File Storage
Access Method
HTTP/HTTPS API (Web)
Attached Virtual Drive
Network File System (NFSv4)
Ideal Use Case
Static files, backups, media
OS boot volumes, databases
Multi-EC2 shared directories
Scalability
Virtually unlimited
Fixed size (scalable on demand)
Auto-scaling capacity

Quick Architectural Rules:

  • Amazon S3 (Simple Storage Service): Best for unstructured data like images, videos, and logs accessible from anywhere via web URLs.
  • Amazon EBS (Elastic Block Store): High-performance storage tied to a single EC2 instance within the same Availability Zone. Think of it as a virtual hard drive.
  • Amazon EFS (Elastic File System): Serverless file storage that can be mounted concurrently to hundreds of EC2 instances across multiple Availability Zones.

Part 2: Relational vs. Non-Relational Databases

Understanding when to choose SQL over NoSQL is a recurring theme on the AWS Cloud Practitioner exam.
Plaintext
+----------------------------------+
| Select Database Architecture |
+----------------------------------+
|
+-----------------------+-----------------------+
| |
v v
[ Structured Data / SQL ] [ Key-Value / NoSQL ]
Amazon RDS / Aurora Amazon DynamoDB
- Complex Queries & Joins - Single-digit millisecond latency
- ACID Compliance - Seamless Auto-Scaling

1. Amazon RDS (Relational Database Service)

Managed relational database supporting engines like PostgreSQL, MySQL, MariaDB, Oracle, and SQL Server.
  • When to use: Applications requiring complex joins, foreign keys, and strict ACID compliance.
  • Exam Tip: Amazon Aurora is AWS's proprietary cloud-native relational engine, delivering up to 5x the performance of standard MySQL at a fraction of the cost.

2. Amazon DynamoDB

Fully managed, serverless NoSQL database service providing single-digit millisecond performance at any scale.
  • When to use: Key-value or document data structures with unpredictable traffic spikes, such as gaming leaderboards, user session stores, or e-commerce carts.

Join the Discussion

I am documenting my step-by-step progress towards the AWS Certified Cloud Practitioner certification.
Which storage or database service caused you the most confusion when you first started learning AWS?
Let us connect and share insights in the comments! If you found this cheat sheet useful, consider supporting my learning journey by voting on my community Wishlist.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article