AWS Database Specialty (DBS-C01) - Fact Sheet¶
β οΈ RETIRED April 29, 2024. No longer available for new candidates. Replaced by AWS Data Engineer - Associate (DEA-C01) for data-engineering roles. Material preserved as historical reference.
Quick Reference¶
Exam Code: DBS-C01 Duration: 180 minutes Questions: 65 questions Passing Score: 750/1000 Cost: $300 USD Validity: 3 years Difficulty: βββββ
Exam Domains¶
| Domain | Weight | Key Focus |
|---|---|---|
| Workload-Specific Database Design | 26% | Choose right database, data modeling |
| Deployment & Migration | 20% | Provisioning, DMS, migration strategies |
| Management & Operations | 18% | Monitoring, maintenance, automation |
| Monitoring & Troubleshooting | 18% | Performance tuning, diagnostics |
| Database Security | 18% | Encryption, IAM, network security |
AWS Database Services¶
Relational Databases¶
Amazon RDS - Engines: MySQL, PostgreSQL, MariaDB, Oracle, SQL Server - Multi-AZ: Synchronous replication, automatic failover < 60 sec - Read Replicas: Up to 15, asynchronous, cross-region - Automated backups: 0-35 days retention - Manual snapshots: Unlimited retention - π RDS Documentation - Main documentation hub - π RDS User Guide - Complete user guide - π RDS Multi-AZ - High availability - π Read Replicas - Read scaling - π RDS Backup - Automated backups - π RDS Snapshots - Manual snapshots - π RDS Proxy - Connection pooling
Amazon Aurora - MySQL and PostgreSQL compatible - 5x MySQL, 3x PostgreSQL performance - Storage: Auto-scales 10GB to 128TB - 6 copies across 3 AZs - Up to 15 read replicas - Global Database: < 1 sec cross-region replication, 5 secondary regions - Serverless v2: Scales 0.5-128 ACUs - π Aurora Documentation - Complete Aurora guide - π Aurora Best Practices - Performance and optimization - π Aurora Global Database - Multi-region - π Aurora Serverless - Auto-scaling - π Aurora Replicas - Read scaling - π Aurora Backup - Backup and restore
NoSQL Databases¶
Amazon DynamoDB - Key-value and document database - Single-digit millisecond latency - Capacity modes: On-demand or provisioned - Global Tables: Multi-region active-active - DynamoDB Streams: Change data capture - DAX: In-memory cache, microsecond latency - Backup: On-demand and PITR (point-in-time recovery) - π DynamoDB Documentation - Main documentation hub - π DynamoDB Developer Guide - Complete developer guide - π Global Tables - Multi-region replication - π DynamoDB Streams - Change data capture - π DAX - In-memory acceleration - π DynamoDB Backup - Backup and PITR - π Capacity Modes - On-demand vs provisioned
Amazon DocumentDB - MongoDB 3.6/4.0/5.0 compatible - Fully managed, scales to millions of requests/sec - Storage: Auto-scales to 128TB - 6-way replication across 3 AZs - π DocumentDB Documentation - Complete guide - π DocumentDB Developer Guide - Getting started - π DocumentDB Clusters - Cluster management - π DocumentDB Backup - Backup strategies
Amazon Keyspaces - Apache Cassandra compatible - Serverless, pay-per-request - Single-digit millisecond latency at scale - PITR up to 35 days - π Keyspaces Documentation - Main documentation - π Keyspaces Developer Guide - Complete guide - π Keyspaces Data Modeling - Table design - π Keyspaces PITR - Point-in-time recovery
Specialized Databases¶
Amazon Neptune - Graph database - Property graph (Gremlin) and RDF (SPARQL) - Use cases: Knowledge graphs, fraud detection, social networks - π Neptune Documentation - Main documentation hub - π Neptune User Guide - Complete user guide - π Neptune Graph Data Model - Property graphs and RDF - π Gremlin Query Language - Graph traversal queries - π SPARQL Query Language - RDF queries - π Neptune High Availability - Cluster architecture
Amazon Timestream - Time-series database - 1,000x faster, 1/10th cost vs relational DBs for time-series - Automatic tiering: Memory to magnetic storage - π Timestream Documentation - Main documentation hub - π Timestream Developer Guide - Complete developer guide - π Timestream Data Model - Time-series design - π Timestream Queries - Query examples - π Timestream Scheduled Queries - Automated queries
Amazon QLDB - Quantum Ledger Database - Immutable, cryptographically verifiable transaction log - Use cases: Compliance, audit trails, supply chain - π QLDB Documentation - Main documentation hub - π QLDB Developer Guide - Complete developer guide - π QLDB Journal - Immutable transaction log - π QLDB PartiQL - SQL-compatible query language - π QLDB Verification - Cryptographic verification
Amazon MemoryDB for Redis - Redis-compatible in-memory database - Microsecond read, single-digit millisecond write latency - Durable with Multi-AZ - π MemoryDB Documentation - Main documentation hub - π MemoryDB Developer Guide - Complete developer guide - π MemoryDB Durability - Multi-AZ durability - π MemoryDB Snapshots - Backup and restore - π MemoryDB Redis Compatibility - Redis commands
Data Warehousing¶
Amazon Redshift - Petabyte-scale data warehouse - Columnar storage, MPP architecture - RA3 nodes: Managed storage, scales compute/storage independently - Redshift Spectrum: Query S3 directly - Concurrency Scaling: Handle burst traffic - π Redshift Documentation - Main documentation hub - π Redshift Management Guide - Cluster management - π Redshift Database Developer Guide - SQL and optimization - π Redshift Clusters - Cluster management - π Redshift Distribution Styles - KEY, EVEN, ALL - π Redshift Sort Keys - Query optimization - π Redshift Spectrum - Query S3 data - π Redshift Concurrency Scaling - Handle query spikes - π Redshift WLM - Workload management - π Redshift Snapshots - Backup and restore
Caching¶
Amazon ElastiCache - Redis: Advanced data structures, persistence, backup, Multi-AZ - Memcached: Simple key-value, multi-threaded, no persistence - π ElastiCache Documentation - Main documentation hub - π ElastiCache User Guide - Complete user guide - π ElastiCache for Redis - Redis features - π ElastiCache for Memcached - Memcached features - π Redis Replication - Multi-AZ with failover - π Redis Cluster Mode - Sharding for scale - π ElastiCache Backup - Snapshots and restore
Database Migration¶
AWS Database Migration Service (DMS) - Homogeneous: Oracle β Oracle, MySQL β Aurora MySQL - Heterogeneous: Oracle β PostgreSQL (requires SCT) - Continuous replication (CDC - Change Data Capture) - Zero downtime migration - π DMS Documentation - Main documentation hub - π DMS User Guide - Complete migration guide - π DMS Migration Planning - Best practices - π DMS Endpoints - Source and target configuration - π DMS Replication Tasks - Migration tasks - π DMS CDC - Change data capture - π DMS Monitoring - Task monitoring
Schema Conversion Tool (SCT) - Converts database schemas - Oracle/SQL Server β Aurora/RDS PostgreSQL/MySQL - Assessment report for migration complexity - π SCT Documentation - Main documentation hub - π SCT User Guide - Complete user guide - π SCT Installation - Setup guide - π SCT Assessment Report - Migration complexity - π SCT Conversion Rules - Schema conversion
Database Design Patterns¶
Choosing the Right Database¶
Relational (RDS/Aurora): - β ACID transactions, complex queries, joins, foreign keys - Use cases: ERP, CRM, e-commerce transactions
Key-Value (DynamoDB): - β Single-digit ms latency, massive scale, simple access patterns - Use cases: Session store, user profiles, real-time bidding
Document (DocumentDB): - β Flexible schema, nested documents, MongoDB compatibility - Use cases: Content management, catalogs, user profiles
Graph (Neptune): - β Relationship queries, connected data - Use cases: Social networks, recommendation engines, fraud detection
Time-Series (Timestream): - β Time-stamped data, high ingestion rate - Use cases: IoT, DevOps metrics, financial trading
Ledger (QLDB): - β Immutable, cryptographically verifiable - Use cases: Financial transactions, supply chain, audit logs
Performance Optimization¶
RDS/Aurora¶
- Read replicas for read scaling
- Provision IOps (io1/io2) for consistent performance
- Parameter groups for tuning
- Enhanced Monitoring for OS metrics
- Performance Insights for query analysis
- Connection pooling with RDS Proxy
- π RDS Performance Insights - Query performance analysis
- π RDS Enhanced Monitoring - OS-level metrics
- π RDS Parameter Groups - Database tuning
- π Aurora Performance - Optimization techniques
- π RDS Storage Types - IOPS provisioning
DynamoDB¶
- Partition key design: High cardinality, uniform access
- GSI for alternate access patterns
- LSI for sort key variations (must create at table creation)
- DynamoDB Accelerator (DAX) for caching
- Auto Scaling for capacity management
- On-demand for unpredictable workloads
- π DynamoDB Partition Keys - Key design best practices
- π Global Secondary Indexes - GSI design and usage
- π Local Secondary Indexes - LSI design and usage
- π DynamoDB Auto Scaling - Automatic capacity management
- π DynamoDB Performance - Performance optimization
Redshift¶
- Distribution styles: KEY, EVEN, ALL
- Sort keys for range queries
- Compression encoding
- Vacuum and analyze regularly
- Workload Management (WLM) for query prioritization
- Result caching
- π Redshift Table Design - Distribution and sort keys
- π Redshift Vacuum - Reclaim storage
- π Redshift Analyze - Update statistics
- π Redshift Compression - Column encoding
- π Redshift Query Performance - Optimization techniques
Security Best Practices¶
Encryption - At rest: KMS encryption (enable at creation) - In transit: SSL/TLS for all connections - Transparent Data Encryption (TDE) for Oracle/SQL Server - π RDS Encryption - Encryption at rest - π DynamoDB Encryption - Encryption at rest - π KMS Key Management - Customer managed keys
Network Security - VPC for network isolation - Security groups for access control - Private subnets for database instances - VPC endpoints for S3/DynamoDB access - π RDS VPC - VPC configuration - π VPC Security Groups - Access control - π VPC Endpoints - Private connectivity
Access Control - IAM database authentication (RDS/Aurora) - IAM policies for service-level control - Database users for application access - Least privilege principle - Secrets Manager for credential rotation - π IAM Database Authentication - Token-based auth - π DynamoDB IAM - Fine-grained access - π Secrets Manager - Credential rotation - π RDS Master User - Master account management
Auditing - CloudTrail for API calls - Database audit logs - Enhanced Monitoring - Performance Insights - CloudWatch Logs - π RDS Database Logs - Log file access - π DynamoDB CloudTrail - API logging - π Aurora Audit Logs - Database activity - π CloudWatch Logs Insights - Log analysis
Common Scenarios¶
Scenario 1: High Write Throughput - Solution: DynamoDB with on-demand capacity or Aurora Serverless v2
Scenario 2: Complex Analytics - Solution: Redshift or Athena (query S3)
Scenario 3: Multi-Region DR - Solution: Aurora Global Database or DynamoDB Global Tables
Scenario 4: Heterogeneous Migration - Solution: DMS + SCT with continuous replication
Scenario 5: Caching Layer - Solution: ElastiCache Redis (complex data) or DAX (DynamoDB-specific)
Essential Documentation¶
- π AWS Database Blog
- π Database Migration Guides
- π RDS Best Practices
- π DynamoDB Best Practices
- π Aurora Best Practices
Exam Tips¶
Keywords: - "High availability" β Multi-AZ, Aurora, Global Tables - "Read-heavy" β Read replicas, DAX, ElastiCache - "Write-heavy" β DynamoDB, Aurora Serverless - "Analytics" β Redshift, Athena, Redshift Spectrum - "Migration" β DMS, SCT, Snowball (large data) - "Graph data" β Neptune - "Time-series" β Timestream
Focus Areas: - Database selection for specific workloads - Performance tuning and optimization - Migration strategies (DMS, SCT) - Backup, recovery, and DR - Security and encryption - Monitoring with Performance Insights
Pro Tip: This exam requires deep database expertise. Know when to use each database type, how to optimize performance, and how to migrate databases. Focus on real-world scenarios and trade-offs!