NCA-AIIO practice question 2 of 25

You are tasked with managing an AI training environment where multiple deep learning models are being trained simultaneously on a shared GPU cluster. Some models require more GPU resources and longer training times than others. Which orchestration strategy would best ensure that all models are trained efficiently without causing delays for high-priority workloads?

Full set: 197 questions
Answer options
A: Implement a priority-based scheduling system that allocates more GPUs to high-priority models. Correct answer
B: Use a first-come, first-served (FCFS) scheduling policy for all models.
C: Randomly assign GPU resources to each model training job.
D: Assign equal GPU resources to all models regardless of their requirements.
Correct Answer:
A. Implement a priority-based scheduling system that allocates more GPUs to high-priority models.
Explanation

A priority-based scheduling system is the most effective strategy for managing a heterogeneous AI workload on a shared GPU cluster. This approach allows the cluster orchestrator to allocate resources dynamically based on the predefined importance of each training job. High-priority models can be granted more GPUs or be placed ahead in the queue, reducing their time-to-completion and ensuring critical tasks are not delayed. This method optimizes overall cluster throughput and resource utilization by aligning computational power with business or research priorities, which is a fundamental requirement for efficient AI infrastructure management.

Why Incorrect

B. A first-come, first-served (FCFS) policy is inefficient as a long-running, low-priority job can monopolize resources, causing significant delays for subsequent high-priority jobs (head-of-line blocking).
C. Randomly assigning resources is unpredictable and chaotic. It fails to account for either the computational needs of the models or their relative importance, leading to resource wastage and inconsistent performance.
D. Assigning equal resources is suboptimal because it ignores the diverse requirements of different models. It would under-provision resource-intensive models and over-provision simpler ones, leading to inefficient use of the GPU cluster.

References

1. Official Vendor Documentation (NVIDIA): The NVIDIA Base Command Platform is designed for managing AI workloads and includes features for job prioritization. The user guide specifies the use of a --priority flag when submitting jobs

allowing administrators to ensure that high-priority workloads are scheduled preferentially.

Source: NVIDIA Base Command Platform User Guide

Chapter on "Jobs

" Section on "Submitting a Job." (Specific documentation versions may vary

but the concept of job priority is a core feature).

2. Official Vendor Documentation (Kubernetes): Kubernetes

a common orchestrator for GPU clusters

uses PriorityClass objects to manage workload priority. A higher-priority pod can be scheduled ahead of lower-priority pods

and can even preempt (evict) them if necessary to run. This mechanism is crucial for ensuring high-priority AI training jobs are not starved for resources.

Source: Kubernetes Documentation

"Pod Priority and Preemption

" concepts/scheduling-eviction/pod-priority-preemption/.

3. Peer-Reviewed Academic Publication: Research in distributed systems for deep learning highlights the limitations of simple schedulers. The paper "Tiresias: A GPU Cluster Manager for Distributed Deep Learning" discusses the inefficiency of common schedulers in multi-tenant GPU clusters and proposes algorithms that consider job characteristics to improve completion times and fairness

validating the need for intelligent

priority-aware scheduling over FCFS or equal-sharing.

Source: Ousterhout

K.

et al. (2019). Tiresias: A GPU Cluster Manager for Distributed Deep Learning. 16th USENIX Symposium on Networked Systems Design and Implementation (NSDI '19). (Specifically

Section 2 discusses the problems with common scheduling policies).

Scroll to Top