A startup is designing a new web application that allows users to upload profile pictures and view their user profile details. The profile photos are unstructured files up to in size, and the profile details consist of structured, schema-flexible data. The application requires a storage and database strategy that is highly available, cost-effective, and automatically scales to handle highly variable read traffic. Which two database and storage configurations should the solutions architect choose to meet these requirements?
- Store user profile photos in Amazon S3 and serve them via Amazon CloudFront.Cevap
- Store user profile details in Amazon DynamoDB with on-demand capacity mode.Cevap
- CDeploy Amazon RDS for MySQL in a Multi-AZ configuration, and configure the web application to query the standby instance directly to scale read performance.
- DUse Amazon ElastiCache for Memcached to store user session data that requires persistent, multi-Availability Zone replication.
- EEncrypt the S3 bucket containing public profile photos using an AWS-managed KMS key (aws/s3) and modify its key policy to allow cross-account access.
Cevap
Store user profile photos in Amazon S3 and serve them via Amazon CloudFront, and store user profile details in Amazon DynamoDB with on-demand capacity mode.
Storing unstructured images in Amazon S3 combined with Amazon CloudFront provides highly available, low-latency, and cost-effective object delivery. Storing key-value user profile details in Amazon DynamoDB with on-demand capacity mode ensures that the database scales automatically with traffic fluctuations without manual provisioning.
Adım Adım Çözüm
Anahtar Kavram
Selecting the optimal database and storage services based on unstructured object vs. structured key-value data patterns, while understanding scaling limits of standbys, caching engines, and KMS keys.
Tahmini Süre:1m 30s