Search⌘ K
AI Features

Specialized Databases

Explore how to select and leverage AWS's specialized databases—Amazon Neptune for graph workloads, DocumentDB for flexible JSON documents, ElastiCache for caching, and MemoryDB for durable in-memory storage. This lesson helps you understand data models, access patterns, and architectural trade-offs critical to designing optimized enterprise-grade AWS solutions.

Enterprise architects must move beyond general-purpose database selection and instead match specialized engines to precise workload characteristics. AWS provides more than 15 purpose-built databaseA managed database engine architecturally optimized for a specific data model and access pattern rather than serving as a general-purpose store for all workload types. services, each optimized for a distinct data model and access pattern. The professional-level exam tests whether candidates can distinguish between engines that appear similar on the surface but differ fundamentally in their optimization targets, durability guarantees, and query capabilities. This lesson dissects four specialized services and builds a decision framework that eliminates common exam distractors.

Purpose-built databases in AWS

Traditional enterprise architectures forced all workloads into relational databases, creating performance bottlenecks when data models diverged from tabular structures. AWSs purpose-built database philosophy rejects this approach by offering engines that optimize for specific data structures, query patterns, and latency requirements.

The exam presents scenarios where multiple database services could technically work, but only one aligns precisely with the stated data model and access pattern. The four services covered here represent distinct optimization targets.

  • Amazon Neptune optimizes for graph traversals across highly connected datasets where relationship depth determines query complexity.

  • Amazon DocumentDB optimizes for flexible JSON document storage with MongoDB-compatible query and aggregation capabilities.

  • Amazon ElastiCache optimizes for ephemeral, sub-millisecond caching that reduces read pressure on primary data stores.

  • Amazon MemoryDB optimizes for durable, in-memory storage that eliminates the need to synchronize a separate cache with a backend database.

Selecting the wrong database type is a frequent exam distractor. Candidates often choose based on general performance claims rather than matching the specific data model. A workload requiring multi-hop relationship traversal demands Neptune, regardless of whether DynamoDB offers lower single-key latency. Understanding this distinction separates professional-level architects from those applying surface-level reasoning.

Attention: On the exam, low latency alone never determines the correct database choice. Always identify the data model and primary access pattern before evaluating performance characteristics.

The following sections examine each services ...