NCP-AIO Practice Test practice questions, page 2 of 3, with answer review and explanations.
Question 6
You are managing a Slurm cluster with multiple GPU nodes, each equipped with different types of GPUs. Some jobs are being allocated GPUs that should be reserved for other purposes, such as display rendering. How would you ensure that only the intended GPUs are allocated to jobs?
Verify that the GPUs are correctly listed in both gres.conf and slurm.conf, and ensure that unconfigured GPUs are excluded.
Use nvidia-smi to manually assign GPUs to each job before submission.
Reinstall the NVIDIA drivers to ensure proper GPU detection by Slurm.
Increase the number of GPUs requested in the job script to avoid using unconfigured GPUs.
Question 7
A data scientist is training a deep learning model and notices slower than expected training times. The data scientist alerts a system administrator to inspect the issue. The system administrator suspects the disk IO is the issue. What command should be used?
tcpdump
iostat
nvidia-smi
htop
Question 8
You have noticed that users can access all GPUs on a node even when they request only one GPU in their job script using --gres=gpu:1. This is causing resource contention and inefficient GPU usage. What configuration change would you make to restrict users’ access to only their allocated GPUs?
Increase the memory allocation per job to limit access to other resources on the node.
Enable cgroup enforcement in cgroup.conf by setting ConstrainDevices=yes.
Set a higher priority for Jobs requesting fewer GPUs, so they finish faster and free up resources sooner.
Modify the job script to include additional resource requests for CPU cores alongside GPUs.
Question 9
A new researcher needs access to GPU resources but should not have permission to modify cluster settings or manage other users. What role should you assign them in Run:ai?
L1 Researcher
Department Administrator
Application Administrator
Research Manager
Question 10
When troubleshooting Slurm job scheduling issues, a common source of problems is jobs getting stuck in a pending state indefinitely. Which Slurm command can be used to view detailed information about all pending jobs and identify the cause of the delay?