DVA-C02 Question 73
Single answerYou are developing a serverless application that processes large volumes of real-time data. The application needs to store structured data for querying by multiple attributes, and it must scale seamlessly with unpredictable traffic patterns. Which database solution would best meet these requirements?
- A
Amazon RDS with a MySQL engine
- B
Amazon DynamoDB
- C
Amazon Redshift
- D
Amazon ElastiCache
Show answer and explanation
Correct answer: B
Explanation
Amazon DynamoDB is the best choice for this scenario because it is a NoSQL database optimized for real-time workloads and can handle unpredictable traffic patterns effectively. Additionally, it allows for querying multiple attributes with high scalability, making it ideal for the described use case.
- A. Incorrect.
Amazon RDS with a MySQL engine is a relational database service that is suitable for structured data. However, it may not scale as efficiently for unpredictable traffic patterns compared to DynamoDB, making it less ideal for real-time data processing in this scenario.
- B. Correct.
Amazon DynamoDB is a fully managed NoSQL database designed for real-time applications requiring high scalability and low-latency performance. It is particularly well-suited for storing structured data with multiple attributes and handling unpredictable traffic patterns.
- C. Incorrect.
Amazon Redshift is a data warehouse solution optimized for analytical queries on large datasets. It is not designed for real-time data processing or handling unpredictable traffic patterns effectively.
- D. Incorrect.
Amazon ElastiCache is an in-memory caching service that improves the performance of applications by reducing database load. While it is useful for caching, it is not suitable as the primary database for storing structured data and handling real-time traffic.