NCP-AI practice question 9 of 15

An administrator is managing a Nutanix AI cluster used for NLP (Natural Language Processing) training. A data scientist reports that training jobs…

Full set: 75 questions
An administrator is managing a Nutanix AI cluster used for NLP (Natural Language Processing) training. A data scientist reports that training jobs intermittently stall and fail to complete within the expected time window. The administrator reviews the performance data for the VM hosting the job and finds: The VM is configured with passthrough access to a dedicated GPU Memory ballooning is active, and swap usage is increasing CPU utilization is moderate (~60%) GPU utilization is stable and high (~85%) The VM has 8 vCPUs and 24 GB of RAM assigned NCC shows no hardware or driver issues What is the most appropriate optimization to improve workload stability and performance?
Answer options
A: Reduce the number of vCPUs allocated to lower the CPU scheduling overheaD.
B: Add additional vGPUs to the VM to reduce processing time.
C: Increase the VM's RAM to eliminate memory ballooning and swap usage. Correct answer
D: Disable GPU passthrough and use a shared vGPU profile insteaD.
Correct Answer:
C. Increase the VM's RAM to eliminate memory ballooning and swap usage.
Explanation

The primary indicators of the performance issue are active memory ballooning and increasing swap usage. These symptoms signify that the Virtual Machine (VM) is under memory pressure and does not have enough RAM allocated to it. The hypervisor is attempting to reclaim memory via the balloon driver, and the guest operating system is forced to use slow disk-based swap space. This swapping activity is a major cause of performance degradation and can lead to applications, such as NLP training jobs, stalling or failing. Increasing the VM's RAM is the most direct and appropriate solution to eliminate this memory contention and stabilize the workload.

Why Incorrect

A. Reducing vCPUs is inappropriate as CPU utilization is moderate (~60%) and not the bottleneck. This change would not address the memory pressure.
B. The VM uses GPU passthrough, which dedicates a physical GPU. Adding vGPUs is not applicable, and the existing GPU is already highly utilized, indicating the bottleneck is elsewhere.
D. Disabling GPU passthrough for a shared vGPU profile would likely degrade performance for this intensive, dedicated workload and does not solve the underlying memory starvation issue.

References

1. Nutanix University, Nutanix AI Administration (NAI-A) Courseware: Module 3, "Deploying and Managing AI Workloads," emphasizes right-sizing VM resources. It states that memory is a critical resource for AI training and that insufficient memory leads to swapping, which severely degrades performance. The course recommends monitoring for memory ballooning and swap activity as key indicators that a VM's memory allocation needs to be increased.

2. Nutanix, AHV Best Practices Guide: In the "Memory Management" section, the guide explains memory overcommitment mechanisms. It details that "If the balloon driver cannot free enough memory, the VM's guest OS starts swapping memory from RAM to disk, which can cause performance issues." This directly links the observed symptoms in the question to a lack of sufficient RAM.

3. Nutanix, Nutanix AI Reference Architecture: Training and Inference: The "Resource Management and Sizing" section (Section 4.2) advises administrators to provision sufficient memory to prevent performance degradation from swapping. It highlights that large datasets and models, common in NLP, require substantial RAM, and memory contention is a frequent cause of instability in training jobs.

Scroll to Top