Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam NCP-AIO Topic 3 Question 46 Discussion

Actual exam question for NVIDIA's NCP-AIO exam
Question #: 46
Topic #: 3
An administrator needs to submit a script named "my_script.sh" to Slurm and specify a custom output file named "output.txt" for storing the job's standard output and error.
Which 'sbatch' option should be used?

Suggested Answer: A Vote an answer

Comprehensive and Detailed Explanation From Exact Extract:
The correctsbatchoption to specify a custom output file for both standard output and error is-o output.txt(or-- output=output.txt). This option directs Slurm to write the job's standard output and error streams to the specified file. The-eoption is for standard error only, and-output-outputis not a valid option.

by liutao272 at Nov 07, 2025, 06:01 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
liutao272
2025-11-07 18:01:53
The correct answer is B.
-e output.txt
Why B is the correct Slurm sbatch option
The official Slurm sbatch documentation (2025) is crystal clear:
bash-e filename # Redirect STDERR to this file
-o filename # Redirect STDOUT to this file

Why the others are wrong

A. -o output.txt → only captures STDOUT, STDERR goes to slurm-%j.out
C. =output-output output.txt → not a real flag (nonsense syntax)
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.