Skip to Content

Amazon AWS Certified Solutions Architect – Professional SAP-C02 Exam Question & Answer: Migration with optimizes application performance

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 1

The solution that will meet the requirements is Option A.

Here’s why:

  • The company’s gaming application requires high performance computing (HPC) processing. The m5.large Amazon EC2 Spot Instances are optimized for compute generation and provide high performance computing.
  • The leaderboard changes frequently and requires a fast response time. An Amazon ElastiCache for Redis cluster can maintain the leaderboard and provide fast response times.
  • Auto Scaling group of m5.large Amazon EC2 Spot Instances behind an Application Load Balancer can help optimize application performance by scaling up or down based on demand.

Explanation 2

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:

  1. c5.large instances are optimized for compute-intensive workloads, providing the high performance computing (HPC) processing required by the gaming application.
  2. Using an Auto Scaling group ensures that the application can scale automatically based on demand, maintaining performance even during peak times.
  3. Placing the instances behind an Application Load Balancer distributes incoming traffic evenly across the instances, improving overall performance and availability.
  4. 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.

Option A is not suitable because m5.large instances are not optimized for compute-intensive workloads. Option B is not suitable because Amazon OpenSearch Service is primarily used for search and analytics workloads, not for maintaining leaderboards. Option D is not suitable because m5.large instances are not optimized for compute-intensive workloads, and although DynamoDB is a high-performance NoSQL database, it is not as suitable as ElastiCache for Redis for maintaining a frequently changing leaderboard with low-latency requirements.

Explanation 3

The company needs to rehost its gaming platform on AWS. The 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.

To meet these requirements, the company can create an Auto Scaling group of m5.large Amazon EC2 On-Demand Instances behind an Application Load Balancer. They can use an Amazon ElastiCache for Redis cluster to maintain the leaderboard.

Explanation 4

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:

The online gaming company requires high performance computing (HPC) for its gaming application, and since the leaderboard changes frequently, it needs a solution that can handle rapid updates.

Option C is the best solution for these requirements because:

– c5.large instances are optimized for compute-intensive workloads, providing the necessary HPC processing for the gaming application.

– Using an Auto Scaling group allows the company to scale the number of instances up or down based on demand, ensuring optimal application performance.

– Placing the instances behind an Application Load Balancer distributes incoming traffic evenly across the instances, further improving performance.

– Amazon ElastiCache for Redis is a fast, in-memory data store that is well-suited for use cases like maintaining a frequently-updated leaderboard. Since the company already uses Redis on-premises, this will also minimize the changes required for migration.

Options A and B are not ideal because they use Spot Instances, which may not always be available due to fluctuations in demand and pricing. This could lead to interruptions in the gaming application’s performance. Additionally, Option B uses Amazon OpenSearch Service, which is not as well-suited for the leaderboard use case as ElastiCache for Redis.

Option D is not the best choice because the m5.large instances are not optimized for compute-intensive workloads like the gaming application, and DynamoDB, while a powerful and scalable service, is not as suitable for the rapidly changing leaderboard as ElastiCache for Redis.

Explanation 5

The question you asked is about how to rehost a gaming platform on AWS that requires high performance computing (HPC) processing and has a leaderboard that changes frequently. The gaming application runs on an Ubuntu instance that is optimized for compute generation and hosts a Node.js application for game display. Game state is tracked in an on-premises Redis instance. The solution that will meet these requirements while optimizing application performance is 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.

Amazon EC2 is a web-based service that provides scalable computing power on Amazon Web Services. You can choose from different types of EC2 instances based on your compute, memory, storage, and networking needs. C5 instances are optimized for compute-intensive workloads such as HPC processing and offer the lowest price per vCPU in the Amazon EC2 family.

Amazon EC2 Spot Instances are spare EC2 instances that are available for up to 90% off the On-Demand price. You can use Spot Instances for fault-tolerant, flexible, scalable, and stateless applications such as gaming platforms that can benefit from significant cost savings. You can also use Spot Instances with Auto Scaling groups to automatically add or remove instances based on demand or available capacity.

An Application Load Balancer is a fully managed load balancer that operates at the application layer (layer 7) of the Open Systems Interconnection (OSI) model. You can use an Application Load Balancer to distribute incoming traffic across multiple EC2 instances in multiple Availability Zones. You can also use an Application Load Balancer to support path-based routing, host-based routing, HTTP/2, WebSocket, and containerized applications.

Amazon ElastiCache is a fully managed in-memory data store and cache service that supports Redis and Memcached engines. You can use ElastiCache for Redis to store and retrieve game state data such as leaderboards, user profiles, session state, and game configuration in sub-millisecond latency. You can also use ElastiCache for Redis to scale your cluster horizontally or vertically without any downtime.

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.

Explanation 6

The solution that will meet these requirements is 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.

  • Amazon EC2 m5.large instances are optimized for general purpose workloads and offer a good balance of CPU, memory, and networking resources.
  • Amazon Application Load Balancers distribute traffic across multiple EC2 instances, ensuring that no single instance is overloaded.
  • Amazon DynamoDB is a fully managed NoSQL database that is ideal for storing and retrieving leaderboard data.

This solution will provide the following benefits:

  • High performance: Amazon EC2 m5.large instances offer the CPU and memory resources needed to run the gaming application at peak performance.
  • Scalability: Amazon Auto Scaling can automatically scale the number of EC2 instances up or down based on demand, ensuring that the application is always available.
  • Reliability: Amazon Application Load Balancers provide high availability and redundancy, protecting the application from outages.
  • Cost-effectiveness: Amazon EC2 On-Demand Instances are a cost-effective option for running gaming applications.

The other solutions are not as suitable for this scenario.

  • Solution A uses Amazon EC2 Spot Instances, which are available at a discounted price. However, Spot Instances can be interrupted at any time, which could cause outages in the gaming application.
  • Solution B uses Amazon OpenSearch Service, which is a good choice for storing large amounts of data. However, OpenSearch Service is not as well-suited for storing leaderboard data, which is typically small and frequently updated.
  • Solution C uses Amazon EC2 On-Demand Instances, which are a reliable option for running gaming applications. However, On-Demand Instances can be more expensive than Spot Instances.

Explanation 7

The solution that will meet the requirements of optimizing application performance is:

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.

Option B suggests creating an Auto Scaling group of c5.large Amazon EC2 Spot Instances behind an Application Load Balancer. This combination provides high-performance computing (HPC) processing for the gaming application. Amazon EC2 Spot Instances offer significant cost savings and are suitable for workloads with flexible start and end times, such as gaming platforms. The c5.large instance type is optimized for compute, ensuring efficient processing for the gaming application.

In addition, the solution proposes using Amazon OpenSearch Service (formerly known as Amazon Elasticsearch Service) to maintain the leaderboard. OpenSearch Service is a fully managed search service that offers real-time search and analytics capabilities. It can handle frequent changes to the leaderboard efficiently and provide fast access to the data.

Option A suggests using Amazon ElastiCache for Redis to maintain the leaderboard. While ElastiCache is a valid option for caching and in-memory data storage, it may not provide the same level of performance as OpenSearch Service for frequent changes to the leaderboard.

Option C suggests using c5.large Amazon EC2 On-Demand Instances instead of Spot Instances. On-Demand Instances are typically more expensive and may not be the optimal choice for cost optimization. Spot Instances provide significant cost savings, and since gaming platforms often have flexible workload requirements, they are a suitable choice.

Option D suggests using an Amazon DynamoDB table to maintain the leaderboard. While DynamoDB is a highly scalable and fully managed NoSQL database service, it may not provide the same level of performance as OpenSearch Service for leaderboard updates and real-time access.

In summary, option B, which includes using Amazon EC2 Spot Instances and Amazon OpenSearch Service, provides an optimized solution for high-performance computing and frequent leaderboard updates, meeting the requirements of the online gaming company.

Explanation 8

The solution that will meet these requirements is 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.

  • Amazon EC2 On-Demand Instances are a good choice for this application because they provide a consistent level of performance and can be scaled up or down as needed.
  • Amazon ElastiCache for Redis is a good choice for storing the leaderboard because it is a fast and scalable in-memory data store.
  • An Application Load Balancer is a good choice for distributing traffic across multiple instances.

Here are some additional details about each of these services:

  • Amazon EC2 On-Demand Instances are a good choice for this application because they provide a consistent level of performance and can be scaled up or down as needed. On-Demand Instances are billed by the hour, and you can choose the instance type that best meets your needs.
  • Amazon ElastiCache for Redis is a good choice for storing the leaderboard because it is a fast and scalable in-memory data store. Redis is a popular open-source in-memory data store that is known for its speed and scalability. Amazon ElastiCache for Redis makes it easy to set up and manage a Redis cluster on AWS.
  • An Application Load Balancer is a good choice for distributing traffic across multiple instances. An Application Load Balancer distributes traffic across multiple instances of your application, which can help to improve performance and availability.

Explanation 9

The best solution is C. This solution uses c5.large Amazon EC2 On-Demand Instances, which are optimized for compute-intensive workloads and provide consistent performance. The Application Load Balancer distributes the traffic evenly across the instances and supports path-based routing. The Amazon ElastiCache for Redis cluster provides a fast and scalable in-memory data store that can handle frequent updates to the leaderboard. This solution also minimizes the changes to the existing application code and configuration, as it uses the same Redis protocol and commands as the on-premises instance.

Explanation 10

The correct answer is 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 solution meets the requirements of the company because it:

  • Uses Amazon EC2 Spot Instances, which are available at a discounted price. This can save the company money on its hosting costs.
  • Uses an Amazon Application Load Balancer to distribute traffic across multiple instances. This can improve application performance and reliability.
  • Uses an Amazon ElastiCache for Redis cluster to maintain the leaderboard. This can provide high performance and low latency access to the leaderboard data.

The other solutions do not meet all of the requirements of the company.

Solution B uses Amazon OpenSearch Service, which is a good choice for storing large amounts of data. However, it is not as well-suited for high performance applications as Amazon ElastiCache for Redis.

Solution C uses Amazon EC2 On-Demand Instances, which are more expensive than Spot Instances.

Solution D uses Amazon DynamoDB, which is a good choice for storing small amounts of data. However, it is not as well-suited for storing large amounts of data as Amazon ElastiCache for Redis.

Reference

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.

    Ads Blocker Image Powered by Code Help Pro

    Your Support Matters...

    We run an independent site that\'s committed to delivering valuable content, but it comes with its challenges. Many of our readers use ad blockers, causing our advertising revenue to decline. Unlike some websites, we haven\'t implemented paywalls to restrict access. Your support can make a significant difference. If you find this website useful and choose to support us, it would greatly secure our future. We appreciate your help. If you\'re currently using an ad blocker, please consider disabling it for our site. Thank you for your understanding and support.