
Answer-first summary for fast verification
Answer: Implement the REST API using Amazon API Gateway. Run the business logic in AWS Lambda. Store player session data in Amazon DynamoDB with on-demand capacity.
The correct answer is C. Implementing the REST API using Amazon API Gateway, running the business logic in AWS Lambda, and storing player session data in Amazon DynamoDB with on-demand capacity provides an elastic and highly available architecture. API Gateway can handle variable loads efficiently, and Lambda ensures the business logic scales automatically with the load. DynamoDB's on-demand capacity mode offers low-latency data access and adjusts its throughput capacity automatically based on the traffic, making this setup ideal for handling the varying load and avoiding latency issues without changing the API model.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company has developed a mobile game with a backend running on virtual machines in an on-premises data center. The backend exposes business logic through a REST API and stores player session data in central file storage. The backend uses API keys for throttling and to differentiate between live and test traffic. The game experiences variable load throughout the day, with insufficient server capacity during peak hours and latency issues when accessing player session data. The management has requested a cloud architecture solution that can handle the game's fluctuating load and provide low-latency data access without altering the API model. Which solution meets these requirements?
A
Implement the REST API using a Network Load Balancer (NLB). Run the business logic on an Amazon EC2 instance behind the NLB. Store player session data in Amazon Aurora Serverless.
B
Implement the REST API using an Application Load Balancer (ALB). Run the business logic in AWS Lambda. Store player session data in Amazon DynamoDB with on-demand capacity.
C
Implement the REST API using Amazon API Gateway. Run the business logic in AWS Lambda. Store player session data in Amazon DynamoDB with on-demand capacity.
D
Implement the REST API using AWS AppSync. Run the business logic in AWS Lambda. Store player session data in Amazon Aurora Serverless.