Question

Difficulty: EasyDatabase and Storage Strategy

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.)

  1. Amazon S3 for storing the user-uploaded profile picturesAnswer
  2. Amazon DynamoDB with auto-scaled read/write capacity for storing the session state and user preferencesAnswer
  3. C
    Amazon Aurora PostgreSQL database where the standby replica in the Multi-AZ deployment is used to serve read queries for the session state data
  4. D
    Amazon 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)
  5. E
    Amazon 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

1
Analyze the storage requirement for profile pictures.
Profile pictures are large objects (average 2 MB) and require durable, cost-effective storage. Amazon S3 is the optimal service for object storage.
S3 is designed for high durability and scales automatically to millions of objects.
2
Analyze the database requirement for session state and user preferences.
The session data requires single-digit millisecond latency and auto-scaling capabilities. Amazon DynamoDB is a fully managed NoSQL key-value store that provides consistent single-digit millisecond response times and automatic throughput scaling.
DynamoDB is optimal for session storage and low-latency key-value access.
3
Evaluate the remaining options against the architectural constraints.
Aurora standby replicas in Multi-AZ are not readable, Pilot Light is not active-active, and AWS-managed KMS keys cannot be shared cross-account.
These options violate basic AWS service limitations and configurations.

Key Concept

Selecting appropriate AWS database and storage services based on performance, capacity, and architectural constraints.
Rate this question