A team serves a high-volume text model and wants lower inference cost per request than general-purpose GPU instances give. Which instance family is designed for this?
- 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
Task 3.1: Manage deployment infrastructure for ML and AI model types.
Objective in the exam guide: Skill 3.1.1: Select appropriate compute environments and deployment targets.
Instance choice often decides whether an ML product is profitable. Knowing the purpose-built inference hardware is a direct cost lever.
Why A is the answer
AWS Inferentia-based instances, such as Inf2
Inferentia-based instances are built for cost-efficient deep learning inference.
Remember: Cost-efficient deep learning inference at scale: Inferentia-based instances.
How it works
AWS offers accelerated instance families for ML: GPU instances, Trainium-based instances for training and Inferentia-based instances for inference.
Inferentia is designed to lower the cost of deep learning inference at scale.
Models may need compiling for the accelerator, so test before switching.
Clues in the question
The words that point to the answer, and what each one tells you.
- Lower inference cost per request
- Inference-optimized hardware.
- High-volume
- Scale makes the savings matter.
In detail
- Trainium-based instances target training; Inferentia-based instances target inference.
- GPU instances remain the most flexible choice for many models.
Side by side with look-alikes
| Family | Built for |
|---|---|
| Inferentia (Inf2) | Cost-efficient inference |
| Trainium (Trn) | Training |
| GPU (G, P) | Flexible training and inference |
| T, I, R families | General, storage, memory workloads |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. AWS Inferentia-based instances, such as Inf2Right
Cost-efficient deep learning inference at scale: Inferentia-based instances.
B. Burstable T-family instancesWrong
Burstable instances are for light, spiky general workloads.
C. Storage-optimized I-family instancesWrong
Storage-optimized instances are for fast local disk.
D. Memory-optimized R-family instances with no acceleratorWrongMost tempting
Without an accelerator, large text models run slowly.
Why it tempts: Large models need memory, so this sounds relevant. But without an accelerator, inference is slow and cost per request rises.
In practice
- Benchmark latency and cost per request on the target instance before migrating.
Use case
An illustrative scenario, not a real incident.
A team moves a steady text model from GPU to Inf2 instances after testing, and cost per thousand requests falls.
See how it works
flowchart TD
W{"Workload?"} -->|"Training large models"| T["Trainium or GPU"]
W -->|"High-volume inference"| I["Inferentia"]
W -->|"Mixed or custom"| G["GPU"]How to read this chart
- At "Workload?": if "Training large models", go to "Trainium or GPU"; if "High-volume inference", go to "Inferentia"; if "Mixed or custom", go to "GPU".