AWS Certified Developer – Associate (DVA-C02)Development with AWS ServicesEasy

A developer is building a new microservice that needs to store and retrieve unstructured JSON documents with millisecond latency. The data access patterns are highly variable, and the application requires automatic scaling to handle unpredictable traffic spikes. Which AWS service is the MOST appropriate for this use case?

  1. AAmazon DynamoDB
  2. BAmazon S3
  3. CAmazon RDS PostgreSQL
  4. DAmazon Redshift
Show answer & explanation

Correct answer: A. Amazon DynamoDB

Amazon DynamoDB is a fully managed, serverless NoSQL database service that provides fast and flexible performance for non-relational databases. It is well-suited for storing unstructured JSON documents with millisecond latency and scales automatically to handle varying traffic.

Why the other options are wrong

  • B. Amazon S3 is object storage, not a database service optimized for low-latency document retrieval.
  • C. Amazon RDS PostgreSQL is a relational database and not optimized for unstructured JSON documents or automatic scaling to the same extent as DynamoDB.
  • D. Amazon Redshift is a data warehousing service, not designed for transactional, low-latency document storage and retrieval.

Amazon DynamoDB

A fully managed, serverless NoSQL database service that supports key-value and document data models, offering single-digit millisecond performance at any scale.

  • NoSQL database (key-value and document)
  • Serverless and scales automatically
  • Single-digit millisecond latency

Memory trick: NoSQL for JSON needs, DynamoDB's the speed.

More Development with AWS Services questions