DEA-C01 Question 183
Select 2You are designing a data storage solution for an e-commerce platform that tracks user interactions. The platform requires low-latency access to user session data for real-time recommendations, while historical user activity data is queried infrequently for analytical purposes. Which combination of AWS services would best meet these requirements?
- A
Amazon DynamoDB for session data and Amazon S3 for historical data
- B
Amazon RDS for session data and Amazon S3 for historical data
- C
Amazon Redshift for session data and Amazon DynamoDB for historical data
- D
Amazon ElastiCache for session data and Amazon S3 for historical data
- E
Amazon Aurora for session data and Amazon Redshift for historical data
Show answer and explanation
Correct answers: A, D
Explanation
For session data requiring low-latency real-time access, solutions like Amazon DynamoDB or Amazon ElastiCache are ideal, as they are optimized for speed and scalability. For historical data that is queried infrequently, Amazon S3 offers a cost-effective and durable solution. Combining these services ensures that the storage solution meets the platform's requirements for both real-time and analytical workloads.
- A. Correct.
Amazon DynamoDB is a fully managed NoSQL database that provides low-latency access, making it suitable for session data. Amazon S3 is highly durable and cost-effective for storing large volumes of historical data, which is queried infrequently.
- B. Incorrect.
Amazon RDS is a managed relational database service but may not meet the low-latency requirements of session data use cases. However, Amazon S3 is appropriate for storing historical data.
- C. Incorrect.
Amazon Redshift is optimized for analytical workloads, not for low-latency, real-time access to session data. Amazon DynamoDB is typically used for low-latency requirements, not for historical data storage.
- D. Correct.
Amazon ElastiCache is a caching solution that provides low-latency, in-memory data storage, making it ideal for session data. Amazon S3 is well-suited for storing historical data that is infrequently accessed.
- E. Incorrect.
Amazon Aurora is a relational database service that does not provide the low-latency access required for session data. Amazon Redshift is designed for analytical queries but is not suitable for real-time access or session data storage.