SAP-C02 Question 293
Select 2A company is running a video streaming platform where users can watch videos in real time. During peak hours, users experience buffering issues and delays in playback. The platform is hosted on Amazon EC2 instances behind an Application Load Balancer (ALB), with video files stored on Amazon S3. The company wants to improve the performance of the streaming service while minimizing operational overhead. How can you design a solution to meet these performance objectives?
- A
Implement Amazon CloudFront as a content delivery network (CDN) for caching video content closer to the users.
- B
Migrate the video files from Amazon S3 to Amazon EBS attached to the EC2 instances to improve file read speeds.
- C
Enable Amazon S3 Transfer Acceleration to improve upload and download speeds for video files.
- D
Configure Amazon CloudFront to cache frequently accessed video content and integrate it with the existing S3 bucket.
- E
Use AWS Global Accelerator to improve TCP performance between users and the EC2 instances behind the ALB.
Show answer and explanation
Correct answers: A, D
Explanation
The best approach to meet the performance objectives for a video streaming platform is to implement Amazon CloudFront as a CDN and configure it to cache video content from Amazon S3. CloudFront reduces latency by delivering content through edge locations closer to users, thereby improving streaming performance. Migrating to EBS or using S3 Transfer Acceleration does not directly address the streaming performance issues, and AWS Global Accelerator is not appropriate for this use case.
- A. Correct.
Implementing Amazon CloudFront as a CDN is a correct solution because it caches content at edge locations, reducing latency and improving streaming performance for users globally.
- B. Incorrect.
Migrating video files to Amazon EBS is not a recommended approach for this scenario because Amazon S3 is highly scalable and optimized for serving static content like video files. EBS-based storage would increase complexity and operational overhead.
- C. Incorrect.
Amazon S3 Transfer Acceleration is beneficial for faster uploads and downloads but is not directly relevant to improving real-time video streaming performance for end users.
- D. Correct.
Configuring Amazon CloudFront to cache frequently accessed video content and integrating it with S3 ensures optimal delivery of videos with low latency and high data transfer rates, addressing the performance issues.
- E. Incorrect.
AWS Global Accelerator improves global networking performance, but it is more suited for low-latency applications like APIs and gaming. It does not address video content delivery optimization in this scenario.