Development with AWS Services
An upload service calls an image processor directly and rejects uploads when the processor is unavailable. Processing can finish later. Which change BEST removes this availability dependency?
Show the answer
Correct answerD. Submit processing jobs to Amazon SQS for workers to consume.
AWhy not this: A longer timeout increases waiting time without removing the dependency on processor availability.
BWhy not this: Load balancing distributes calls but does not buffer jobs when processors are unavailable.
CWhy not this: Backoff reduces retry pressure but retains the direct availability dependency.
DWhy this is right: A queue accepts jobs independently of worker availability, allowing processing to occur later.
Amazon SQS buffers jobs so uploads do not depend on the processor being available at that moment. Retries with backoff handle temporary failures but leave the upload service dependent on successful direct calls.