SAP-C02 Question 615
Single answerA media company hosts its video streaming platform on a fleet of EC2 instances behind an Application Load Balancer (ALB). These instances are part of an Auto Scaling group. Users have been experiencing inconsistent streaming performance during peak traffic periods, and the company wants to improve scalability, reduce operational overhead, and optimize costs. What is the most appropriate new architecture for this workload?
- A
Migrate the workload to Amazon Elastic Kubernetes Service (EKS) and use Kubernetes Horizontal Pod Autoscaler for scaling.
- B
Replace the EC2 instances with AWS Lambda functions to handle video streaming, triggered by API Gateway.
- C
Migrate the workload to AWS Elastic Beanstalk with load balancing and Auto Scaling enabled.
- D
Re-architect the application to use Amazon CloudFront for video delivery and Amazon S3 for storing video content.
Show answer and explanation
Correct answer: D
Explanation
Re-architecting the workload to use Amazon CloudFront for video delivery and Amazon S3 for storing video content is the most suitable solution. CloudFront ensures consistent performance by caching the video closer to the users, reducing latency during peak traffic periods. Amazon S3 provides scalable storage, which is cost-effective and reliable for storing video files. This architecture improves scalability, reduces operational overhead, and optimizes costs, making it the most appropriate choice for the given scenario.
- A. Incorrect.
Amazon EKS with Kubernetes Horizontal Pod Autoscaler is designed for containerized applications, but video streaming workloads are not inherently container-based. This option introduces unnecessary complexity and does not directly address cost optimization or performance improvement for this specific use case.
- B. Incorrect.
AWS Lambda is not suitable for long-running or stateful processes like video streaming. Lambda functions have a maximum execution time limit and are not optimized for continuous streaming workloads.
- C. Incorrect.
AWS Elastic Beanstalk simplifies deployments and scaling for web applications, but it does not provide the global caching and optimized content delivery capabilities needed for video streaming workloads.
- D. Correct.
Amazon CloudFront is a global content delivery network that caches content closer to users, reducing latency, while Amazon S3 provides a cost-effective, scalable, and highly durable storage solution for video content. This architecture directly addresses performance issues, reduces operational overhead, and optimizes costs.