🇮🇳 AWS Certified Solutions Architect – Associate · subject
AWS Certified Solutions Architect – Associate Databases Syllabus
The Databases syllabus for AWS Certified Solutions Architect – Associate in full: 3 chapters, 9 topics and 16 sub-topics, every one listed below, plus 51 Databases flashcards with answers.
Databases syllabus: all 3 chapters
Expand any chapter to see its topics and sub-topics.
-
Relational Databases
3 topics- Amazon RDS
- Supported engines (MySQL, PostgreSQL, MariaDB, Oracle, SQL Server)
- Multi-AZ deployments for high availability
- Read replicas for scaling reads
- Automated backups, snapshots and point-in-time recovery
- Amazon Aurora
- Aurora storage architecture and replicas
- Aurora Serverless v2 and Global Database
- RDS Proxy and connection pooling
- Amazon RDS
-
NoSQL & Purpose-Built Databases
3 topics- Amazon DynamoDB
- Partition keys, sort keys and item design
- On-demand vs provisioned capacity and auto scaling
- Global Secondary and Local Secondary Indexes
- DynamoDB Streams, DAX and Global Tables
- Amazon ElastiCache
- Redis vs Memcached
- Caching strategies (lazy loading, write-through)
- Specialized databases
- Amazon Neptune, Amazon Timestream and Amazon QLDB
- Amazon DocumentDB and Amazon Keyspaces
- Amazon DynamoDB
-
Database Operations & Migration
3 topics- AWS Database Migration Service (DMS)
- Homogeneous vs heterogeneous migrations
- AWS Schema Conversion Tool (SCT)
- Choosing the right database for a workload
- Database security, encryption and IAM authentication
- AWS Database Migration Service (DMS)
AWS Certified Solutions Architect – Associate Databases flashcards — 51 questions with answers
What is Amazon RDS?
A managed relational database service that handles provisioning, patching, backups, recovery, and scaling for engines like MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, and Amazon Aurora.
Which database engines does Amazon RDS support?
MySQL, PostgreSQL, MariaDB, Oracle, Microsoft SQL Server, and Amazon Aurora (MySQL- and PostgreSQL-compatible).
What does RDS Multi-AZ provide and is the standby readable?
High availability via synchronous replication to a standby in another Availability Zone with automatic failover. The standby is NOT readable; it exists only for failover/durability.
What is the purpose of RDS Read Replicas?
To scale read traffic using asynchronous replication. Read Replicas serve read-only queries and can be promoted to standalone databases; they can span Regions (cross-Region read replicas).
Multi-AZ vs Read Replicas in RDS: what is each used for and what replication type?
Multi-AZ = high availability/disaster recovery, synchronous, not readable, auto-failover. Read Replicas = read scaling, asynchronous, readable, manual promotion.
How do RDS automated backups differ from manual DB snapshots?
Automated backups occur daily plus transaction logs, enable point-in-time recovery, and are deleted when the instance is deleted (retention 1-35 days). Manual snapshots are user-initiated and persist until explicitly deleted.
What is the retention range for RDS automated backups?
0 to 35 days (0 disables automated backups; default is typically 7 days).
What is RDS point-in-time recovery (PITR)?
Restoring a database to any specific second within the backup retention period by replaying transaction logs onto a daily backup; it creates a new DB instance.
What is Amazon Aurora?
A MySQL- and PostgreSQL-compatible relational database built for the cloud, offering up to 5x MySQL / 3x PostgreSQL performance, with a distributed, fault-tolerant, self-healing storage layer.
How does Aurora replicate and store data for durability?
It keeps 6 copies of data across 3 Availability Zones (2 copies per AZ), with self-healing storage that auto-repairs disk errors.
How many copies are needed for Aurora reads and writes to succeed?
Writes need 4 out of 6 copies (4/6 quorum); reads need 3 out of 6 copies (3/6 quorum).
How does Aurora storage auto-scale?
Storage automatically grows in 10 GB increments up to 128 TiB without provisioning, and you pay only for what is used.
What are Aurora Replicas and how many can a cluster have?
Up to 15 Aurora Replicas that share the same storage volume, provide read scaling, and offer fast (typically sub-30-second) automatic failover; they have lower replica lag than RDS read replicas.
What is the difference between the Aurora cluster (writer) endpoint and reader endpoint?
The cluster/writer endpoint always points to the current primary (writes); the reader endpoint load-balances connections across all Aurora Replicas (reads).
What is Amazon Aurora Serverless?
An on-demand, auto-scaling configuration of Aurora that automatically starts, scales capacity (in ACUs), and shuts down based on application demand, ideal for variable or unpredictable workloads.
What is Aurora Global Database?
A feature that spans up to 6 secondary Regions with replication latency typically under 1 second, sub-second cross-Region read scaling, and disaster recovery with RTO under ~1 minute (promote a secondary Region).
What is Aurora Backtrack?
A feature (Aurora MySQL) that rewinds the database to a prior point in time in place, without restoring from a backup, within a configured backtrack window.
What is Amazon RDS Proxy?
A fully managed, highly available database proxy that pools and shares connections to RDS/Aurora, reducing failover times and protecting databases from connection floods, especially from serverless (Lambda) apps.
Why is connection pooling important for serverless apps connecting to RDS?
Lambda can open many short-lived concurrent connections, exhausting database connections. RDS Proxy pools and reuses connections, preventing exhaustion and reducing CPU/memory overhead.
How does RDS Proxy improve failover times?
It holds client connections while routing to a healthy database, reducing failover time by up to ~66% and making failover transparent to applications.
Show the other 31 Databases flashcards
What authentication does RDS Proxy support and is it publicly accessible?
It supports IAM authentication and enforces credentials via AWS Secrets Manager. RDS Proxy is never publicly accessible; it must be accessed from within a VPC.
What is Amazon DynamoDB?
A fully managed, serverless, key-value and document NoSQL database delivering single-digit-millisecond performance at any scale, with automatic scaling and built-in high availability across 3 AZs.
What is a DynamoDB partition key vs a composite (partition + sort) key?
A partition key alone uniquely identifies an item via its hash. A composite key uses partition key + sort key, allowing multiple items per partition key, sorted by the sort key, enabling range queries.
What is the maximum size of a single DynamoDB item?
400 KB, including attribute names and values.
Difference between a DynamoDB Local Secondary Index (LSI) and Global Secondary Index (GSI)?
LSI shares the partition key but uses a different sort key and must be created at table creation (consumes table capacity). GSI has a different partition and sort key, can be created anytime, and has its own provisioned throughput.
What are DynamoDB's two capacity modes?
Provisioned (you specify RCUs/WCUs, with optional auto scaling) and On-Demand (pay-per-request, auto-scales instantly for unpredictable workloads).
How is one DynamoDB Read Capacity Unit (RCU) defined?
1 RCU = 1 strongly consistent read per second of an item up to 4 KB, OR 2 eventually consistent reads per second up to 4 KB. Larger items round up to the next 4 KB.
How is one DynamoDB Write Capacity Unit (WCU) defined?
1 WCU = 1 write per second for an item up to 1 KB. Larger items round up to the next 1 KB.
What is DynamoDB Accelerator (DAX)?
A fully managed, in-memory cache for DynamoDB that delivers microsecond read latency for cached reads, requires minimal code changes, and is purpose-built only for DynamoDB.
DAX vs ElastiCache for caching DynamoDB: when to use each?
Use DAX for caching individual DynamoDB queries/objects with microsecond latency and no app changes. Use ElastiCache to store aggregation/computation results or share cached data across multiple data sources.
What are DynamoDB Streams?
An ordered, time-ordered flow of item-level modifications (create/update/delete) in a table, retained 24 hours, often consumed by Lambda for triggers, replication, or analytics.
What is DynamoDB Global Tables?
A multi-Region, multi-active (multi-writer) replication feature giving fast local read/write access across Regions, with last-writer-wins conflict resolution; requires DynamoDB Streams enabled.
What is DynamoDB TTL (Time To Live)?
A feature that automatically deletes expired items based on a timestamp attribute (epoch seconds), reducing storage cost and cleanup work; deletions are free and asynchronous.
What is Amazon ElastiCache?
A fully managed in-memory caching service supporting Redis (and Redis OSS/Valkey) and Memcached, used to reduce database load and provide microsecond/sub-millisecond latency.
ElastiCache Redis vs Memcached: key differences?
Redis supports replication, Multi-AZ failover, persistence, backups, pub/sub, sorted sets, and transactions. Memcached is multi-threaded, supports simple sharding, has no persistence, replication, or failover.
What is the cache-aside (lazy loading) caching strategy?
The app checks the cache first; on a miss it reads from the database and writes the result into the cache. Only requested data is cached, but cache misses incur extra latency and data can become stale.
What is the write-through caching strategy?
Data is written to the cache and the database at the same time on every write, keeping the cache fresh, but it adds write latency and caches data that may never be read.
How does ElastiCache Redis provide high availability?
Through Multi-AZ with automatic failover using a primary node and read replicas, plus optional cluster mode for sharding across multiple node groups.
What is Amazon Neptune?
A fully managed graph database service supporting property graph (Gremlin/openCypher) and RDF (SPARQL) models, ideal for highly connected data like social networks, fraud detection, and recommendation engines.
What is Amazon DocumentDB?
A fully managed document database that is MongoDB-compatible, designed for JSON document workloads with Aurora-like storage that scales automatically.
What is Amazon Keyspaces?
A managed, serverless, Apache Cassandra-compatible database service for wide-column workloads, using CQL, with single-digit-millisecond performance and automatic scaling.
What is Amazon QLDB?
Amazon Quantum Ledger Database: a fully managed ledger database with an immutable, append-only, cryptographically verifiable transaction log, ideal for systems of record/audit trails (single trusted authority).
What is Amazon Timestream?
A fully managed, serverless time-series database optimized for IoT and operational metrics, with built-in tiered storage (memory + magnetic) and time-series analytics functions.
What is Amazon MemoryDB for Redis?
A Redis-compatible, durable, in-memory database delivering ultra-fast performance with Multi-AZ durability, usable as a primary database (not just a cache).
What is AWS Database Migration Service (DMS)?
A managed service that migrates databases to AWS with minimal downtime; the source database remains available during migration. It supports homogeneous and heterogeneous migrations.
What is the difference between homogeneous and heterogeneous migrations in DMS?
Homogeneous = same engine (e.g., Oracle to Oracle). Heterogeneous = different engines (e.g., Oracle to Aurora PostgreSQL), which requires the AWS Schema Conversion Tool (SCT) to convert the schema/code first.
What is the AWS Schema Conversion Tool (SCT) and when is it needed?
A tool that converts a source database schema and code (procedures, views) to a target engine. It is needed for heterogeneous migrations; it is not needed for homogeneous (same-engine) migrations.
What are the DMS migration types (replication tasks)?
Full load (one-time copy of existing data), CDC (change data capture for ongoing replication of changes), and Full load + CDC (migrate existing data then continuously replicate changes for near-zero downtime).
How should you choose a database for a relational, ACID-transaction workload with complex joins?
Use a relational database: Amazon RDS or Amazon Aurora (Aurora for higher performance/availability and cloud-native scaling).
Which AWS databases fit key-value, document, graph, in-memory, time-series, ledger, and wide-column needs respectively?
Key-value/document: DynamoDB. Document (MongoDB): DocumentDB. Graph: Neptune. In-memory: ElastiCache/MemoryDB. Time-series: Timestream. Ledger: QLDB. Wide-column (Cassandra): Keyspaces.
How is encryption at rest and in transit handled for RDS/Aurora, and what manages the keys?
Encryption at rest uses AWS KMS keys (must be enabled at creation; can't encrypt an existing unencrypted DB directly—restore an encrypted snapshot). Encryption in transit uses SSL/TLS. IAM database authentication lets you connect using IAM tokens instead of passwords (Aurora/RDS MySQL & PostgreSQL).
AWS Certified Solutions Architect – Associate Databases FAQ
What is in the AWS Certified Solutions Architect – Associate Databases syllabus?
AWS Certified Solutions Architect – Associate Databases is split into 3 chapters: Relational Databases, NoSQL & Purpose-Built Databases and Database Operations & Migration. Together they contain 9 topics and 16 sub-topics.
How many chapters are in AWS Certified Solutions Architect – Associate Databases?
3 chapters, containing 9 topics and 16 sub-topics. The largest chapter is Relational Databases, with 3 topics.
Are there flashcards for AWS Certified Solutions Architect – Associate Databases?
Yes — a 51-card Databases deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.