CLF-C02 ยท Database services
NoSQL on AWS: DynamoDB, DocumentDB, Neptune
Amazon DynamoDB key-value tables, Amazon DocumentDB for document workloads and Amazon Neptune for graph data.
Key points
- Amazon DynamoDB: serverless key-value and document database, single-digit millisecond performance at any scale; replicated across three AZs; global tables for multi-Region, multi-active use; no JOIN operator.
- Amazon DocumentDB (with MongoDB compatibility): JSON documents, MongoDB drivers and tools.
- Amazon Neptune: graph database for highly connected data (recommendations, fraud detection).
Source: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Introduction.html
Practice questions
Which AWS service is a serverless key-value and document database with single-digit millisecond performance at any scale?
- Amazon Neptune
- Amazon Aurora
- Amazon DynamoDB
- Amazon Redshift
Show answer
Answer: C. Amazon DynamoDB
Amazon DynamoDB is the serverless NoSQL key-value and document database. Neptune is for graphs, Aurora is relational, and Redshift is a data warehouse.
Which statements about Amazon DynamoDB are correct?
- There are no servers to patch and no maintenance windows
- Data is replicated across three Availability Zones by default
- It supports SQL JOINs between tables like a relational database
- You pick a major engine version and upgrade it yourself
- It runs only in a single Availability Zone unless you pay for Multi-AZ
Show answer
Answer: A. There are no servers to patch and no maintenance windows, B. Data is replicated across three Availability Zones by default
DynamoDB is serverless (no servers to patch, no versions or maintenance windows) and replicates data across three Availability Zones by default. It does not support JOINs, and you do not choose a database engine version.
Amazon DynamoDB supports SQL-style JOIN operations, so you can model data exactly as in a normalized relational schema.
Show answer
Answer: False
False. DynamoDB omits JOINs because they do not perform well at scale; AWS recommends denormalizing the data model instead.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
