A company is designing a new web application and needs to select the most appropriate AWS storage and database services. The application has the following two requirements:
1. Store user-uploaded profile pictures (average size 2 MB) in a highly durable, cost-effective storage tier that can scale to millions of objects.
2. Store session state data and user preferences with single-digit millisecond latency, requiring a database that automatically scales throughput based on application demand.
Which two of the following database and storage configurations should the Solutions Architect select to satisfy these requirements? (Select TWO.)
- Amazon S3 for storing the user-uploaded profile picturesAnswer
- Amazon DynamoDB with auto-scaled read/write capacity for storing the session state and user preferencesAnswer
- CAmazon Aurora PostgreSQL database where the standby replica in the Multi-AZ deployment is used to serve read queries for the session state data
- DAmazon DynamoDB with a Pilot Light disaster recovery strategy to secondary regions to support active-active read/write access with near-zero recovery time objective (RTO)
- EAmazon S3 with cross-account access for the profile pictures, utilizing the default AWS-managed KMS key (aws/s3) with a modified bucket policy to delegate permission to external accounts
Answer
The correct configurations are to use Amazon S3 for storing the user-uploaded profile pictures and to use Amazon DynamoDB with auto-scaled read/write capacity for storing the session state and user preferences.
Storing profile pictures in Amazon S3 is the standard and most cost-effective solution for scalable object storage. Storing session state and user preferences in Amazon DynamoDB provides the required single-digit millisecond latency and can dynamically scale read and write capacity based on traffic.
Step-by-Step Solution
Key Concept
Selecting appropriate AWS database and storage services based on performance, capacity, and architectural constraints.