A gaming company hosts a global multiplayer game. The backend architecture consists of an Application Load Balancer (ALB) routing player requests to Amazon EC2 instances in an Auto Scaling group, with Amazon DynamoDB storing player profiles and leaderboards. Static game assets are stored in Amazon S3. During peak gaming events, the EC2 instances experience high CPU utilization due to the overhead of retrieving static assets and querying player profiles. The DynamoDB table also experiences throttling. A solutions architect must design a high-performing architecture that minimizes latency for players globally and reduces load on both the EC2 instances and the database. Which architecture should the solutions architect recommend to meet these requirements?
- Deploy an Amazon CloudFront distribution with Amazon S3 as the origin for static game assets. Provision an Amazon DynamoDB Accelerator (DAX) cluster to cache read queries, and configure the application to direct database requests to the DAX endpoint.Cevap
- BDeploy an Amazon CloudFront distribution with Amazon S3 as the origin for static game assets, setting the Default, Minimum, and Maximum TTL to on the cache behavior. Provision an Amazon DynamoDB Accelerator (DAX) cluster to cache database read queries.
- CDeploy an Amazon CloudFront distribution with Amazon S3 as the origin for static game assets. To handle the database read spikes, configure the Amazon DynamoDB table in Provisioned Capacity mode with a high threshold of read capacity units (RCUs) and enable Auto Scaling.
- DStore game assets in Amazon S3 and have EC2 instances in private subnets download them via a NAT Gateway to serve them to players. Provision an Amazon DynamoDB Accelerator (DAX) cluster to cache database read queries.