Provisioning & Scaling
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing AWS Certified Machine Learning Engineer - Associate premium course — no separate purchase.
Included in this chapter:
- On-demand vs provisioned, and the cost of getting it wrong
- Auto scaling a real-time endpoint: policies and knobs
- Containers, BYOC, and keeping the endpoint in a VPC
- Reading the exam stem: which knob does the question ask for
Endpoint hosting and scaling options for inference
| Criterion | Real-time + target tracking | Real-time + step scaling | Serverless inference | Scheduled scaling |
|---|---|---|---|---|
| Best-fit traffic | Spiky but continuous | Spiky, or scale from zero | Intermittent with idle gaps | Predictable by clock |
| Who sets instance count | Policy holds a metric near target | Alarm thresholds map to instance steps | Fully managed, no instances | Capacity set by schedule |
| Scales to zero | No (floor = min count) | Yes (step from zero) | Yes (idle = 0) | No |
| Idle cost | Pay for min instances | Pay for min instances | Zero when idle | Pay for scheduled floor |
| Cold starts | None (always warm) | Possible from zero | Possible (use provisioned concurrency) | None |
| VPC / GPU support | Yes | Yes | No | Yes |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- https://docs.aws.amazon.com/sagemaker/latest/dg/deploy-model.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/serverless-endpoints.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/endpoint-auto-scaling-policy.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html