Question

Difficulty: MediumHigh-Performing Content Delivery and Caching Solutions

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

  1. Deploy an Amazon CloudFront distribution with the Amazon S3 bucket configured as the origin to cache and serve the item images.Answer
  2. Deploy an Amazon DynamoDB Accelerator (DAX) cluster to cache read queries for the bid history table.Answer
  3. C
    Configure a CloudFront cache behavior with Minimum TTL, Maximum TTL, and Default TTL set to 00 to ensure bidders always receive the most up-to-date images from the S3 bucket.
  4. D
    Store 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.
  5. E
    Design 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

1
Analyze the caching requirement for static content.
Identify that the item images stored in Amazon S3 are static assets that can be cached globally.
Deploying Amazon CloudFront reduces latency by caching static images at edge locations closer to bidders.
2
Analyze the caching requirement for database queries.
Identify that the bid history is stored in DynamoDB and undergoes frequent read queries.
Deploying Amazon DynamoDB Accelerator (DAX) provides an in-memory cache directly in front of DynamoDB, reducing read query latency to sub-milliseconds without application-side logic changes.
3
Evaluate and eliminate sub-optimal storage, partitioning, and caching configurations.
Discard options suggesting TTL values of 00, premature S3 Standard-IA tiering, and monotonic keys.
TTL of 00 bypasses CloudFront cache, S3 Standard-IA has a 3030-day minimum billing penalty, and monotonic keys cause DynamoDB hot partitions.

Key Concept

Multi-tier caching using Amazon CloudFront for static object storage and Amazon DynamoDB Accelerator (DAX) for database reads.
Estimated Time:2m 0s
Rate this question