nerdexam
Amazon

SAP-C02 · Question #62

A company has a website that enables users to upload videos. Company policy states the uploaded videos must be analyzed for restricted content. An uploaded video is placed in Amazon S3, and a…

The correct answer is B. Keep the website on T2 instances. Determine the minimum number of website instances required. To reduce costs for a video analysis application that is compute-intensive and sporadic, the most effective solution is to keep the website on cost-efficient T2 instances and redesign the analysis backend. Migrate the analysis application to compute-optimized C5 instances, use…

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

Question

A company has a website that enables users to upload videos. Company policy states the uploaded videos must be analyzed for restricted content. An uploaded video is placed in Amazon S3, and a message is pushed to an Amazon SOS queue with the video's location. A backend application pulls this location from Amazon SOS and analyzes the video. The video analysis is compute-intensive and occurs sporadically during the day The website scales with demand. The video analysis application runs on a fixed number of instances. Peak demand occurs during the holidays, so the company must add instances to the application dunng this time. All instances used are currently on-demand Amazon EC2 T2 instances. The company wants to reduce the cost of the current solution. Which of the following solutions is MOST cost-effective?

Options

  • AKeep the website on T2 instances. Determine the minimum number of website instances required
  • BKeep the website on T2 instances. Determine the minimum number of website instances required
  • CMigrate the website to AWS Elastic Beanstalk and Amazon EC2 C4 instances. Determine the
  • DMigrate the website to AWS Elastic Beanstalk and Amazon EC2 R4 instances. Determine the

How the community answered

(49 responses)
  • A
    29% (14)
  • B
    55% (27)
  • C
    10% (5)
  • D
    6% (3)

Why each option

To reduce costs for a video analysis application that is compute-intensive and sporadic, the most effective solution is to keep the website on cost-efficient T2 instances and redesign the analysis backend. Migrate the analysis application to compute-optimized C5 instances, use Amazon EC2 Spot Instances for additional capacity, and implement Auto Scaling based on SQS queue depth to automatically match compute resources to demand, eliminating manual scaling and reducing costs for the sporadic workload.

AKeep the website on T2 instances. Determine the minimum number of website instances required

Using Reserved Instances (RIs) for the sporadic video analysis workload is less cost-effective than Spot Instances, as RIs are designed for predictable, steady-state usage, and would incur costs even during periods of low demand, rather than dynamically scaling down like Spot with Auto Scaling.

BKeep the website on T2 instances. Determine the minimum number of website instances requiredCorrect

Keeping the website on T2 instances is cost-effective for general web serving. For the compute-intensive and sporadic video analysis, migrating to C5 compute-optimized instances provides better performance per dollar. Utilizing Amazon EC2 Spot Instances for additional capacity drastically reduces costs for the flexible, fault-tolerant analysis workload, and configuring Auto Scaling based on SQS queue depth automatically provisions and deprovisions instances as demand fluctuates, optimizing costs and eliminating manual intervention.

CMigrate the website to AWS Elastic Beanstalk and Amazon EC2 C4 instances. Determine the

Migrating the website to C4 instances (compute-optimized) might be an overprovision for a general "website" and potentially increase its cost unnecessarily, as T2 instances could be sufficient. Also, C5 instances generally offer better price-performance than C4 for compute-intensive tasks.

DMigrate the website to AWS Elastic Beanstalk and Amazon EC2 R4 instances. Determine the

Migrating the website to R4 instances (memory-optimized) is likely inappropriate and more expensive for a general "website" workload, as is using R4 instances for a "compute-intensive" task unless it also has very high memory requirements, which are not specified.

Concept tested: Cost optimization for compute-intensive, sporadic workloads (Spot, Auto Scaling, instance types)

Source: https://aws.amazon.com/ec2/spot/, https://aws.amazon.com/blogs/compute/scaling-your-applications-with-amazon-sqs-and-amazon-ec2-auto-scaling/, https://aws.amazon.com/ec2/instance-types/

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice