BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

NVIDIA NCP-AIO Exam - Topic 1 Question 17 Discussion

Posted by Jacquelyne on Jun 28, 2026 at 10:31 PM

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?

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.


Get Premium NCP-AIO Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
29 comments · newest first
AR
Artie 2 days ago
Why D?
RO
Roosevelt 7 days ago
I think it's D.
JU
Jutta 12 days ago
Same here, let's hope for the best!
AM
Ammie 17 days ago
I’m confident about D.
YA
Yan 22 days ago
Exactly, it’s straightforward.
LE
Leota 27 days ago
D is the best choice for GPUs.
LI
Lina 1 month ago
C just starts a container, not right.
YO
Yolando 1 month ago
B is too basic, won't access GPUs.
AM
Ammie 1 month ago
I agree with Yan, D is clear.
JU
Jutta 2 months ago
A is for Kubernetes, not standalone.
LI
Lina 2 months ago
I feel like A could work too.
YA
Yan 2 months ago
It specifies all GPUs.
LE
Leota 2 months ago
Why D?
JU
Jutta 2 months ago
Yeah, D makes sense.
YA
Yan 2 months ago
I think it's D.
GR
Gregoria 3 months ago
I didn't know about the --gpus flag, that's cool!
GL
Glory 3 months ago
B is just for running a container, it won't give GPU access.
LO
Loreta 3 months ago
Wait, are you sure D is the only option?
TY
Ty 3 months ago
I thought it was A at first, but D makes more sense.
MI
Mickie 3 months ago
Definitely D, that's the right command for GPU access!
LI
Linwood 3 months ago
I didn't know about the --gpus flag, that's cool!
GA
Galen 4 months ago
B is just for running containers, no GPU access!
AL
Alecia 4 months ago
Wait, are you sure D is the only way?
MA
Malcom 4 months ago
I thought it was A at first, but D makes more sense.
LU
Luisa 4 months ago
Definitely D, that's the right command for GPU access!
AS
Ashton 4 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.
KA
Katina 5 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.
JE
Jeanice 5 months ago
I remember practicing a similar question, and I think the correct option is the one that specifies `--gpus all`.
KE
Kenia 5 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.
0/2000 characters

Save Cancel