nerdexam
AmazonAmazon

SAP-C02 · Question #698

SAP-C02 Question #698: Real Exam Question with Answer & Explanation

The correct answer is D: Migrate the storage of the contest entries to Amazon DynamoDB. Rewrite the code as AWS. It leverages DynamoDB for efficient, scalable storage with automatic data expiration via TTL and AWS Lambda for flexible, event-driven processing. This setup minimizes costs by using resources only when needed and automatically scaling to match demand without the need for manual

Submitted by dimitri_ru· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A company uses a mobile app on AWS to run online contests. The company selects a winner at random at the end of each contest. The contests run for variable lengths of time. The company does not need to retain any data from a contest after the contest is finished. The company uses custom code that is hosted on Amazon EC2 instances to process the contest data and select a winner. The EC2 instances run behind an Application Load Balancer and store contest entries on Amazon RDS DB instances. The company must design a new architecture to reduce the cost of running the contests. Which solution will meet these requirements MOST cost-effectively?

Options

  • AMigrate storage of the contest entries to Amazon DynamoDB. Create a DynamoDB Accelerator
  • BMigrate the storage of the contest entries to Amazon Redshift. Rewrite the code as AWS Lambda
  • CAdd an Amazon ElastiCache for Redis cluster in front of the RDS DB instances to cache the
  • DMigrate the storage of the contest entries to Amazon DynamoDB. Rewrite the code as AWS

Explanation

It leverages DynamoDB for efficient, scalable storage with automatic data expiration via TTL and AWS Lambda for flexible, event-driven processing. This setup minimizes costs by using resources only when needed and automatically scaling to match demand without the need for manual intervention or over-provisioning.

Community Discussion

No community discussion yet for this question.

Full SAP-C02 PracticeBrowse All SAP-C02 Questions