AWS CLF-C02 — Relational, NoSQL, Data Warehousing, ETL, and Purpose-Built Databases
| Feature | Relational (SQL) | NoSQL |
|---|---|---|
| Data Model | Tables with rows and columns, strict schema | Key-value, document, graph, wide-column; flexible schema |
| Relationships | Joins across tables using foreign keys | Denormalized data, embedded documents |
| Scaling | Primarily vertical (scale up) | Horizontal (scale out) with ease |
| Query Language | SQL (Structured Query Language) | Varies by database type |
| Best For | Complex queries, transactions, ACID compliance | High throughput, flexible schemas, low latency |
A managed relational database service. AWS handles provisioning, patching, backups, and recovery. You cannot SSH into the underlying instance.
Multi-AZ = Disaster Recovery (high availability). Read Replicas = Read Scaling (performance). These are two different features with different purposes!
AWS proprietary relational database, part of RDS. Cloud-optimized with massive performance gains.
Aurora is NOT open source — it is AWS proprietary. But it is MySQL/PostgreSQL compatible, meaning applications can connect using standard MySQL or PostgreSQL drivers.
Fully managed, serverless NoSQL database with single-digit millisecond latency at any scale.
DynamoDB = serverless, NoSQL, millisecond latency, key-value. If the question mentions "serverless database" or "NoSQL," think DynamoDB. DAX is the in-memory cache for DynamoDB (not ElastiCache).
Fully managed data warehouse service for Online Analytical Processing (OLAP).
OLTP (transactions, row operations) = RDS / Aurora. OLAP (analytics, complex queries across large datasets) = Redshift. Know the difference!
Managed in-memory data store/cache service. Sub-millisecond latency for caching frequently accessed data.
| Feature | Redis | Memcached |
|---|---|---|
| Data Persistence | Yes (backup/restore) | No |
| Replication | Multi-AZ with auto-failover | No replication |
| Data Types | Rich (strings, hashes, lists, sets, sorted sets) | Simple key-value |
| Use Case | Complex data, HA needed | Simple caching, multi-threaded |
ElastiCache = in-memory caching for databases (Redis/Memcached). DAX = in-memory caching specifically for DynamoDB. Don't confuse the two!
Serverless interactive query service to analyze data directly in Amazon S3 using standard SQL.
"Serverless SQL queries on S3" = Athena. Anytime you see "analyze data in S3" or "query S3 data," think Athena.
Serverless, machine learning-powered business intelligence (BI) service for creating interactive dashboards.
Managed cluster platform for big data processing using Hadoop ecosystem tools.
Serverless extract, transform, and load (ETL) service to prepare and transform data for analytics.
Glue = Serverless ETL. Glue Data Catalog = central metadata store (like a table of contents for all your data across S3, RDS, Redshift, etc.).
| Service | Type | Key Details |
|---|---|---|
| Amazon Neptune | Graph Database | Fully managed graph database. Use for social networks, knowledge graphs, fraud detection. Supports billions of relationships, millisecond query latency. |
| Amazon DocumentDB | Document Database | MongoDB compatible. Fully managed, highly available with replication across 3 AZs. Used for content management, catalogs, user profiles. |
| Amazon QLDB | Ledger Database | Quantum Ledger Database. Records an immutable, cryptographically verifiable journal of changes. Used for financial transactions, supply chain, registration systems. No decentralization (unlike blockchain) — central trusted authority. |
| Amazon Managed Blockchain | Blockchain | Join public blockchain networks or create/manage decentralized private networks. Supports Hyperledger Fabric and Ethereum. |
| Amazon Timestream | Time-Series Database | Fully managed, serverless. For IoT and operational applications with time-series data. 1000x faster and 1/10th cost vs relational DBs for time-series workloads. |
| AWS DMS | Migration Service | Database Migration Service. Migrate databases to AWS. Supports homogeneous (same engine) and heterogeneous (different engines via Schema Conversion Tool) migrations. Source database remains available during migration. |
QLDB = immutable ledger, centralized (no decentralization). Managed Blockchain = decentralized, multiple parties, no central authority. Neptune = graph (social networks, recommendations). DocumentDB = MongoDB. Timestream = IoT time-series.
| Need | Service |
|---|---|
| Relational database (managed) | Amazon RDS / Aurora |
| NoSQL key-value, serverless | Amazon DynamoDB |
| In-memory cache for DB | Amazon ElastiCache |
| In-memory cache for DynamoDB | DynamoDB DAX |
| Data warehouse (OLAP) | Amazon Redshift |
| SQL queries on S3 | Amazon Athena |
| BI dashboards | Amazon QuickSight |
| Big data / Hadoop | Amazon EMR |
| ETL & data catalog | AWS Glue |
| Graph database | Amazon Neptune |
| MongoDB compatible | Amazon DocumentDB |
| Immutable ledger | Amazon QLDB |
| Decentralized blockchain | Managed Blockchain |
| IoT time-series | Amazon Timestream |
| Database migration | AWS DMS |