Let’s Get Certified
Module 06 / 18 · Data store management

Match storage to the query and update pattern

A freight platform needs a hot shipment lookup and historical fleet analysis.

Match storage to the query and update pattern

A freight platform needs a hot shipment lookup and historical fleet analysis. Write down the key, expected cardinality, mutation rate and latency target before selecting a store. For lakes shared across engines, check snapshot and transaction support. For embedding search, measure recall at a latency target against a labeled set.

Decisions to rehearse

DynamoDB keyed access
A known partition key supports predictable point reads without scanning a warehouse.
Redshift Spectrum
Spectrum queries externally stored lake files through a Redshift external schema.
Apache Iceberg table
Snapshot metadata and atomic commits support consistent multi-file table revisions.
HNSW vector index
A proximity graph accelerates approximate nearest-neighbor retrieval for embeddings.
Federated query
Federation can query a supported operational source remotely without copying its entire database.

Practise each AWS skill

These references use the skill numbers in the AWS guide.

  1. 2.1.1 · Choose a hot key-value store, warehouse or object store for three readers with different access patterns and budgets.
  2. 2.1.2 · Configure the partition, distribution or sort key from real predicates, then inspect one representative plan.
  3. 2.1.3 · Compare MemoryDB lookups and Aurora vector search using a realistic key request and an embedding query.
  4. 2.1.4 · Plan a partner SFTP migration through Transfer Family and verify the object's destination and ownership.
  5. 2.1.5 · Distinguish a live federated read, a refreshed materialized result and Spectrum over external S3 files.
  6. 2.1.6 · Investigate a blocked Redshift transaction using its lock holder and transaction age before deciding on recovery.
  7. 2.1.7 · Read the same Iceberg snapshot during a concurrent update and explain where the consistent version is defined.
  8. 2.1.8 · Benchmark an HNSW graph and an IVF index on the same vectors, measuring recall, query latency and build resources.

Official skills for this topic

Work through the decision

A Redshift load reads one very large input file while other slices sit idle. A separate application needs nearest-neighbor search. Would changing the warehouse table's sort key solve either bottleneck?

Check your reasoning

For an appropriate splittable input layout, measure parallel COPY with similarly sized files and inspect slice utilization. For similarity search, evaluate an index built for embeddings using latency and recall. A sort key alone addresses neither cause.

DEA-C01 recording · 1:02:56

Related recording chapters: 1:11:02 · 1:18:27.

Related lesson in Data Engineer Associate · Compute and cluster types.

Knowledge check

Match storage to the query and update pattern quiz

Answer 3 questions. Check each answer for an explanation.

Worked example · Match storage to the query and update pattern