Purpose-built databases
Choosing between RDS, Aurora, DynamoDB, DocumentDB, Neptune, Keyspaces, Timestream, MemoryDB, Redshift and OpenSearch, and the DynamoDB and Aurora features the exam tests.
Exam tasks: 2.5 (select database and storage for performance), 4.3 (choose new architectures, including purpose-built databases)
The decision: what shape is the data and the access pattern (relational joins, key lookups, documents, graph traversals, time series, analytics or search), and how much scale, latency and operational effort is acceptable?
Choosing a database
Time-series data (IoT sensors, metrics) with time-window queries goes to Timestream, and a ledger or audit trail usually lands in a regular database with an append-only design (see the QLDB note below).
Side by side
| Service | Model | Signals in a question |
|---|---|---|
| RDS | Relational: MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, Db2 | Commercial engine, lift and shift, license needs |
| Aurora | Relational, MySQL- or PostgreSQL-compatible | High throughput, 15 replicas, fast failover, global reads |
| Aurora DSQL | Distributed serverless PostgreSQL-compatible | Active-active SQL across Regions |
| DynamoDB | Key-value and document | Single-digit ms at any scale, serverless, known access patterns |
| DocumentDB | Document, MongoDB-compatible | Migrate a MongoDB workload with minimal changes |
| Neptune | Graph (Gremlin, openCypher, SPARQL) | Social networks, fraud rings, recommendations, knowledge graphs |
| Keyspaces | Wide-column, Cassandra-compatible (CQL) | Migrate Cassandra without running clusters |
| Timestream | Time series | IoT telemetry, DevOps metrics, time-window queries |
| MemoryDB | Durable in-memory, Valkey- and Redis OSS-compatible | Microsecond reads and durability as the primary DB |
| Redshift | Columnar data warehouse | BI, complex aggregations, petabyte analytics |
| OpenSearch Service | Search and log analytics | Full-text search, log exploration, dashboards |
Legacy: use Aurora PostgreSQL or DynamoDB with an append-only design instead
Amazon QLDB, the managed ledger database, reached end of support in July 2025. Older material still names it as the answer for an immutable, cryptographically verifiable journal.
Legacy: use Timestream for InfluxDB instead
Timestream for LiveAnalytics closed to new customers in June 2025. New time-series designs use Timestream for InfluxDB. Exam questions that just say "Timestream" still mean the time-series service in general.
Service pages
- Amazon DynamoDB: keys, capacity math, indexes, streams and global tables.
- Amazon RDS and Aurora: Multi-AZ, replicas, Global Database, backups and encryption.
- Amazon ElastiCache: engines, failover, security and caching strategies.
The rest, briefly
- DocumentDB: storage architecture like Aurora's, MongoDB API compatibility, global clusters. Elastic clusters shard for very large write scale.
- Neptune: use it when queries walk relationships several hops deep, which is slow and awkward in SQL. Neptune Analytics handles large in-memory graph algorithms.
- Keyspaces: serverless Cassandra. No nodes, compaction or repair to manage.
- MemoryDB: a Multi-AZ transaction log makes writes durable, so it can be the only database. ElastiCache is a cache in front of another database.
- Redshift: RA3 nodes separate compute from managed storage. Redshift Serverless for intermittent use. Concurrency scaling handles bursts. See analytics patterns.
- OpenSearch Service: see analytics patterns.
Scenarios
Multi-AZ gives automatic failover to a synchronous standby, and a read replica takes the reporting load off the primary. A Multi-AZ instance standby can't be read (a Multi-AZ DB cluster would change this, but it isn't an option here). DAX works only with DynamoDB. Snapshots don't help with performance or failover.
Multi-hop relationship traversal is the core graph-database use case, and Neptune runs it with Gremlin or openCypher. Redshift is built for aggregations, not low-latency traversals. DynamoDB GSIs can model one hop but multi-hop queries need many round trips. OpenSearch is for search and log analytics.
A GSI can be added to an existing table and can use a different partition key, which a cross-user query needs. An LSI can only be created with the table and keeps the user ID partition key. Streams record changes, not a queryable index. PITR restores keep the original key schema.
Related
- Database migration: DMS and SCT move data into these engines.
- Caching: Caches that protect them.
- Disaster recovery: Replication options per engine.
- DynamoDB and RDS and Aurora: the dedicated service pages.
Further reading
Hybrid and edge compute
Choosing between Outposts racks, Outposts servers, Local Zones and Wavelength Zones when a workload must run close to users, devices or a data center.
Amazon DynamoDB
Key design, capacity math, indexes, consistency, streams, global tables, backups and security for DynamoDB, with the limits the exam asks about.