Amazon DynamoDB — Managed NoSQL
Amazon DynamoDB is a fully managed, serverless NoSQL key-value database that gives you single-digit-millisecond response times at any scale. There are no servers to patch, it scales automatically, and you never write SQL or do table joins. The hardest exam points are not what DynamoDB does, but telling it apart from look-alike services: RDS (relational), ElastiCache (in-memory cache), DAX (DynamoDB's own cache), and the difference between on-demand and provisioned capacity.
Q1 A team is choosing a database for a mobile game leaderboard that stores millions of player records and is looked up only by a unique player ID, never with complex multi-table queries. They need consistent single-digit-millisecond reads at massive scale with no servers to manage. Which AWS service fits best?
- Amazon DynamoDB
- Amazon RDS for PostgreSQL
- Amazon Redshift
- Amazon Aurora
- B — RDS for PostgreSQL is a relational SQL database meant for structured data and joins; it is not the best match for a simple key lookup at this scale and still needs more capacity planning.
- C — Redshift is a data warehouse for analytics over large historical datasets, not for fast single-record lookups.
- D — Aurora is a relational (MySQL/PostgreSQL-compatible) database; it is SQL-based and not a key-value store.
Q2 An application using DynamoDB is reading the same small set of "hot" items millions of times per second, and the team wants to push read latency from milliseconds down to microseconds without changing the database. Which service adds an in-memory cache designed specifically for DynamoDB?
- Amazon ElastiCache for Redis
- Amazon CloudFront
- AWS Global Accelerator
- Amazon DynamoDB Accelerator (DAX)
- A — ElastiCache is a general-purpose cache, but it is not purpose-built for DynamoDB and would require you to manage cache logic in your application code.
- B — CloudFront is a content delivery network that caches web content at edge locations, not database reads.
- C — Global Accelerator improves network routing to your application endpoints; it does not cache database queries.
Q3 A company is launching a new app worldwide and cannot predict traffic — it may spike unpredictably and then drop to almost nothing. They want a DynamoDB billing mode where they pay only for the read and write requests they actually use, with no capacity planning. Which capacity mode should they choose?
- Provisioned capacity
- Reserved capacity
- On-demand capacity
- Spot capacity
- A — Provisioned capacity requires you to set expected read/write throughput ahead of time, which is hard when traffic is unknown and risks under- or over-provisioning.
- B — "Reserved capacity" is a discount on provisioned throughput for steady, predictable workloads — the opposite of unpredictable traffic.
- D — "Spot capacity" is not a DynamoDB billing mode (Spot is an EC2 concept).
Q4 A global retailer wants its DynamoDB-based shopping cart to be readable and writable with low latency from users in North America, Europe, and Asia, with data kept in sync across all three regions. Which DynamoDB feature provides this multi-region, active-active replication?
- DynamoDB point-in-time recovery
- DynamoDB Global Tables
- DynamoDB Streams
- Cross-Region Read Replicas
- A — Point-in-time recovery is a backup feature that lets you restore to an earlier moment; it does not replicate across regions for low latency.
- C — DynamoDB Streams capture a log of item changes for triggers/processing; they are a building block, not a turnkey multi-region table.
- D — "Read Replicas" is an RDS/Aurora concept, not the DynamoDB term, and would only scale reads, not provide active-active multi-region writes.
Q5 A developer migrating from a relational database asks how to write a query in DynamoDB that joins a "Customers" table to an "Orders" table the way SQL does. What is the correct guidance?
- DynamoDB supports SQL JOINs once you enable the relational mode
- DynamoDB performs joins automatically in the background for every query
- You must attach Amazon Redshift to DynamoDB to enable joins
- DynamoDB does not support SQL joins; you model data so it is retrieved by key without joins
- A — There is no "relational mode" that adds joins; DynamoDB is non-relational by design.
- B — DynamoDB never performs cross-table joins automatically; that is simply not how a key-value store works.
- C — Redshift is a separate analytics warehouse; bolting it on does not give DynamoDB join capability.
Q6 A team needs a database to store user session state for a high-traffic web application — small items, accessed by a session key, requiring very fast and reliable reads and writes that persist even if a cache node restarts. Which fully managed service is the best persistent fit?
- Amazon DynamoDB
- Amazon RDS for MySQL
- Amazon S3
- Amazon EFS
- B — RDS is relational and heavier than needed for simple key-based session lookups at high scale.
- C — S3 is object storage for files and is not designed for the millisecond, high-frequency read/write pattern of live sessions.
- D — EFS is a shared file system for files mounted by servers, not a key-value store for session records.
Q7 A startup wants to avoid managing servers, patching, replication setup, and capacity scaling for their database. They want AWS to handle all of that while they just store and retrieve key-value data. Which phrase best describes why DynamoDB meets this need?
- It is a self-managed database you install on EC2
- It is a relational database that requires a DB instance class
- It is a fully managed, serverless NoSQL database
- It is an in-memory cache that loses data on restart
- A — You never install DynamoDB on EC2; that would be self-managed, the opposite of what is described.
- B — Choosing a "DB instance class" is an RDS/Aurora task; DynamoDB has no instance to size.
- D — DynamoDB persists data durably; it is not an in-memory cache that loses data on restart.
Q8 An application has a very steady, predictable workload of about 2,000 reads and 1,000 writes per second, all day, every day. The team wants the lowest cost and is comfortable estimating throughput in advance. Which DynamoDB capacity choice is most cost-effective?
- On-demand capacity
- Provisioned capacity
- Burst-only capacity
- Elastic capacity
- A — On-demand is great for unpredictable spikes but generally costs more per request for steady, well-known traffic.
- C — "Burst-only capacity" is not a DynamoDB capacity mode.
- D — "Elastic capacity" is not a named DynamoDB billing mode.
Q9 A solutions team needs to decide between DynamoDB and Amazon RDS for a new system. Which requirement most strongly indicates that Amazon RDS (relational) — not DynamoDB — is the right choice?
- The data is simple key-value pairs accessed by a single ID
- The workload needs to scale to millions of requests per second with millisecond latency
- The application needs complex SQL queries with joins across many related tables
- The team wants a serverless database with no instances to manage
- A — Simple key-value access by a single ID is the textbook DynamoDB pattern, not a reason to pick RDS.
- B — Extreme scale at millisecond latency favors DynamoDB, not RDS.
- D — "Serverless, no instances" describes DynamoDB; RDS uses managed DB instances.
Q10 A team confuses DAX with ElastiCache. Which statement correctly describes the key difference between the two on the CLF-C02 exam?
- DAX is a relational database; ElastiCache is a NoSQL database
- DAX is an in-memory cache built specifically for DynamoDB; ElastiCache is a general-purpose in-memory cache usable with many data sources
- DAX stores data permanently on disk; ElastiCache replicates across regions
- DAX is only for RDS; ElastiCache is only for DynamoDB
- A — Neither is a database in this sense; both are in-memory caches, and the relational/NoSQL labels are wrong.
- C — A cache holds data in memory for speed; this description misstates how both services work.
- D — It reverses reality — DAX is the DynamoDB-specific one, and ElastiCache is general-purpose.
Q11 A managed-service marketing slide claims DynamoDB delivers "single-digit-millisecond performance at any scale." For the exam, what does this performance claim mean in plain terms?
- Queries complete in single-digit minutes regardless of load
- It guarantees zero latency for all requests worldwide
- Performance only applies to analytical batch reporting jobs
- Typical read/write requests return in a few milliseconds even as traffic grows very large
- A — Minutes would be enormously slow; the claim is about milliseconds.
- B — No service guarantees literally zero latency; there is always some small delay.
- C — DynamoDB targets fast operational (transactional) access, not batch analytics, which is Redshift's job.
Q12 A retailer running a flash sale expects DynamoDB traffic to jump from a few hundred to tens of thousands of requests per second within minutes, then drop back down. They want the table to grow and shrink capacity by itself without manual intervention. Which DynamoDB capability addresses this?
- Automatic scaling (on-demand or auto scaling on provisioned)
- Manual capacity reconfiguration during the event
- Vertical scaling to a larger instance type
- Increasing the DB instance class size
- B — Manual reconfiguration is exactly what they want to avoid and is risky during a sudden spike.
- C — "Vertical scaling to a larger instance type" is a server/instance concept; DynamoDB has no instances to resize.
- D — "DB instance class" is RDS terminology; DynamoDB does not use instance classes.
Q13 A company stores product catalog data in DynamoDB and also wants a separate, very fast in-memory store for temporary leaderboard rankings and pub/sub messaging shared by several different applications. Which service is the better fit for that separate in-memory workload?
- Amazon ElastiCache
- DynamoDB Accelerator (DAX)
- Amazon Athena
- Amazon Neptune
- B — DAX only accelerates reads of a DynamoDB table; it cannot serve generic pub/sub or non-DynamoDB workloads.
- C — Athena queries data in S3 using SQL; it is not an in-memory store.
- D — Neptune is a graph database for relationships, not an in-memory cache or message store.
Q14 An IoT platform ingests sensor readings from millions of devices, writing huge volumes of small key-value records that must be stored with predictable low latency and elastic scaling. Which service is purpose-built for this high-write, key-value workload?
- Amazon Redshift
- Amazon RDS for SQL Server
- Amazon QuickSight
- Amazon DynamoDB
- A — Redshift is for analytical queries over large datasets, not high-frequency operational writes.
- B — RDS for SQL Server is relational and would struggle to scale to millions of devices as smoothly or cheaply.
- C — QuickSight is a business-intelligence dashboard tool, not a database.
Q15 A developer says "Global Tables means my DynamoDB data is automatically backed up so I can recover from accidental deletes." Why is this understanding incorrect?
- Global Tables only work in a single region, so no backup is possible
- Global Tables provide multi-region replication for availability and low latency, not point-in-time backup or recovery from bad writes
- Global Tables are a billing feature with no effect on data
- Global Tables replace the need for any durability in DynamoDB
- A — Global Tables specifically span multiple regions; saying single-region is factually wrong.
- C — They very much affect data by replicating it across regions; it is not merely a billing label.
- D — DynamoDB already stores data durably on its own; Global Tables add cross-region reach, not a replacement for durability.
Q16 A new architect is comparing how you interact with DynamoDB versus a relational database. Which statement is accurate for the CLF-C02 exam?
- DynamoDB organizes data into tables with rows and enforces foreign-key relationships like a relational database
- DynamoDB requires you to define all columns and types up front before inserting any item
- DynamoDB stores items in tables and is accessed primarily by keys, without the fixed schema, joins, and SQL of a relational database
- DynamoDB and a relational database both require manually managing the underlying servers
- A — DynamoDB does not enforce foreign-key relationships; that is a relational feature.
- B — Items can have different attributes; you do not define every column up front like a relational schema.
- D — DynamoDB is serverless with no servers to manage, so this is false for at least DynamoDB.
Q17 A team currently uses ElastiCache in front of their own database but loses cached data whenever a node is replaced, which breaks user sessions. They want a managed store where the session data is durable by default and still very fast for key-based access. Which service best resolves the durability concern?
- Keep using ElastiCache exactly as is
- Move session data to Amazon DynamoDB
- Move session data to Amazon CloudFront
- Move session data to Amazon S3 Glacier
- A — Keeping ElastiCache as-is does not fix the stated problem of losing data on node replacement.
- C — CloudFront is a CDN for caching web content at the edge, not a durable session database.
- D — S3 Glacier is cold archival storage with retrieval delays — completely unsuitable for live, fast session access.
Q18 Which combination of characteristics correctly describes Amazon DynamoDB for the CLF-C02 exam?
- NoSQL key-value, fully managed and serverless, automatic scaling, single-digit-millisecond latency
- Relational, SQL-based, requires choosing an instance size, single-region only
- In-memory cache that loses data on restart and is used only to speed up RDS
- Object storage service designed for storing large media files and backups
- B — DynamoDB is not relational or SQL-based, uses no instance size, and can span regions via Global Tables.
- C — That describes an in-memory cache (ElastiCache/DAX), not DynamoDB, which durably persists data.
- D — Object storage for large files describes Amazon S3, not DynamoDB.