AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A travel-booking platform stores short-lived user session data in an Amazon RDS for MySQL database that also holds transactional booking information. During flash-sale events, the volume of session traffic can spike unpredictably to 100,000 read and write operations per second, overwhelming the relational instance. Each session record is smaller than 4 KB, identified by a unique SessionID, and must expire automatically 30 minutes after it is created.

The modernization team wants to migrate this session workload to a purpose-built AWS database service that will:

  • Provide sub-10-millisecond read and write latency at any scale
  • Scale automatically to accommodate traffic spikes without capacity planning
  • Delete expired session records automatically without additional application code
  • Bill only for actual read and write requests during off-peak periods
  • Require minimal operational management effort

Which solution meets these requirements MOST cost-effectively?

  • Migrate the session store to an Amazon ElastiCache for Redis cluster with cluster-mode enabled and set a 30-minute key expiration for each session.

  • Create an Amazon DynamoDB table, enable on-demand capacity mode, and configure a Time To Live (TTL) attribute set to 30 minutes for each session item.

  • Create an Amazon Redshift Serverless workgroup and configure automatic vacuum and retention policies to remove session rows after 30 minutes.

  • Deploy an Amazon Aurora Serverless v2 MySQL cluster and schedule an hourly SQL event to purge session rows older than 30 minutes.

AWS Certified Solutions Architect Professional SAP-C02
Accelerate Workload Migration and Modernization
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot