Protected

Slurm mock questions are available after login. Redirecting...

If you are not redirected, login.

Courses / Slurm / Study / Self-Test

Slurm Mock Questions

Multiple-choice practice organized into fixed-size sets

25 total questions · 2 sets · 20 per set

How to Use

  1. Attempt each question without opening the answer block first.
  2. Validate your answer against the canonical correct answer and rationale.
  3. Use objective IDs and chapter numbers to route back to weak chapters.

Set 1

Set 1 · Question 1 · Chapter 1 · SLM-01

Why is queue based arbitration required in HPC clusters?

Difficulty: Easy Status: Final
Show answer

Correct answer: To coordinate fair shared access to limited resources

Multi user environments need policy driven arbitration

Set 1 · Question 2 · Chapter 2 · SLM-02

Which daemon owns global scheduling decisions in Slurm?

Difficulty: Easy Status: Final
Show answer

Correct answer: slurmctld

slurmctld controls scheduling and cluster state

Set 1 · Question 3 · Chapter 3 · SLM-03

What does GRES allow Slurm to schedule?

Difficulty: Easy Status: Final
Show answer

Correct answer: Generic resources such as GPUs and licenses

GRES extends scheduling beyond CPUs and memory

Set 1 · Question 4 · Chapter 4 · SLM-04

What is the operational role of a partition?

Difficulty: Easy Status: Final
Show answer

Correct answer: A queue abstraction with policy and node scope

Partitions define access limits and scheduling behavior

Set 1 · Question 5 · Chapter 5 · SLM-05

Which file primarily defines nodes and partitions?

Difficulty: Easy Status: Final
Show answer

Correct answer: slurm.conf

slurm.conf is the central scheduler configuration file

Set 1 · Question 6 · Chapter 6 · SLM-06

What is Munge used for in Slurm clusters?

Difficulty: Easy Status: Final
Show answer

Correct answer: Credential signing and trust authentication

Munge secures node to node communication

Set 1 · Question 7 · Chapter 7 · SLM-07

Which command submits script based jobs?

Difficulty: Easy Status: Final
Show answer

Correct answer: sbatch

sbatch is the batch submission interface

Set 1 · Question 8 · Chapter 8 · SLM-08

What state follows successful job submission before execution?

Difficulty: Easy Status: Final
Show answer

Correct answer: pending

Submitted jobs wait in queue before allocation

Set 1 · Question 9 · Chapter 9 · SLM-09

What is the purpose of a job array?

Difficulty: Easy Status: Final
Show answer

Correct answer: To run many similar tasks efficiently

Arrays scale repeated batch workloads

Set 1 · Question 10 · Chapter 10 · SLM-10

Why is backfill scheduling valuable?

Difficulty: Medium Status: Final
Show answer

Correct answer: It improves utilization without delaying reserved priority work

Backfill fills resource gaps safely

Set 1 · Question 11 · Chapter 11 · SLM-11

Which priority factor increases with wait duration?

Difficulty: Medium Status: Final
Show answer

Correct answer: age

Age prevents starvation for long waiting jobs

Set 1 · Question 12 · Chapter 12 · SLM-12

What can QoS policies control directly?

Difficulty: Medium Status: Final
Show answer

Correct answer: Limits caps boosts and preemption permissions

QoS provides multi tenant governance controls

Set 1 · Question 13 · Chapter 13 · SLM-13

Which dependency waits for successful completion?

Difficulty: Medium Status: Final
Show answer

Correct answer: afterok

afterok enforces success gated chaining

Set 1 · Question 14 · Chapter 14 · SLM-14

Which plugin enforces cgroup resource boundaries?

Difficulty: Medium Status: Final
Show answer

Correct answer: task cgroup

task cgroup applies CPU memory and device limits

Set 1 · Question 15 · Chapter 15 · SLM-15

What does gres=gpu:4 request?

Difficulty: Medium Status: Final
Show answer

Correct answer: Four GPUs for the job allocation

GRES syntax controls GPU reservation count

Set 1 · Question 16 · Chapter 16 · SLM-16

What defines a heterogeneous Slurm job?

Difficulty: Medium Status: Final
Show answer

Correct answer: Components requiring different resource types

Heterogeneous jobs combine mixed allocations in one workflow

Set 1 · Question 17 · Chapter 17 · SLM-17

Which daemon stores accounting records?

Difficulty: Easy Status: Final
Show answer

Correct answer: slurmdbd

slurmdbd centralizes accounting data

Set 1 · Question 18 · Chapter 18 · SLM-18

Which metric tracks queue delay before run?

Difficulty: Medium Status: Final
Show answer

Correct answer: job wait time

Wait time reflects scheduling pressure and fairness

Set 1 · Question 19 · Chapter 19 · SLM-19

Why deploy a backup controller?

Difficulty: Medium Status: Final
Show answer

Correct answer: To fail over if the primary controller fails

Controller redundancy improves uptime

Set 1 · Question 20 · Chapter 20 · SLM-20

What capability is added by federation?

Difficulty: Medium Status: Final
Show answer

Correct answer: Cross cluster scheduling and sharing

Federation unifies multiple clusters operationally

Set 2

Set 2 · Question 1 · Chapter 21 · SLM-21

Which power transitions can Slurm orchestrate?

Difficulty: Medium Status: Final
Show answer

Correct answer: suspend and resume

Power lifecycle controls enable elastic efficiency

Set 2 · Question 2 · Chapter 22 · SLM-22

What does automation drift management target?

Difficulty: Medium Status: Final
Show answer

Correct answer: Configuration deviation from desired state

Drift control keeps clusters consistent

Set 2 · Question 3 · Chapter 23 · SLM-23

Which runtime is common for HPC containers?

Difficulty: Easy Status: Final
Show answer

Correct answer: Apptainer

Apptainer and Singularity are common HPC runtimes

Set 2 · Question 4 · Chapter 24 · SLM-24

Which software stack commonly integrates with Slurm for AI training?

Difficulty: Medium Status: Final
Show answer

Correct answer: NCCL MPI CUDA on GPU nodes

This stack supports distributed accelerated training

Set 2 · Question 5 · Chapter 25 · SLM-25

What tuning practice improves distributed GPU performance?

Difficulty: Hard Status: Final
Show answer

Correct answer: Topology aware placement

Locality aware scheduling reduces communication overhead

Set 2 · Question 6 · Chapter 1 · SLM-01

Why is queue based arbitration required in HPC clusters?

Difficulty: Easy Status: Final
Show answer

Correct answer: To coordinate fair shared access to limited resources

Multi user environments need policy driven arbitration

Set 2 · Question 7 · Chapter 2 · SLM-02

Which daemon owns global scheduling decisions in Slurm?

Difficulty: Easy Status: Final
Show answer

Correct answer: slurmctld

slurmctld controls scheduling and cluster state

Set 2 · Question 8 · Chapter 3 · SLM-03

What does GRES allow Slurm to schedule?

Difficulty: Easy Status: Final
Show answer

Correct answer: Generic resources such as GPUs and licenses

GRES extends scheduling beyond CPUs and memory

Set 2 · Question 9 · Chapter 4 · SLM-04

What is the operational role of a partition?

Difficulty: Easy Status: Final
Show answer

Correct answer: A queue abstraction with policy and node scope

Partitions define access limits and scheduling behavior

Set 2 · Question 10 · Chapter 5 · SLM-05

Which file primarily defines nodes and partitions?

Difficulty: Easy Status: Final
Show answer

Correct answer: slurm.conf

slurm.conf is the central scheduler configuration file

Set 2 · Question 11 · Chapter 6 · SLM-06

What is Munge used for in Slurm clusters?

Difficulty: Easy Status: Final
Show answer

Correct answer: Credential signing and trust authentication

Munge secures node to node communication

Set 2 · Question 12 · Chapter 7 · SLM-07

Which command submits script based jobs?

Difficulty: Easy Status: Final
Show answer

Correct answer: sbatch

sbatch is the batch submission interface

Set 2 · Question 13 · Chapter 8 · SLM-08

What state follows successful job submission before execution?

Difficulty: Easy Status: Final
Show answer

Correct answer: pending

Submitted jobs wait in queue before allocation

Set 2 · Question 14 · Chapter 9 · SLM-09

What is the purpose of a job array?

Difficulty: Easy Status: Final
Show answer

Correct answer: To run many similar tasks efficiently

Arrays scale repeated batch workloads

Set 2 · Question 15 · Chapter 10 · SLM-10

Why is backfill scheduling valuable?

Difficulty: Medium Status: Final
Show answer

Correct answer: It improves utilization without delaying reserved priority work

Backfill fills resource gaps safely

Set 2 · Question 16 · Chapter 11 · SLM-11

Which priority factor increases with wait duration?

Difficulty: Medium Status: Final
Show answer

Correct answer: age

Age prevents starvation for long waiting jobs

Set 2 · Question 17 · Chapter 12 · SLM-12

What can QoS policies control directly?

Difficulty: Medium Status: Final
Show answer

Correct answer: Limits caps boosts and preemption permissions

QoS provides multi tenant governance controls

Set 2 · Question 18 · Chapter 13 · SLM-13

Which dependency waits for successful completion?

Difficulty: Medium Status: Final
Show answer

Correct answer: afterok

afterok enforces success gated chaining

Set 2 · Question 19 · Chapter 14 · SLM-14

Which plugin enforces cgroup resource boundaries?

Difficulty: Medium Status: Final
Show answer

Correct answer: task cgroup

task cgroup applies CPU memory and device limits

Set 2 · Question 20 · Chapter 15 · SLM-15

What does gres=gpu:4 request?

Difficulty: Medium Status: Final
Show answer

Correct answer: Four GPUs for the job allocation

GRES syntax controls GPU reservation count

Back to Slurm landing