NCA-AIIO practice question 19 of 25
Your team is running an AI inference workload on a Kubernetes cluster with multiple NVIDIA GPUs. You observe that some nodes with GPUs are underutilized, while others are overloaded, leading to inconsistent inference performance across the cluster. Which strategy would most effectively balance the GPU workload across the Kubernetes cluster?
Full set: 197 questionsThe default Kubernetes scheduler treats GPUs as an opaque integer resource. It can assign a pod to a node that has a free GPU, but it lacks visibility into the actual utilization or load on that GPU. This can lead to the described scenario where some nodes' GPUs are heavily loaded while others are idle. A GPU-aware scheduler extends the default behavior by incorporating real-time GPU metrics, such as utilization and memory usage, into its decision-making process. By evaluating the actual load on GPUs across the cluster, it can intelligently place new pods on the least-utilized nodes, thereby achieving effective workload balancing and consistent performance.
B. Implementing GPU resource quotas only limits the total number of GPUs a namespace can use; it does not influence how pods are distributed across nodes to balance the load.
C. CPU utilization is not a reliable metric for GPU load in AI inference workloads, as a task can saturate a GPU while using minimal CPU, making this an ineffective balancing strategy.
D. Reducing the number of GPU nodes is a capacity adjustment, not a load-balancing strategy. It could exacerbate the problem by concentrating the workload and increasing overload on fewer nodes.
1. Official Vendor Documentation (Kubernetes): The official Kubernetes documentation explains that the scheduler allocates GPUs as a resource type without insight into their specific state. It notes
"Kubernetes lets you request nvidia.com/gpu resources... the scheduler does not have any knowledge of the specific characteristics of the GPUs." This highlights the need for a more intelligent
aware scheduler to handle load balancing.
Source: Kubernetes Documentation
"Schedule GPUs"
Section: "NVIDIA GPUs". (https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/)
2. Official Vendor Documentation (NVIDIA): NVIDIA's documentation for the GPU Operator describes components like the GPU Feature Discovery (GFD). GFD labels nodes with detailed GPU attributes (e.g.
model
memory). A custom or GPU-aware scheduler can use these labels to make more intelligent placement decisions than the default scheduler
forming the basis for workload balancing.
Source: NVIDIA Cloud Native Technologies Documentation
"GPU Operator"
Section: "GPU Feature Discovery".
3. Academic Publication: Research in distributed systems confirms the limitations of default schedulers for specialized hardware. For instance
academic work on GPU cluster schedulers explicitly addresses the need to move beyond simple resource counting to utilization-aware scheduling to prevent stragglers and improve overall throughput
directly supporting the choice of a GPU-aware scheduler.
Source: Xiao
W.
et al. (2018). "Gandiva: Introspective Cluster Scheduling for Deep Learning". 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18). Section 2.2 discusses the inefficiency of resource-agnostic schedulers.
Keep practicing
Take the free NCA-AIIO practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other NCA-AIIO practice questions
- Question 1Which components are essential parts of the NVIDIA software stack in an AI environment? (…
- Question 2You are tasked with managing an AI training environment where multiple deep learning mode…
- Question 3You are tasked with optimizing an AI-driven financial modeling application that performs …
- Question 4When implementing an MLOps pipeline, which component is crucial for managing version cont…
- Question 5You are working on deploying a deep learning model that requires significant GPU resource…
- Question 6When setting up a virtualized environment with NVIDIA GPUs, you notice a significant drop…
