← Back to Home

Databases & Analytics

AWS CLF-C02 — Relational, NoSQL, Data Warehousing, ETL, and Purpose-Built Databases

Relational vs NoSQL Databases

FeatureRelational (SQL)NoSQL
Data ModelTables with rows and columns, strict schemaKey-value, document, graph, wide-column; flexible schema
RelationshipsJoins across tables using foreign keysDenormalized data, embedded documents
ScalingPrimarily vertical (scale up)Horizontal (scale out) with ease
Query LanguageSQL (Structured Query Language)Varies by database type
Best ForComplex queries, transactions, ACID complianceHigh throughput, flexible schemas, low latency

Amazon RDS (Relational Database Service)

A managed relational database service. AWS handles provisioning, patching, backups, and recovery. You cannot SSH into the underlying instance.

Supported Engines (6 total)

Key Features

Exam Tip:

Multi-AZ = Disaster Recovery (high availability). Read Replicas = Read Scaling (performance). These are two different features with different purposes!

Amazon Aurora

AWS proprietary relational database, part of RDS. Cloud-optimized with massive performance gains.

Aurora Serverless

Key Point:

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.

Amazon DynamoDB

Fully managed, serverless NoSQL database with single-digit millisecond latency at any scale.

DynamoDB Accelerator (DAX)

DynamoDB Global Tables

Exam Tip:

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).

Amazon Redshift

Fully managed data warehouse service for Online Analytical Processing (OLAP).

Redshift Serverless

Key Point:

OLTP (transactions, row operations) = RDS / Aurora. OLAP (analytics, complex queries across large datasets) = Redshift. Know the difference!

Amazon ElastiCache

Managed in-memory data store/cache service. Sub-millisecond latency for caching frequently accessed data.

FeatureRedisMemcached
Data PersistenceYes (backup/restore)No
ReplicationMulti-AZ with auto-failoverNo replication
Data TypesRich (strings, hashes, lists, sets, sorted sets)Simple key-value
Use CaseComplex data, HA neededSimple caching, multi-threaded
Exam Tip:

ElastiCache = in-memory caching for databases (Redis/Memcached). DAX = in-memory caching specifically for DynamoDB. Don't confuse the two!

Amazon Athena

Serverless interactive query service to analyze data directly in Amazon S3 using standard SQL.

Exam Tip:

"Serverless SQL queries on S3" = Athena. Anytime you see "analyze data in S3" or "query S3 data," think Athena.

Amazon QuickSight

Serverless, machine learning-powered business intelligence (BI) service for creating interactive dashboards.

Amazon EMR (Elastic MapReduce)

Managed cluster platform for big data processing using Hadoop ecosystem tools.

AWS Glue

Serverless extract, transform, and load (ETL) service to prepare and transform data for analytics.

Key Point:

Glue = Serverless ETL. Glue Data Catalog = central metadata store (like a table of contents for all your data across S3, RDS, Redshift, etc.).

Other Purpose-Built Databases

ServiceTypeKey Details
Amazon NeptuneGraph DatabaseFully managed graph database. Use for social networks, knowledge graphs, fraud detection. Supports billions of relationships, millisecond query latency.
Amazon DocumentDBDocument DatabaseMongoDB compatible. Fully managed, highly available with replication across 3 AZs. Used for content management, catalogs, user profiles.
Amazon QLDBLedger DatabaseQuantum 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 BlockchainBlockchainJoin public blockchain networks or create/manage decentralized private networks. Supports Hyperledger Fabric and Ethereum.
Amazon TimestreamTime-Series DatabaseFully 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 DMSMigration ServiceDatabase 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.
Exam Tip:

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.

Database Selection Cheat Sheet

NeedService
Relational database (managed)Amazon RDS / Aurora
NoSQL key-value, serverlessAmazon DynamoDB
In-memory cache for DBAmazon ElastiCache
In-memory cache for DynamoDBDynamoDB DAX
Data warehouse (OLAP)Amazon Redshift
SQL queries on S3Amazon Athena
BI dashboardsAmazon QuickSight
Big data / HadoopAmazon EMR
ETL & data catalogAWS Glue
Graph databaseAmazon Neptune
MongoDB compatibleAmazon DocumentDB
Immutable ledgerAmazon QLDB
Decentralized blockchainManaged Blockchain
IoT time-seriesAmazon Timestream
Database migrationAWS DMS