Traffic to a model service is spiky, and new replicas take two minutes to load weights. What reduces slow responses during spikes?
- Exam domain
- Inference Concepts15% of the exam
- Difficulty
- Hard
- In this mock
- 8 questions on this domainPractise this domain
Why the exam asks this
Inference Concepts (15% of the exam)
Objective in the exam guide: Inference-serving infrastructure: model servers, gateways and routing, provider abstraction, Dynamo, autoscaling, request queuing, cold starts, and scaling strategies.
Inference-serving infrastructure is the first inference objective.
Why D is the answer
Keep warm minimum replicas and queue requests
Cold starts happen when replicas load weights. Keeping minimum warm replicas and queuing absorbs spikes while autoscaling adds capacity.
Remember: Warm replicas and queues hide cold starts.
How it works
Serving infrastructure includes model servers, gateways, autoscaling, queues and cold-start handling. NVIDIA Dynamo adds distributed and disaggregated serving.
In detail
- Cold starts come from loading weights.
- Warm minimums plus queues smooth spikes.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Scale to zero between every requestWrongMost tempting
Scale to zero causes cold starts every time.
Why it tempts: Scale to zero saves money.
B. Turn off autoscaling completely and accept errorsWrong
No autoscaling fails under spikes.
C. Reload weights on every requestWrong
Reloading per request is far slower.
D. Keep warm minimum replicas and queue requestsRight
Warm replicas and queues hide cold starts.
Use case
An illustrative scenario, not a real incident.
Illustrative: two warm replicas plus a queue keep p95 latency under 3 seconds during a launch spike.
See it in different ways
sequenceDiagram participant P0 as Users participant P1 as Gateway participant P2 as Warm replicas participant P3 as Autoscaler P0->>P1: burst P1->>P2: route and queue P1->>P3: queue depth high P3-->>P2: add replica
How to read this chart
- 1. Users sends "burst" to Gateway.
- 2. Gateway sends "route and queue" to Warm replicas.
- 3. Gateway sends "queue depth high" to Autoscaler.
- 4. Warm replicas gets a reply from Autoscaler: "add replica".
mindmap
root(("Serving"))
n1["Routing"]
n2["Gateway"]
n3["Provider abstraction"]
n4["Scaling"]
n5["Autoscaling"]
n6["Queues"]
n7["NVIDIA"]
n8["Dynamo"]
n9["NIM"]How to read this chart
- The centre is "Serving".
- "Routing" covers "Gateway", "Provider abstraction".
- "Scaling" covers "Autoscaling", "Queues".
- "NVIDIA" covers "Dynamo", "NIM".
Related questions
Learn more
- Our lesson: Inference concepts
- Practise Inference Concepts questions in the mock exam
- Source: NVIDIA Dynamo documentation
- Source: NVIDIA NIM documentation
- TensorRT-LLM documentation
- NVIDIA Dynamo documentation
- Efficient Memory Management for LLM Serving with PagedAttention (arXiv)
- Fast Inference from Transformers via Speculative Decoding (arXiv)