D3: Inference Strategies
AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards
Question
Real-time inference?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Inference Strategies practice questions and answers
- Real-time inference?Persistent endpoint, low latency, payload up to 25 MB, 60 s timeout (longer for streaming).
- Serverless inference?Auto-scales to zero; intermittent traffic; cold starts; memory up to 6 GB, no GPUs.
- Asynchronous inference?Queued requests, payloads up to 1 GB, processing up to 1 hour, can scale to zero.
- Batch transform?Offline predictions on datasets in S3; no persistent endpoint.
- Streaming responses?InvokeEndpointWithResponseStream for token streaming from LLMs.
- Scenario: nightly scoring of 10M records. Strategy?Batch transform.
- Scenario: large video processing taking 20 minutes per request. Strategy?Asynchronous inference.
- Scenario: sporadic internal requests, minimize cost. Strategy?Serverless inference.
- Scenario: chatbot needing sub-second responses. Strategy?Real-time endpoint (with streaming).
- Bedrock batch inference?Asynchronous JSONL batch jobs at lower cost than on-demand.