NCA-AIIO practice question 7 of 25

A financial services company is using an AI model for fraud detection, deployed on NVIDIA GPUs. After deployment, the company notices a significant…

Full set: 197 questions
A financial services company is using an AI model for fraud detection, deployed on NVIDIA GPUs. After deployment, the company notices a significant delay in processing transactions, which impacts their operations. Upon investigation, it’s discovered that the AI model is being heavily used during peak business hours, leading to resource contention on the GPUs. What is the best approach to address this issue?
Answer options
A: Switch to using CPU resources instead of GPUs for processing
B: Disable GPU monitoring to free up resources
C: Increase the batch size of input data for the AI model
D: Implement GPU load balancing across multiple instances Correct answer
Correct Answer:
D. Implement GPU load balancing across multiple instances
Explanation

The core issue is resource contention on GPUs due to high demand during peak hours. Implementing GPU load balancing is the most effective solution. This approach distributes incoming inference requests across multiple GPU instances, either on a single multi-GPU server or across a cluster of servers. By spreading the workload, no single GPU becomes a bottleneck, which directly alleviates contention, reduces processing delays (latency), and ensures the system can scale to handle peak transaction volumes. This is a standard and robust architectural pattern for deploying high-availability, low-latency AI services.

Why Incorrect

A. Switch to using CPU resources instead of GPUs for processing CPUs are significantly less efficient than GPUs for the parallel computations required by most AI models. Switching to CPUs would drastically increase processing time, worsening the delay.
B. Disable GPU monitoring to free up resources GPU monitoring tools consume negligible resources compared to a production AI workload. Disabling them would not provide a meaningful performance gain and would eliminate crucial system visibility.
C. Increase the batch size of input data for the AI model Increasing batch size can improve overall throughput but typically increases the latency for individual requests, as the system must wait to fill a larger batch. The problem is a delay, which points to a latency issue.

References

1. NVIDIA Triton Inference Server Documentation

Model Instances: The official documentation explains how Triton can create multiple instances of a model to process concurrent inference requests. It states

"For models on GPU

Triton will automatically create a separate CUDA stream for each instance

which in many cases allows the executions to be overlapped by the GPU... By using multiple model instances you can increase the number of inferences that can be performed concurrently." This directly supports the concept of load balancing across instances to handle contention.

Source: NVIDIA Triton Inference Server Documentation

"Model Configuration - Model Instances" section.

2. NVIDIA Technical Blog

"Maximizing AI Inference Performance with NVIDIA Triton Inference Server": This article details strategies for scaling inference. It highlights

"Triton can also create multiple instances of the same model to leverage all available GPUs and to serve more concurrent inference requests." This reinforces that using multiple instances is the recommended approach for handling high request volumes

which is the essence of load balancing.

Source: NVIDIA Developer Blog

"Maximizing AI Inference Performance with NVIDIA Triton Inference Server

" published May 19

2022.

3. Stanford University

CS231n: Convolutional Neural Networks for Visual Recognition: Course notes frequently discuss the hardware trade-offs. They explain that GPUs excel at data-parallel tasks common in neural networks due to their architecture with thousands of cores

whereas CPUs are designed for sequential tasks. This supports why option A is incorrect.

Source: Stanford CS231n Course Notes

"Hardware and Software" section.

Scroll to Top