A SageMaker AI endpoint's load varies with the number of requests per instance. Which metric is a common choice for its auto scaling policy?
- Exam domain
- Deployment and Orchestration of ML and AI Workflows24% of the exam
- Difficulty
- Medium
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Skill 3.2.6: Select specific metrics for auto scaling implementations.
Scaling on the wrong metric means scaling too late or never. The metric must follow real load.
Why B is the answer
SageMakerVariantInvocationsPerInstance
Invocations per instance tracks load directly, so it is a standard target-tracking metric.
Remember: Scale endpoints on a metric that tracks load, such as invocations per instance.
How it works
SageMaker AI auto scaling adjusts instance count using a policy and a metric.
InvocationsPerInstance measures how busy each instance is, so a target-tracking policy can keep it near a chosen value.
The target is set from load tests of how many requests one instance handles well.
Clues in the question
The words that point to the answer, and what each one tells you.
- Load varies with requests per instance
- Scale on invocations per instance.
In detail
- Target tracking keeps the metric near a target value by adding or removing instances.
- Some GenAI workloads also watch concurrency or GPU utilization.
Side by side with look-alikes
| Metric | Tracks load? |
|---|---|
| Invocations per instance | Yes |
| Dataset size | No |
| Registry versions | No |
| Storage class | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. The S3 storage class of the model artifactWrong
Storage class has nothing to do with load.
B. SageMakerVariantInvocationsPerInstanceRight
Scale endpoints on a metric that tracks load, such as invocations per instance.
C. The size of the training datasetWrong
Training data size does not change with live load.
D. The number of model versions in the registryWrongMost tempting
Registry versions do not reflect traffic.
Why it tempts: It is a SageMaker number, so it sounds related. But it does not change with traffic.
In practice
- Load-test one instance to find the right target value.
Use case
An illustrative scenario, not a real incident.
A team targets 70 invocations per instance per minute, and the endpoint adds instances at peak.
See how it works
xychart-beta x-axis ["08:00", "09:00", "10:00", "11:00", "12:00"] y-axis "Invocations per instance" 0 --> 150 line [40, 120, 75, 72, 68] line [70, 70, 70, 70, 70]
How to read this chart
- The flat line is the target, 70 invocations per instance.
- At 09:00 load jumps to 120, so auto scaling adds instances.
- With more instances, the per-instance load returns near the target.