NCP-AII Question 135
Select 4You are tasked with configuring MIG (Multi-Instance GPU) on an NVIDIA A100 GPU to support multiple AI workloads. After creating MIG instances, you need to ensure proper isolation and resource allocation. Which of the following steps must you take to configure MIG correctly?
- A
Enable MIG mode on the GPU before creating MIG instances.
- B
Use the
nvidia-smicommand to create MIG instances with specified profiles. - C
Assign multiple MIG instances to a single container without additional configuration.
- D
Verify that the GPU driver supports MIG by checking its compatibility with the installed CUDA version.
- E
Restart the GPU driver after enabling MIG mode for the changes to take effect.
Show answer and explanation
Correct answers: A, B, D, E
Explanation
Configuring MIG involves several critical steps to ensure proper operation. MIG mode must be enabled before creating instances, and the nvidia-smi tool is used for instance management. Additionally, GPU driver compatibility must be verified, and a driver restart is required to activate MIG mode. Proper isolation is necessary for each MIG instance, so assigning multiple instances to a single container without additional configuration is not recommended.
- A. Correct.
This is correct. MIG mode needs to be explicitly enabled on the GPU before any MIG instances can be created.
- B. Correct.
This is correct. The
nvidia-smicommand is used to define and create MIG instances with specific resource profiles. - C. Incorrect.
This is incorrect. Each MIG instance operates independently and cannot be assigned to a single container without proper isolation and configuration steps.
- D. Correct.
This is correct. MIG requires GPU driver support, and it is important to verify that the installed driver and CUDA version are compatible with the specific GPU being used.
- E. Correct.
This is correct. Restarting the GPU driver is necessary after enabling MIG mode to ensure the changes are applied.