A media company is redesigning its video transcoding pipeline on AWS. Currently, a monolithic system receives uploaded videos, transcodes them, and stores the results. When multiple large files are uploaded at the same time, the system runs out of resources and fails, halting the entire pipeline. Which of the following architectural changes should the company implement to align with the AWS Cloud design principles of 'loose coupling' and 'services not servers'? (Select TWO.)
- Use Amazon Simple Queue Service (Amazon SQS) to buffer incoming transcoding requests, allowing the upload and transcoding components to operate independently.Answer
- Utilize AWS Lambda functions to execute the transcoding code automatically in response to upload events without provisioning or managing virtual servers.Answer
- CHost both the upload interface and the transcoding software on a single high-performance Amazon EC2 instance to ensure they share local memory space for fast data sharing.
- DDesign the upload component to make direct synchronous API calls to the transcoding servers to ensure real-time status updates are maintained.
- EPre-provision a static fleet of Amazon EC2 instances based on peak video upload volume to ensure there is always sufficient CPU capacity.
Answer
The correct architecture uses Amazon Simple Queue Service (Amazon SQS) to decouple the upload and transcoding components, and AWS Lambda to process transcoding tasks without managing underlying servers.
The correct selections are using Amazon Simple Queue Service (Amazon SQS) to buffer incoming transcoding requests and utilizing AWS Lambda to execute transcoding code. Amazon SQS decouples the upload and transcoding components so they do not depend on each other's immediate availability (implementing loose coupling). AWS Lambda runs code serverlessly in response to upload events, which removes the operational burden of managing, patching, and scaling physical or virtual servers (implementing services not servers).
Step-by-Step Solution
Key Concept
AWS Cloud Design Principles: Loose Coupling and Services Not Servers