Question 36
UnclassifiedManagement wants a report of GPU-hours consumed by each research group over the last quarter to allocate next year's compute budget.
Correct answer: D
Explanation
"sacct" is the Slurm accounting command used to query historical job usage, including resource consumption over a time range. It can report GPU-hours by user, account, or research group for the last quarter, which supports budget allocation based on actual compute usage.
Why each option is right or wrong
A. sinfo
B. squeue
C. scontrol
D. sacct
The Slurm accounting utility is the command used to query completed job history from the accounting database, which is where past resource consumption is stored. In this scenario, management needs a retrospective report for the last quarter, so the relevant command is the one that can summarize historical usage by account or group rather than a live-status tool; it can be constrained with time filters such as start/end dates and aggregated to show GPU-hours for budgeting purposes.