Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

NVIDIA NCP-AIO Exam - Topic 1 Question 17 Discussion

You have successfully pulled a TensorFlow container from NGC and now need to run it on your stand-alone GPU-enabled server.Which command should you use to ensure that the container has access to all available GPUs?
D) docker run --gpus all nvcr.io/nvidia/tensorflow:<tag>
A) kubectl create pod --gpu=all nvcr.io/nvidia/tensorflow:<tag>
B) docker run nvcr.io/nvidia/tensorflow:<tag>
C) docker start nvcr.io/nvidia/tensorflow:<tag>

NVIDIA NCP-AIO Exam - Topic 1 Question 17 Discussion

Actual exam question for NVIDIA's NCP-AIO exam
Question #: 17
Topic #: 1
[All NCP-AIO Questions]

You have successfully pulled a TensorFlow container from NGC and now need to run it on your stand-alone GPU-enabled server.

Which command should you use to ensure that the container has access to all available GPUs?

Show Suggested Answer Hide Answer
Suggested Answer: D

Comprehensive and Detailed Explanation From Exact Extract:

When running a GPU-enabled container directly on a server with Docker, the flag --gpus all is required to allow the container access to all GPUs on the host system. This ensures that the TensorFlow container can utilize GPU resources fully. The other options either do not specify GPU access correctly or are Kubernetes-specific commands.


Contribute your Thoughts:

0/2000 characters
Jutta
3 days ago
A is for Kubernetes, not standalone.
upvoted 0 times
...
Lina
8 days ago
I feel like A could work too.
upvoted 0 times
...
Yan
13 days ago
It specifies all GPUs.
upvoted 0 times
...
Leota
18 days ago
Why D?
upvoted 0 times
...
Jutta
24 days ago
Yeah, D makes sense.
upvoted 0 times
...
Yan
29 days ago
I think it's D.
upvoted 0 times
...
Gregoria
1 month ago
I didn't know about the --gpus flag, that's cool!
upvoted 0 times
...
Glory
1 month ago
B is just for running a container, it won't give GPU access.
upvoted 0 times
...
Loreta
1 month ago
Wait, are you sure D is the only option?
upvoted 0 times
...
Ty
2 months ago
I thought it was A at first, but D makes more sense.
upvoted 0 times
...
Mickie
2 months ago
Definitely D, that's the right command for GPU access!
upvoted 0 times
...
Linwood
2 months ago
I didn't know about the --gpus flag, that's cool!
upvoted 0 times
...
Galen
2 months ago
B is just for running containers, no GPU access!
upvoted 0 times
...
Alecia
2 months ago
Wait, are you sure D is the only way?
upvoted 0 times
...
Malcom
3 months ago
I thought it was A at first, but D makes more sense.
upvoted 0 times
...
Luisa
3 months ago
Definitely D, that's the right command for GPU access!
upvoted 0 times
...
Ashton
3 months ago
I thought `kubectl` was for Kubernetes, so I don't think that's the right choice here. It must be one of the Docker commands.
upvoted 0 times
...
Katina
3 months ago
I feel like I might confuse the `docker run` and `docker start` commands. I hope I remember which one is for running a new container.
upvoted 0 times
...
Jeanice
3 months ago
I remember practicing a similar question, and I think the correct option is the one that specifies `--gpus all`.
upvoted 0 times
...
Kenia
3 months ago
I think the command should allow access to all GPUs, but I'm not entirely sure if it's the one with the `--gpus` flag.
upvoted 0 times
...

Save Cancel