Question 32
UnclassifiedWhich nvidia-smi flag displays the current GPU driver version and CUDA version?
Correct answer: B
Explanation
Running "nvidia-smi" with no flags prints a summary header that includes the GPU driver version and CUDA version. The tool’s default output is designed to show these fields at the top, so no extra flag is needed.
Why each option is right or wrong
A. nvidia-smi --version
B. nvidia-smi (no flags - shown in the header)
The NVIDIA System Management Interface prints the driver and CUDA versions in its default summary header when invoked without any option; there is no dedicated flag required for those fields. In practice, the version line appears at the top of the standard output, alongside the GPU table, so the correct invocation is the bare command rather than a switch-based query.
C. nvidia-smi -q -d VERSION
D. nvidia-smi --driver-info