Table of Contents
Question
An online gaming company needs to rehost its gaming platform on AWS. The company’s gaming application requires high performance computing (HPC) processing and has a leaderboard that changes frequently. An Ubuntu instance that is optimized for compute generation hosts a Node.js application for game display. Game state is tracked in an on-premises Redis instance. The company needs a migration strategy that optimizes application performance. Which solution will meet these requirements?
A. Create an Auto Scaling group of m5.large Amazon EC2 Spot Instances behind an Application Load Balancer. Use an Amazon ElastlCache for Redis cluster to maintain the leaderboard.
B. Create an Auto Scaling group of c5.large Amazon EC2 Spot Instances behind an Application Load Balancer. Use an Amazon OpenSearch Service cluster to maintain the leaderboard.
C. Create an Auto Scaling group of c5.large Amazon EC2 On-Demand Instances behind an Application Load Balancer. Use an Amazon ElastiCache for Redis cluster to maintain the leaderboard.
D. Create an Auto Scaling group of m5.large Amazon EC2 On-Demand Instances behind an Application Load Balancer. Use an Amazon DynamoDB table to maintain the leaderboard.
Answer
C. Create an Auto Scaling group of c5.large Amazon EC2 On-Demand Instances behind an Application Load Balancer. Use an Amazon ElastiCache for Redis cluster to maintain the leaderboard.
Explanation
C. Create an Auto Scaling group of c5.large Amazon EC2 On-Demand Instances behind an Application Load Balancer. Use an Amazon ElastiCache for Redis cluster to maintain the leaderboard.
This solution meets the requirements for the online gaming company because:
- c5.large instances are optimized for compute-intensive workloads, providing the high performance computing (HPC) processing required by the gaming application.
- Using an Auto Scaling group ensures that the application can scale automatically based on demand, maintaining performance even during peak times.
- Placing the instances behind an Application Load Balancer distributes incoming traffic evenly across the instances, improving overall performance and availability.
- Amazon ElastiCache for Redis is a fully managed, in-memory data store that is compatible with the existing on-premises Redis instance, making it an effective choice for maintaining the leaderboard. ElastiCache for Redis provides low-latency data access and supports high-throughput operations, which are essential for a frequently changing leaderboard.
The other options are not correct because:
A. Create an Auto Scaling group of m5.large Amazon EC2 Spot Instances behind an Application Load Balancer. Use an Amazon ElastiCache for Redis cluster to maintain the leaderboard. This option is not correct because m5 instances are general purpose instances that offer a balance of compute, memory, storage, and networking resources. They are not optimized for compute-intensive workloads such as HPC processing and may not offer the best performance for the gaming platform.
C. Create an Auto Scaling group of c5.large Amazon EC2 On-Demand Instances behind an Application Load Balancer. Use an Amazon ElastiCache for Redis cluster to maintain the leaderboard. This option is not correct because it does not leverage the cost savings of using Spot Instances for the gaming platform. On-Demand Instances are the most expensive pricing option for EC2 instances and may not be cost-effective for fault-tolerant, flexible, scalable, and stateless applications such as gaming platforms.
D. Create an Auto Scaling group of m5.large Amazon EC2 On-Demand Instances behind an Application Load Balancer. Use an Amazon DynamoDB table to maintain the leaderboard. This option is not correct because it does not leverage the benefits of using ElastiCache for Redis for storing and retrieving game state data in sub-millisecond latency. DynamoDB is a fully managed NoSQL database service that offers consistent single-digit millisecond latency at any scale. However, DynamoDB may not be able to handle frequent updates and queries for leaderboards as efficiently as ElastiCache for Redis.
Reference
- 6 Strategies for Migrating Applications to the Cloud | AWS Cloud Enterprise Strategy Blog (amazon.com)
- Boosting application performance and reducing costs with Amazon ElastiCache for Redis | AWS Database Blog
- About the migration strategies – AWS Prescriptive Guidance (amazon.com)
- How to Migrate – Amazon Web Services
- Strategy and best practices for AWS large migrations – AWS Prescriptive Guidance (amazon.com)
- Build a real-time gaming leaderboard with Amazon ElastiCache for Redis | AWS Database Blog
- Reservation models for other AWS services – Amazon EC2 Reserved Instances and Other AWS Reservation Models
Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Professional SAP-C02 exam and earn Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification.