AWS Certified Cloud Practitioner (CLF-C02)Cloud Technology and ServicesMedium
A startup is building a new serverless application that needs to store frequently accessed user profile data, which requires extremely low-latency reads and writes. The data volume is expected to grow unpredictably, and the application requires millisecond response times. Which AWS database service should the startup choose to meet these requirements MOST cost-effectively?
- AAmazon DynamoDB
- BAmazon Aurora MySQL
- CAmazon Redshift
- DAmazon RDS for PostgreSQL
Show answer & explanationAnswer & explanation
Correct answer: A. Amazon DynamoDB
Amazon DynamoDB is a fully managed NoSQL database service that provides single-digit millisecond performance at any scale. Its serverless nature and on-demand capacity mode make it cost-effective for applications with unpredictable workloads and a requirement for extremely low-latency access to frequently accessed data.
Why the other options are wrong
- B. Amazon Aurora is a high-performance relational database, but DynamoDB's NoSQL nature and serverless scaling are generally better suited and more cost-effective for the described low-latency, unpredictable, and frequently accessed profile data in a serverless application.
- C. Amazon Redshift is a data warehousing service optimized for analytical queries, not for transactional, low-latency reads/writes of frequently accessed user profiles.
- D. Amazon RDS is a relational database service, which might not provide the same low-latency performance at scale as DynamoDB for unpredictable NoSQL workloads and can be more expensive to manage for serverless architectures.
Amazon DynamoDB
A fully managed, serverless NoSQL database service that delivers single-digit millisecond performance at any scale, designed for high-performance applications.
- Supports key-value and document data models.
- Offers on-demand or provisioned capacity modes.
- Integrated with other AWS services like Lambda and API Gateway.
Memory trick: Dyna-mo: Dynamic, NoSQL, Millisecond response.