AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A financial services company is modernizing a monolithic application that runs on a fleet of Amazon EC2 instances. A key component of this application is a report generation process that is triggered whenever a new data file is uploaded to an Amazon S3 bucket. This process aggregates data and performs complex calculations, occasionally taking up to 25 minutes to complete. The workload is highly variable, with long idle periods followed by intense, unpredictable bursts of activity. A solutions architect must design a new architecture for this process that is serverless, event-driven, and cost-effective.

Which approach MOST effectively meets these requirements?

  • Configure a single AWS Lambda function with maximum memory and a 15-minute timeout. Use Amazon S3 event notifications to trigger the function and configure a dead-letter queue (DLQ) to handle timeouts.

  • Use Amazon S3 event notifications to send a message to an Amazon SQS queue. Configure an EC2 Auto Scaling group to process messages from the queue, scaling the number of instances based on queue depth.

  • Package the process into a container and run it as an AWS Fargate task. Use an Amazon EventBridge rule to trigger the task in response to the S3 object creation event.

  • Refactor the report generation process into a series of smaller AWS Lambda functions orchestrated by an AWS Step Functions state machine. Trigger the state machine execution from the S3 event.

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