Deployment and Orchestration of ML and AI Workflows

An application submits individual 200 MB files at unpredictable times to a GPU model that takes eight minutes per prediction. Clients can retrieve results from Amazon S3 later, and idle compute must scale to zero; which strategy best fits?

Show the answer

Correct answerD. Asynchronous inference with scale-to-zero auto scaling

AWhy not this: Real-time inference is not suitable for this combination of large payloads and eight-minute processing times.

BWhy not this: A nightly batch schedule delays individually arriving requests instead of processing them through a request queue.

CWhy not this: Increasing serverless memory does not add GPU support or accommodate this long-running inference workload.

DWhy this is right: Asynchronous inference queues requests, supports GPU processing, stores results in S3, and can scale instances to zero.

Asynchronous inference supports large payloads, long processing times, GPU instances, and scaling endpoint instances to zero. Batch Transform supports offline processing, but a nightly schedule does not fit individually arriving requests that should enter processing as they arrive.