Easy ReviewCLF-C02
Cloud Technology and Services4

DynamoDB

Model keys and choose indexes, capacity, caches, change streams, replication, and recovery.

DynamoDB stores items identified by primary keys. Plan queries and consistency, then choose capacity, expiration, change processing, and recovery.

DynamoDB basics

Amazon DynamoDB is a serverless NoSQL database for fast key-value and document access.

How it works

  1. Create a table with a key.
  2. Read and write itemsA collection of named attributes identified by a primary key. through the API.
  3. DynamoDB scales without servers to manage.

Exam cues

  • If the question says serverless NoSQL or key-value at any scale, think DynamoDB.

Remember

  • Serverless NoSQL, single-digit millisecond.
  • Global tables: multi-Region replicasA regional table participating in global table replication., each readable and writable.

Trap: DynamoDB is NoSQL; joins and complex SQL point to a relational database.

From the AWS docs (8)
  • Amazon DynamoDB is a serverless, fully managed, distributed NoSQL database with single-digit millisecond performance at any scale.
  • DAX is an in-memory cache for repeated eventually consistent DynamoDB reads with microsecond response times.
  • The DAX client routes requests to a cluster; hits avoid table reads, while misses read DynamoDB and cache results.
  • DAX forwards strong reads and TransactGetItems to DynamoDB without caching their results.
  • A table contains items made of named attributes; non-key attributes may differ between items.
  • A simple primary key is a partition key; a composite primary key adds a sort key and its combined values uniquely identify an item.
  • The item maximum is 400 KB including attribute names and values.
  • DynamoDB global tables replicate a table across AWS Regions with managed replication, and every replica can serve reads and writes.

Flashcards

tap to flip
Answer

·

All 4 cards as a list

Which AWS database service is a serverless, fully managed NoSQL database?

Amazon DynamoDB is a distributed NoSQL database with single-digit millisecond performance at any scale.

An application repeatedly reads DynamoDB items and accepts eventual consistency. What provides microsecond cache reads?

DAX. Cache hits avoid table reads. Strong and transactional reads pass through to DynamoDB without caching results.

How do DynamoDB keys and size limits constrain flexible item attributes?

Non-key attributes can vary. A simple key identifies by partition key; a composite key identifies by partition and sort key. Each item is at most 400 KB, including names and values.

Users in several AWS Regions must read and write the same Amazon DynamoDB data with low latency in their own Region. Which DynamoDB feature fits?

DynamoDB global tables. AWS replicates the table across Regions, and every replica serves reads and writes.

You finished every topic of CLF-C02!

Your badge turned gold. Next step: book the exam on AWS. Once you pass, add yourself to Who passed.

Share

Share that you finished this certification

I finished every topic of AWS Certified Cloud Practitioner (CLF-C02) on Easy Review. Come study too!