Bitzu

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

Single choice

Which AWS service is a serverless key-value and document database with single-digit millisecond performance at any scale?

  1. Amazon Neptune
  2. Amazon Aurora
  3. Amazon DynamoDB
  4. 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.

Select all that apply

Which statements about Amazon DynamoDB are correct?

  1. There are no servers to patch and no maintenance windows
  2. Data is replicated across three Availability Zones by default
  3. It supports SQL JOINs between tables like a relational database
  4. You pick a major engine version and upgrade it yourself
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module