An online auction application hosts its platform on AWS. The application uses an Amazon S3 bucket to store high-resolution item images, which are active only during a -day auction window before they are archived or deleted. Bidders frequently query the auction catalog, resulting in high read latencies for both the item images and the bid history stored in an Amazon DynamoDB table. A solutions architect must design a caching and content delivery strategy to minimize read latency for both the static images and the database queries.
Which combination of steps should the solutions architect take to meet these requirements? (Select TWO.)
- Deploy an Amazon CloudFront distribution with the Amazon S3 bucket configured as the origin to cache and serve the item images.Answer
- Deploy an Amazon DynamoDB Accelerator (DAX) cluster to cache read queries for the bid history table.Answer
- CConfigure a CloudFront cache behavior with Minimum TTL, Maximum TTL, and Default TTL set to to ensure bidders always receive the most up-to-date images from the S3 bucket.
- DStore the item images directly in the Amazon S3 Standard-Infrequent Access (S3 Standard-IA) storage class to optimize storage costs for the short-term auction period.
- EDesign the DynamoDB table with a partition key based on a monotonically increasing timestamp to optimize write performance for active bids.
Answer
Deploy an Amazon CloudFront distribution with the Amazon S3 bucket configured as the origin to cache and serve the item images, and deploy an Amazon DynamoDB Accelerator (DAX) cluster to cache read queries for the bid history table.
Deploying Amazon CloudFront caching in front of S3 ensures static assets (images) are served from edge locations with low latency. Deploying DynamoDB Accelerator (DAX) provides microsecond-latency caching for DynamoDB queries without needing custom application cache code.
Step-by-Step Solution
Key Concept
Multi-tier caching using Amazon CloudFront for static object storage and Amazon DynamoDB Accelerator (DAX) for database reads.
Estimated Time:2m 0s