Let’s Get Certified
Module 13 / 20 · Cloud technology and services

Match a database to the application’s access pattern

Choose a relational, key-value or in-memory system and plan how to synchronize a database migration.

Move a catalog while the shop stays open

Orders use relational transactions. Product lookups repeatedly access the same subset of records. A migration must keep new writes synchronized until cutover. Name the store, accelerator and migration role.

Relational transactions

A relational engine suits joins and transactions across related records. RDS manages infrastructure tasks such as backups and patching within the service boundary. The customer still owns schema design, access and query performance. Aurora is a managed relational alternative.

Keyed requests

Start a key-value design with the reads and writes that must be fast. Pick partition keys that spread demand. Rebuilding an application that depends on arbitrary joins can cost more than any infrastructure savings.

Repeated hot reads

Cache frequently read data in memory to take pressure off the durable database. Define expiration and a miss path. A stale cache needs a freshness strategy and cannot replace the original database simply by adding memory.

Work through the decision

Compare your reasoning

A managed relational database such as RDS or Aurora can preserve SQL behavior. An in-memory cache can offload reads while the database remains authoritative. Assess schema differences before migration. DMS can replicate supported data changes and schema conversion tools help translate incompatible database objects.

Change one constraint

When would a database on EC2 be reasonable?

Check your answer

If the application depends on an unsupported engine or requires OS-level access, self-management may be justified. The design must budget for patching, backups, monitoring and restore tests.

Revisit the demonstration

The database survey contrasts relational tables and specialized stores. Give the service one example query before selecting a database. Databases · 5:52:47.

Sources and further practice

AWS exam guide for this objective · AWS documentation for this case

Compare the decision in the other cloud. Choose storage and move a dataset (AZ-900).

Knowledge check

Match a database to the application’s access pattern quiz

Answer 5 questions. Check each answer for an explanation.