NCA-AIIO practice question 9 of 25

You are part of a team that is setting up an AI infrastructure using NVIDIA’s DGX systems. The infrastructure is intended to support multiple AI…

Full set: 197 questions
You are part of a team that is setting up an AI infrastructure using NVIDIA’s DGX systems. The infrastructure is intended to support multiple AI workloads, including training, inference, and dataanalysis. You have been tasked with analyzing system logs to identify performance bottlenecks under the supervision of a senior engineer. Which log file would be most useful to analyze when diagnosing GPU performance issues in this scenario?
Answer options
A: Network traffic logs
B: NVIDIA GPU utilization logs (nvidia-smi) Correct answer
C: System kernel logs (dmesg)
D: Application error logs
Correct Answer:
B. NVIDIA GPU utilization logs (nvidia-smi)
Explanation

The NVIDIA System Management Interface (nvidia-smi) is a command-line utility that provides the most direct and relevant metrics for monitoring and diagnosing the performance of NVIDIA GPUs. Logs generated from nvidia-smi contain crucial, real-time data such as GPU utilization, memory consumption, temperature, and power draw. For an engineer tasked with identifying GPU performance bottlenecks in AI workloads on DGX systems, analyzing these specific logs is the primary method to determine if GPUs are being underutilized, are thermal throttling, or are encountering memory limitations. This makes it the most useful log file for the specified task.

Why Incorrect

A. Network traffic logs: These logs are for identifying data transfer issues between nodes or storage, which is a different type of bottleneck than GPU-specific performance.
C. System kernel logs (dmesg): These logs report low-level hardware and driver errors (e.g., a GPU falling off the bus), not performance metrics like utilization or memory usage.
D. Application error logs: These logs are for debugging the AI software or framework (e.g., TensorFlow, PyTorch), not for analyzing the underlying hardware performance.

References

1. Official Vendor Documentation: The NVIDIA DGX OS 6 User Guide explicitly details the use of nvidia-smi for system monitoring. In the "System Monitoring and Management" chapter, it states, "The NVIDIA System Management Interface (nvidia-smi) is a command line utility, based on top of the NVIDIA Management Library (NVML), intended to aid in the management and monitoring of NVIDIA GPU devices." This establishes it as the primary tool for this purpose. (Reference: NVIDIA DGX OS 6 User Guide, Chapter 6: System Monitoring and Management).

2. Official Vendor Documentation: The documentation for nvidia-smi itself lists the specific performance-related queries available, such as utilization.gpu and utilization.memory. The ability to log this data over time (--loop or --loop-ms flags) is fundamental for performance analysis. (Reference: nvidia-smi man page or official command-line interface documentation provided with NVIDIA drivers).

3. University Courseware: Stanford University's CS231n course materials advise students to use nvidia-smi to monitor GPU usage during model training. The course notes emphasize checking GPU utilization as a "sanity check" to ensure the hardware is being used effectively, directly aligning with the task of diagnosing performance bottlenecks. (Reference: Stanford CS231n: Convolutional Neural Networks for Visual Recognition, Course Notes, "Tips for training neural networks" section).

Scroll to Top