Your team runs GPU workloads in the cloud. Which practice controls cost without hurting a nightly batch job?
- Exam domain
- GPU and Cloud Computing16% of the exam
- Difficulty
- Medium
- In this mock
- 8 questions on this domainPractise this domain
Why the exam asks this
GPU and Cloud Computing (16% of the exam)
Objective in the exam guide: Optimizing performance of the data science process through GPU acceleration
Cloud computing appears in the domain name.
Why B is the answer
Start GPU instances for the job and stop them when it ends
Batch work suits ephemeral GPU instances that run only for the job. Idle GPU instances cost the same as busy ones.
Remember: Run batch GPU instances only when needed.
How it works
Cloud GPU use is optimized by matching instance time and size to workloads.
In detail
- Ephemeral instances for batch.
- Right-size to the workload.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Share one GPU instance with every team without schedulingWrong
Unscheduled sharing causes contention.
B. Start GPU instances for the job and stop them when it endsRight
Run batch GPU instances only when needed.
C. Keep the largest GPU instances running all monthWrong
Idle GPUs waste money.
D. Run the batch job on CPUs to save money regardless of timeWrongMost tempting
CPU may miss the time window and cost more overall.
Why it tempts: CPUs look cheaper per hour.
Use case
An illustrative scenario, not a real incident.
Illustrative: running GPUs only for the 2-hour job cuts the monthly bill by 90%.
See it in different ways
stateDiagram-v2 state "Stopped" as s0 state "Running" as s1 [*] --> s0 s0 --> s1: job starts s1 --> s0: job ends
How to read this chart
- It starts at "Stopped".
- From "Stopped", "job starts" moves it to "Running".
- From "Running", "job ends" moves it to "Stopped".
mindmap
root(("Cost"))
n1["Time"]
n2["Stop when idle"]
n3["Size"]
n4["Right-size"]
n5["Pricing"]
n6["Spot or reserved"]How to read this chart
- The centre is "Cost".
- "Time" covers "Stop when idle".
- "Size" covers "Right-size".
- "Pricing" covers "Spot or reserved".