Question 550
An asynchronous media service needs end-to-end resilience. The team confirms that media conversion workloads take hours and exceed Lambda's timeout. Which option best matches the identified issue?
Explanation
Correct Answer
The scenario identifies this requirement: Media conversion workloads take hours and exceed Lambda's timeout. Select Use MediaConvert or AWS Batch/ECS for long processing stages as the specified technical mechanism. Long-running conversion requires suitable managed job execution. This response addresses the problem described rather than a different design goal.
Incorrect Answers
The option Record job state and support bounded retry/failure notifications addresses a separate condition: a media processing worker fails mid-file and the customer gets no notification. Durable job state makes failures diagnosable. The actual requirement is media conversion workloads take hours and exceed Lambda's timeout. Recommended corrective action: Use MediaConvert or AWS Batch/ECS for long processing stages. Long-running conversion requires suitable managed job execution.
For the alternative failure an S3 trigger is occasionally delivered more than once, the control Make output writes and job identifiers idempotent is relevant: s3 events can trigger duplicate processing. Here the evidence instead is media conversion workloads take hours and exceed Lambda's timeout. The selected technical mechanism is Use MediaConvert or AWS Batch/ECS for long processing stages: long-running conversion requires suitable managed job execution.
Queue jobs in SQS and scale an elastic processing fleet solves a different operational problem where uploaded videos go directly to one EC2 transcoder that cannot handle bursts. Durable queues absorb sudden submission peaks. It does not directly address media conversion workloads take hours and exceed Lambda's timeout. The case calls for Use MediaConvert or AWS Batch/ECS for long processing stages, since long-running conversion requires suitable managed job execution.